[SOLVED] ZCS 6 stats not working We have configured ZCS 6 OSS and the stats are not working. It seems that there is no data available, but the server has been running for 2 weeks, and there are no stats at this time. It seems to be an error...
I can see the disk stats, but the other stats are not working (message volume, message count...)
Has someone resolve this problem?
Thanks
The server version is:
Release 6.0.1_GA_1816.DEBIAN5_64 DEBIAN5_64 FOSS edition.
According to the wiki y post the needed information Logger(GnR - Zimbra :: Wiki)
logger is running (zmcontrol status)
zimbra@ironmail:~$ zmloggerctl status; echo $?; ps ax | grep zmlogger
0
14036 pts/0 S+ 0:00 grep zmlogger
18937 ? S 4:32 /usr/bin/perl /opt/zimbra/libexec/zmlogger
/opt/zimbra/libexec/zmrrdfetch -f zmmtastats
Host: ironmail.irontec.com
timestamp,filter_misc,clam_events,mta_delay,mta_vo lume,filter_virus,filter_event,mta_count,filter_sp am,sendmail_events
1255864290,,,,,,,,,
1255864320,,,,,,,,,
1255864350,,,,,,,,,
1255864380,,,,,,,,,
1255864410,,,,,,,,,
1255864440,,,,,,,,,
1255864470,,,,,,,,,
1255864500,,,,,,,,,
1255864530,,,,,,,,,
1255864560,,,,,,,,,
1255864590,,,,,,,,,
1255864620,,,,,,,,,
1255864650,,,,,,,,,
1255864680,,,,,,,,,
1255864710,,,,,,,,,
1255864740,,,,,,,,,
1255864770,,,,,,,,,
1255864800,,,,,,,,,
1255864830,,,,,,,,,
1255864860,,,,,,,,,
1255864890,,,,,,,,,
1255864920,,,,,,,,,
1255864950,,,,,,,,,
1255864980,,,,,,,,,
1255865010,,,,,,,,,
1255865040,,,,,,,,,
1255865070,,,,,,,,,
1255865100,,,,,,,,,
1255865130,,,,,,,,,
1255865160,,,,,,,,,
1255865190,,,,,,,,,
1255865220,,,,,,,,,
1255865250,,,,,,,,,
1255865280,,,,,,,,,
1255865310,,,,,,,,,
1255865340,,,,,,,,,
1255865370,,,,,,,,,
1255865400,,,,,,,,,
1255865430,,,,,,,,,
1255865460,,,,,,,,,
1255865490,,,,,,,,,
[...]
1255934400,,,,,,,,,
1255934430,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934460,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934490,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934520,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934550,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934580,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934610,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934640,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934670,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934700,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934730,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934760,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934790,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934820,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934850,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934880,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934910,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934940,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255934970,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255935000,0,0,,5.16502330050618,0,,0.010009735078 5003,0,0
1255935030,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935060,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935090,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935120,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935150,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935180,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935210,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935240,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935270,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935300,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935330,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935360,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935390,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935420,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935450,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935480,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935510,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935540,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935570,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
1255935600,0,0,,66.4269242836777,0,,0.008370047530 85901,0,0
$ grep -w MTA /var/log/zimbra-stats.log
Oct 19 12:10:07 ironmail zimbramon[28326]: 28326:info: MTA: ironmail.irontec.com: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_event,mta_count,filter_spam,sendmai l_events:: 0,0,0.543478260869565,437895,0,0,46,0,0
Oct 19 12:20:06 ironmail zimbramon[8145]: 8145:info: MTA: ironmail.irontec.com: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_event,mta_count,filter_spam,sendmai l_events:: 0,0,0.681818181818182,37282,0,0,22,0,0
Oct 19 12:30:06 ironmail zimbramon[21128]: 21128:info: MTA: ironmail.irontec.com: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_event,mta_count,filter_spam,sendmai l_events:: 0,0,0.377777777777778,1059258,0,0,45,0,0
Oct 19 12:40:06 ironmail zimbramon[1679]: 1679:info: MTA: ironmail.irontec.com: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_event,mta_count,filter_spam,sendmai l_events:: 0,0,11.1346153846154,1973494,0,0,52,0,0
Oct 19 12:50:05 ironmail zimbramon[15202]: 15202:info: MTA: ironmail.irontec.com: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_event,mta_count,filter_spam,sendmai l_events:: 0,0,1.8,1416406,0,0,50,0,0
Oct 19 13:00:06 ironmail zimbramon[31280]: 31280:info: MTA: ironmail.irontec.com: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_event,mta_count,filter_spam,sendmai l_events:: 0,0,9.21621621621622,324999,0,0,37,0,0
Oct 19 13:10:05 ironmail zimbramon[12964]: 12964:info: MTA: ironmail.irontec.com: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_event,mta_count,filter_spam,sendmai l_events:: 0,0,10.6818181818182,56545,0,0,44,0,0
$ tail /var/log/zimbra-stats.log
Oct 19 13:13:30 ironmail zimbramon[18044]: 18044:info: zmstat proc.csv: timestamp, system, user, sys, idle, iowait, mailbox, mailbox-total-cpu, mailbox-utime, mailbox-stime, mailbox-totalMB, mailbox-rssMB, mailbox-sharedMB, mailbox-process-count, mysql, mysql-total-cpu, mysql-utime, mysql-stime, mysql-totalMB, mysql-rssMB, mysql-sharedMB, mysql-process-count, convertd, convertd-total-cpu, convertd-utime, convertd-stime, convertd-totalMB, convertd-rssMB, convertd-sharedMB, convertd-process-count, ldap, ldap-total-cpu, ldap-utime, ldap-stime, ldap-totalMB, ldap-rssMB, ldap-sharedMB, ldap-process-count, postfix, postfix-total-cpu, postfix-utime, postfix-stime, postfix-totalMB, postfix-rssMB, postfix-sharedMB, postfix-process-count:: 10/19/2009 13:13:30, system, 21.2, 1.8, 76.6, 0.4, mailbox, 0.3, 0.3, 0.0, 2301.4, 1802.8, 10.4, 1, mysql, 0.4, 0.4:::6EBCB708-BCA0-11DE-8D73-308A5F478FBC:::
Oct 19 13:13:30 ironmail zimbramon[18044]: :::6EBCB708-BCA0-11DE-8D73-308A5F478FBC:::, 0.0, 1544.0, 605.0, 4.1, 1, convertd, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, ldap, 0.0, 0.0, 0.0, 372.4, 20.4, 4.6, 1, postfix, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0
Oct 19 13:13:30 ironmail zimbramon[18060]: 18060:info: zmstat mysql.csv: timestamp, Aborted_clients, Aborted_connects, Binlog_cache_disk_use, Binlog_cache_use, Bytes_received, Bytes_sent, Com_admin_commands, Com_alter_db, Com_alter_table, Com_analyze, Com_backup_table, Com_begin, Com_call_procedure, Com_change_db, Com_change_master, Com_check, Com_checksum, Com_commit, Com_create_db, Com_create_function, Com_create_index, Com_create_table, Com_create_user, Com_dealloc_sql, Com_delete, Com_delete_multi, Com_do, Com_drop_db, Com_drop_function, Com_drop_index, Com_drop_table, Com_drop_user, Com_execute_sql, Com_flush, Com_grant, Com_ha_close, Com_ha_open, Com_ha_read, Com_help, Com_insert, Com_insert_select, Com_kill, Com_load, Com_load_master_data, Com_load_master_table, Com_lock_tables, Com_optimize, Com_preload_keys, Com_prepare_sql, Com_purge:::6EE71426-BCA0-11DE-A10A-408A5F478FBC:::
Oct 19 13:13:30 ironmail zimbramon[18060]: 18060:info: :::6EE71426-BCA0-11DE-A10A-408A5F478FBC:::, Com_purge_before_date, Com_rename_table, Com_repair, Com_replace, Com_replace_select, Com_reset, Com_restore_table, Com_revoke, Com_revoke_all, Com_rollback, Com_savepoint, Com_select, Com_set_option, Com_show_binlog_events, Com_show_binlogs, Com_show_charsets, Com_show_collations, Com_show_column_types, Com_show_create_db, Com_show_create_table, Com_show_databases, Com_show_errors, Com_show_fields, Com_show_grants, Com_show_innodb_status, Com_show_keys, Com_show_logs, Com_show_master_status, Com_show_ndb_status, Com_show_new_master, Com_show_open_tables, Com_show_privileges, Com_show_processlist, Com_show_slave_hosts, Com_show_slave_status, Com_show_status, Com_show_storage_engines, Com_show_tables, Com_show_triggers, Com_show_variables, Com_show_warnings, Com_slave_start, Com_slave_sto:::6EE71BD8-BCA0-11DE-A10A-408A5F478FBC:::
Oct 19 13:13:30 ironmail zimbramon[18060]: 18060:info: :::6EE71BD8-BCA0-11DE-A10A-408A5F478FBC::  , Com_stmt_close, Com_stmt_execute, Com_stmt_fetch, Com_stmt_prepare, Com_stmt_reset, Com_stmt_send_long_data, Com_truncate, Com_unlock_tables, Com_update, Com_update_multi, Com_xa_commit, Com_xa_end, Com_xa_prepare, Com_xa_recover, Com_xa_rollback, Com_xa_start, Compression, Connections, Created_tmp_disk_tables, Created_tmp_files, Created_tmp_tables, Delayed_errors, Delayed_insert_threads, Delayed_writes, Flush_commands, Handler_commit, Handler_delete, Handler_discover, Handler_prepare, Handler_read_first, Handler_read_key, Handler_read_next, Handler_read_prev, Handler_read_rnd, Handler_read_rnd_next, Handler_rollback, Handler_savepoint, Handler_savepoint_rollback, Handler_update, Handler_write, Innodb_buffer_pool_pages_data, Innodb_buffer_pool_pages_dirty, Innodb_buffer_pool_pages_flush:::6EE71E08-BCA0-11DE-A10A-408A5F478FBC:::
$ zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats | head -20
<GetLoggerStatsResponse xmlns="urn:zimbraAdmin">
<hostname hn="ironmail.irontec.com">
<stats name="zmmtastats">
<values t="1255926630">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>
<stat name="filter_event" value=""/>
<stat name="mta_count" value="0.00500285021414173"/>
<stat name="filter_spam" value="0"/>
<stat name="sendmail_events" value="0"/>
</values>
<values t="1255926660">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>
Y also rechecked to start zmstatctl process
zimbra@ironmail:~$ zmstatctl start
Invoking: /opt/zimbra/libexec/zmstat-proc
Invoking: /opt/zimbra/libexec/zmstat-cpu
Invoking: /opt/zimbra/libexec/zmstat-vm
Invoking: /opt/zimbra/libexec/zmstat-io -x
Invoking: /opt/zimbra/libexec/zmstat-df
Invoking: /opt/zimbra/libexec/zmstat-io
Invoking: /opt/zimbra/libexec/zmstat-fd
Invoking: /opt/zimbra/libexec/zmstat-allprocs
Invoking: /opt/zimbra/libexec/zmstat-mysql
Invoking: /opt/zimbra/libexec/zmstat-convertd
Invoking: /opt/zimbra/libexec/zmstat-mtaqueue
Invoking: /opt/zimbra/libexec/zmstat-nginx |