Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by liverpoolfcfan »

SO, after 3 days of running nothing has populated into the Message Count/Volume charts.



Any idea where I should look next?



Thanks
iamauser
Posts: 29
Joined: Thu Sep 04, 2014 3:43 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by iamauser »

I noticed you said your charts aren't showing data. Maybe there's something weird with the zmlogger or syslog after the name change?

(sending the data to the server name before the change in your syslog/rsysconf)



I dunno if this wiki will give any useful info or not, but hey:

https://wiki.zimbra.com/wiki/Logger_(ZC ... _available
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by liverpoolfcfan »

Thanks for the suggestion. I think there must be something like that going on - but I have no idea where to look. Outputs for the troubleshooting steps below :-



[zimbra@mail ~]$ zmloggerctl status; echo $?; ps ax | grep zmlogger

0

5845 pts/0 S+ 0:00 grep zmlogger

16125 ? SN 0:29 /usr/bin/perl /opt/zimbra/libexec/zmlogger

16286 ? SN 0:00 zmlogger: zmrrdfetch: server





[zimbra@mail ~]$ /opt/zimbra/libexec/zmrrdfetch -f zmmtastats | more



Host: newname.mydomain.com



timestamp,clam_events,mta_delay

1440925500,,

1440925530,,

1440925560,,

1440925590,,

1440925620,,

.....



[zimbra@mail ~]$ /opt/zimbra/libexec/zmrrdfetch -c -f zmmtastats | more



Host: newname.mydomain.com



timestamp,clam_events,mta_delay

1440925590,,

1440925620,,

1440925650,,

1440925680,,

1440925710,,

1440925740,,

......



[zimbra@mail ~]$ grep -w MTA /var/log/zimbra-stats.log

Aug 31 03:40:07 mail zimbramon[17910]: 17910:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,0,0,4812,0,1,2,0,0

Aug 31 03:50:07 mail zimbramon[22443]: 22443:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 04:00:07 mail zimbramon[27008]: 27008:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,10.1428571428571,77000,0,3,7,0,0

Aug 31 04:10:07 mail zimbramon[31555]: 31555:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 04:20:07 mail zimbramon[4098]: 4098:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,3,0,0,0,0,0,0,0

Aug 31 04:30:07 mail zimbramon[8631]: 8631:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,0,0,0,0,0,0,0,0

Aug 31 04:40:09 mail zimbramon[13157]: 13157:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 04:50:06 mail zimbramon[18370]: 18370:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 05:00:07 mail zimbramon[22909]: 22909:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 05:10:07 mail zimbramon[27443]: 27443:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 05:20:07 mail zimbramon[32367]: 32367:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 05:30:08 mail zimbramon[4450]: 4450:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 05:40:07 mail zimbramon[8980]: 8980:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 05:50:07 mail zimbramon[13511]: 13511:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 06:00:07 mail zimbramon[18733]: 18733:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 06:10:07 mail zimbramon[23292]: 23292:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,10.75,210139,0,2,4,0,0

Aug 31 06:20:07 mail zimbramon[27908]: 27908:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,3,12,33425,0,1,2,0,0

Aug 31 06:30:07 mail zimbramon[374]: 374:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,0,12.5,106521,0,1,2,0,0

Aug 31 06:40:07 mail zimbramon[4920]: 4920:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 06:50:07 mail zimbramon[9474]: 9474:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,12,134629,0,2,4,0,0

Aug 31 07:00:08 mail zimbramon[14004]: 14004:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 07:10:07 mail zimbramon[19239]: 19239:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 07:20:07 mail zimbramon[23770]: 23770:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 07:30:07 mail zimbramon[28296]: 28296:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 07:40:07 mail zimbramon[759]: 759:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 07:50:07 mail zimbramon[5305]: 5305:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 08:00:10 mail zimbramon[9839]: 9839:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,7,65619,0,2,3,0,0

Aug 31 08:10:06 mail zimbramon[14807]: 14807:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,16.5,215151,0,2,4,0,0

Aug 31 08:20:07 mail zimbramon[19711]: 19711:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,0,0,0,0,0,0,0

Aug 31 08:30:08 mail zimbramon[24266]: 24266:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,8,128036,0,1,2,0,0

Aug 31 08:40:07 mail zimbramon[28823]: 28823:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,11.75,268154,0,2,4,0,0

Aug 31 08:50:07 mail zimbramon[1317]: 1317:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,8.6,82316,0,3,5,0,0

Aug 31 09:00:07 mail zimbramon[5906]: 5906:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,12.3333333333333,654658,0,3,6,0,0

Aug 31 09:10:08 mail zimbramon[10567]: 10567:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,9.64705882352941,1229634,0,9,17,0,0

Aug 31 09:20:06 mail zimbramon[15548]: 15548:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,7.42857142857143,219331,0,3,7,0,0

Aug 31 09:30:08 mail zimbramon[21577]: 21577:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,1.90909090909091,271886,0,2,11,0,0

Aug 31 09:40:07 mail zimbramon[26206]: 26206:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,6.66666666666667,440934,0,11,18,0,0

Aug 31 09:50:07 mail zimbramon[31557]: 31557:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,8,86171,0,1,2,0,0

Aug 31 10:00:07 mail zimbramon[4084]: 4084:info: MTA: newname.mydomain.com: filter_misc,clam_events,mta_delay,mta_volume,filter_virus,filter_count,mta_count,filter_spam,sendmail_events:: 0,1,10.25,44358,0,2,4,0,0

[zimbra@mail ~]$



[zimbra@mail ~]$ tail /var/log/zimbra-stats.log

Aug 31 10:08:30 mail zimbramon[16805]: 16805:info: :::D93E31C0-4FBF-11E5-9D2D-4D76CBD9089B:::ool_pages_old, Innodb_buffer_pool_pages_total, Innodb_buffer_pool_read_ahead, Innodb_buffer_pool_read_ahead_evicted, Innodb_buffer_pool_read_ahead_rnd, Innodb_buffer_pool_read_requests, Innodb_buffer_pool_reads, Innodb_buffer_pool_wait_free, Innodb_buffer_pool_write_requests, Innodb_checkpoint_age, Innodb_checkpoint_max_age, Innodb_data_fsyncs, Innodb_data_pending_fsyncs, Innodb_data_pending_reads, Innodb_data_pending_writes, Innodb_data_read, Innodb_data_reads, Innodb_data_writes, Innodb_data_written, Innodb_dblwr_pages_written, Innodb_dblwr_writes, Innodb_deadlocks, Innodb_have_atomic_builtins, Innodb_history_list_length, Innodb_ibuf_discarded_delete_marks, Innodb_ibuf_discarded_deletes, Innodb_ibuf_discarded_inserts, Innodb_ibuf_free_list, Innodb_ibuf_merged_delete_marks, Innodb_ibuf_me:::D93E3512-4FBF-11E5-9D2D-4D76CBD9089B:::

Aug 31 10:08:30 mail zimbramon[16805]: 16805:info: :::D93E3512-4FBF-11E5-9D2D-4D76CBD9089B:::rged_deletes, Innodb_ibuf_merged_inserts, Innodb_ibuf_merges, Innodb_ibuf_segment_size, Innodb_ibuf_size, Innodb_log_waits, Innodb_log_write_requests, Innodb_log_writes, Innodb_lsn_current, Innodb_lsn_flushed, Innodb_lsn_last_checkpoint, Innodb_master_thread_active_loops, Innodb_master_thread_idle_loops, Innodb_max_trx_id, Innodb_mem_adaptive_hash, Innodb_mem_dictionary, Innodb_mem_total, Innodb_mutex_os_waits, Innodb_mutex_spin_rounds, Innodb_mutex_spin_waits, Innodb_oldest_view_low_limit_trx_id, Innodb_os_log_fsyncs, Innodb_os_log_pending_fsyncs, Innodb_os_log_pending_writes, Innodb_os_log_written, Innodb_page_size, Innodb_pages_created, Innodb_pages_read, Innodb_pages_written, Innodb_purge_trx_id, Innodb_purge_undo_no, Innodb_read_views_memory, Innodb_row_lock_current_waits, Innodb_row_:::D93E3850-4FBF-11E5-9D2D-4D76CBD9089B:::

Aug 31 10:08:30 mail zimbramon[16805]: 16805:info: :::D93E3850-4FBF-11E5-9D2D-4D76CBD9089B:::lock_time, Innodb_row_lock_time_avg, Innodb_row_lock_time_max, Innodb_row_lock_waits, Innodb_rows_deleted, Innodb_rows_inserted, Innodb_rows_read, Innodb_rows_updated, Innodb_system_rows_deleted, Innodb_system_rows_inserted, Innodb_system_rows_read, Innodb_system_rows_updated, Innodb_s_lock_os_waits, Innodb_s_lock_spin_rounds, Innodb_s_lock_spin_waits, Innodb_truncated_status_writes, Innodb_x_lock_os_waits, Innodb_x_lock_spin_rounds, Innodb_x_lock_spin_waits, Key_blocks_not_flushed, Key_blocks_unused, Key_blocks_used, Key_blocks_warm, Key_read_requests, Key_reads, Key_write_requests, Key_writes, Last_query_cost, Max_used_connections, Memory_used, Not_flushed_delayed_rows, Open_files, Open_streams, Open_table_definitions, Open_tables, Opened_files, Opened_plugin_libraries, Opened_table_defi:::D93E3B8E-4FBF-11E5-9D2D-4D76CBD9089B:::

Aug 31 10:08:30 mail zimbramon[16805]: 16805:info: :::D93E3B8E-4FBF-11E5-9D2D-4D76CBD9089B:::nitions, Opened_tables, Opened_views, Performance_schema_accounts_lost, Performance_schema_cond_classes_lost, Performance_schema_cond_instances_lost, Performance_schema_digest_lost, Performance_schema_file_classes_lost, Performance_schema_file_handles_lost, Performance_schema_file_instances_lost, Performance_schema_hosts_lost, Performance_schema_locker_lost, Performance_schema_mutex_classes_lost, Performance_schema_mutex_instances_lost, Performance_schema_rwlock_classes_lost, Performance_schema_rwlock_instances_lost, Performance_schema_session_connect_attrs_lost, Performance_schema_socket_classes_lost, Performance_schema_socket_instances_lost, Performance_schema_stage_classes_lost, Performance_schema_statement_classes_lost, Performance_schema_table_handles_lost, Performance_schema_table_in:::D93E3EC2-4FBF-11E5-9D2D-4D76CBD9089B:::

Aug 31 10:08:30 mail zimbramon[16805]: 16805:info: :::D93E3EC2-4FBF-11E5-9D2D-4D76CBD9089B:::stances_lost, Performance_schema_thread_classes_lost, Performance_schema_thread_instances_lost, Performance_schema_users_lost, Prepared_stmt_count, Qcache_free_blocks, Qcache_free_memory, Qcache_hits, Qcache_inserts, Qcache_lowmem_prunes, Qcache_not_cached, Qcache_queries_in_cache, Qcache_total_blocks, Queries, Questions, Rows_read, Rows_sent, Rows_tmp_read, Rpl_status, Select_full_join, Select_full_range_join, Select_range, Select_range_check, Select_scan, Slave_heartbeat_period, Slave_open_temp_tables, Slave_received_heartbeats, Slave_retried_transactions, Slave_running, Slow_launch_threads, Slow_queries, Sort_merge_passes, Sort_priority_queue_sorts, Sort_range, Sort_rows, Sort_scan, Ssl_accept_renegotiates, Ssl_accepts, Ssl_callback_cache_hits, Ssl_cipher, Ssl_cipher_list, Ssl_client_co:::D93E4200-4FBF-11E5-9D2D-4D76CBD9089B:::

Aug 31 10:08:30 mail zimbramon[16805]: 16805:info: :::D93E4200-4FBF-11E5-9D2D-4D76CBD9089B:::nnects, Ssl_connect_renegotiates, Ssl_ctx_verify_depth, Ssl_ctx_verify_mode, Ssl_default_timeout, Ssl_finished_accepts, Ssl_finished_connects, Ssl_server_not_after, Ssl_server_not_before, Ssl_session_cache_hits, Ssl_session_cache_misses, Ssl_session_cache_mode, Ssl_session_cache_overflows, Ssl_session_cache_size, Ssl_session_cache_timeouts, Ssl_sessions_reused, Ssl_used_session_cache_entries, Ssl_verify_depth, Ssl_verify_mode, Ssl_version, Subquery_cache_hit, Subquery_cache_miss, Syncs, Table_locks_immediate, Table_locks_waited, Tc_log_max_pages_used, Tc_log_page_size, Tc_log_page_waits, Threadpool_idle_threads, Threadpool_threads, Threads_cached, Threads_connected, Threads_created, Threads_running, Uptime, Uptime_since_flush_status:: 08/31/2015 10:08:30,0,0,0,0,15736,4,31,4,14,0,0,0,0,,0,:::D93E453E-4FBF-11E5-9D2D-4D76CBD9089B:::

Aug 31 10:08:30 mail zimbramon[16805]: 16805:info: :::D93E453E-4FBF-11E5-9D2D-4D76CBD9089B:::0,0,0,0,0,0.000000,3304167,33738991,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2449,0,0,0,0,0,0,0,0,0,0,0,0,0,778,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,102,75,0,0,0,0,0,0,0,0,0,0,0,0,0,95,30,0,0,0,0,0,5445,0,0,6809,16415,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,591,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3286,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1909,4,0,0,0,0,0,0,OFF,0,0,0,0,0,0,3233,0.000000,6,6,1257,0,0,0,2508,0,0,0,0,0,0,0,1140,0,0,0,1,11065,216,0,0,1615,1319,0,0,0,0,79,103334,0,8436438,17285,72916,0,673325,2404,0,0,1,546122,2083,335,128,35359,212844544,0,not started,not started,12991,0,7638,18835,0,0,2,173,4814,31999,4858,0,0,2864152,8070,0,16125,0,848635454,5149,0,0,0,212242432,13095,10158,252145152,7638,809,0,ON,1977,0,0,0,45,4,1,24,24,47,1,0,2285,922,6989364285,6989364285,69893642:::D93E4872-4FBF-11E5-9D2D-4D76CBD9089B:::

Aug 31 10:08:30 mail zimbramon[16805]: :::D93E4872-4FBF-11E5-9D2D-4D76CBD9089B:::85,986,34373,69260619,12079408,8562772,536576000,3312,198431,7524,0,1704,0,0,1462784,16384,42,12949,7638,69260619,0,536,0,0,0,0,0,240,283,8751801,2083,0,0,0,0,1186,38617,1323,0,57,1730,8,0,107163,0,0,0,0,0,0,0.000000,5,285521808,0,25,0,201,203,281,0,131,140,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,39174,39174,8689347,596893,546140,AUTH_MASTER,0,0,634,0,1458,0.000,0,0,0,OFF,0,219,0,571,1462,35812,4,0,0,0,,,0,0,0,0,0,0,0,,,0,0,NONE,0,0,0,0,0,0,0,,0,0,1,9575,0,0,0,0,0,0,1,4,5,1,35510,35510

Aug 31 10:08:31 mail zimbramon[16791]: 16791:info: zmstat cpu.csv: timestamp, cpu:user, cpu:nice, cpu:sys, cpu:idle, cpu:iowait, cpu:irq, cpu:softirq, cpu0:user, cpu0:nice, cpu0:sys, cpu0:idle, cpu0:iowait, cpu0:irq, cpu0:softirq, cpu1:user, cpu1:nice, cpu1:sys, cpu1:idle, cpu1:iowait, cpu1:irq, cpu1:softirq:: 08/31/2015 10:08:31, 5.6, 0.1, 5.2, 85.7, 3.4, 0.0, 0.0, 5.4, 0.1, 5.5, 87.2, 1.8, 0.0, 0.0, 5.8, 0.0, 4.9, 84.1, 5.1, 0.0, 0.0

Aug 31 10:08:32 mail zimbramon[17434]: 17434:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 08/31/2015 10:08:32, 2880, 605

[zimbra@mail ~]$





[zimbra@mail ~]$ zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats | head -20

<GetLoggerStatsResponse xmlns="urn:zimbraAdmin">

<hostname hn="newname.mydomain.com">

<stats name="zmmtastats"/>

</hostname>

</GetLoggerStatsResponse>

[zimbra@mail ~]$





[zimbra@mail ~]$ zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats | head -20

<GetLoggerStatsResponse xmlns="urn:zimbraAdmin">

<hostname hn="newname.mydomain.com">

<stats name="zmmtastats"/>

</hostname>

</GetLoggerStatsResponse>

[zimbra@mail ~]$ zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats @limit=1 | head -50

<GetLoggerStatsResponse xmlns="urn:zimbraAdmin">

<hostname hn="newname.mydomain.com">

<stats name="zmmtastats"/>

</hostname>

</GetLoggerStatsResponse>

[zimbra@mail ~]$
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by liverpoolfcfan »





This is what I see in the Admin Console 


iamauser
Posts: 29
Joined: Thu Sep 04, 2014 3:43 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by iamauser »

hmm, your zmstats-log shows it's logging the stats data, but the soap request is not picking anything up. That's weird.

Have you tried running the server statistics setup script again after changing your host name? Maybe it'll push whatever is missing into the right place: (as root user) /opt/zimbra/libexec/zmsyslogsetup

Run that on each server. From my understanding, it should fix the syslog/rsyslog to the correct info, so it shouldn't cause any harm, at least. :)
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by liverpoolfcfan »

Can that command be run while zimbra is running?



I looked up the wiki for the command, https://wiki.zimbra.com/wiki/Configuring-Logger-Host , and it suggests stopping zimbra - but when I ran it with zimbra down it complained that it could not talk to LDAP.
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by jorgedlcruz »

Hi, I have the next commands here from another answer in the past, try them:

   Remove all zmstat pid files: (as root) rm /opt/zimbra/zmstat/pid/zmstat-*.pid
   Restart zmlogger: zmloggerctl restart
   Run zmsyslogsetup: (as root) /opt/zimbra/libexec/zmsyslogsetup
   Restart rsyslog: (as root) /etc/init.d/rsyslog restart
   run zmstatuslog: (as root)  /opt/zimbra/libexec/zmstatuslog
   restart zmstatctl - zmstatctl restart
   Give it 3-5 minutes

Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by liverpoolfcfan »

Hi Jorge,
Thanks for the reply. I ran through those commands maybe 90 minutes ago, and still there is no data coming through that I can see.
I also tried manually navigating through the "Advanced Statistics -> newhostname.mydomain.com -> zmmtastats -> mta_volume and it generates an exception. This might be the root of the problem if I can find out where this is coming from. The same happens of mta_count
Where can I look to try to find an error log that might point me in the right direction to fix this? 
Thanks



liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by liverpoolfcfan »

When I ran the command above it actually generated a stack trace to the mailbox.log file.



2015-09-01 14:42:05,848 WARN [qtp509886383-3710:https://192.168.200.10:7071/service/adm ... atsRequest] [name=private;mid=3;ip=192.168.200.47;ua=ZimbraWebClient - GC44 (Win);] SoapEngine - handler exception

java.lang.ArrayIndexOutOfBoundsException: 10

at com.zimbra.cs.service.admin.GetLoggerStats.populateResponseData(GetLoggerStats.java:330)

at com.zimbra.cs.service.admin.GetLoggerStats.fetchColumnData(GetLoggerStats.java:285)

at com.zimbra.cs.service.admin.GetLoggerStats.handle(GetLoggerStats.java:207)

at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:569)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:432)

at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:266)

at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:303)

at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:213)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:206)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1651)

at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)

at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:59)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)

at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)

at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:351)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)

at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ETagHeaderFilter.java:47)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)

at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)

at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:116)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)

at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(ZimbraInvalidLoginFilter.java:117)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)

at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:457)

at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:326)

at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:299)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:544)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:309)

at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:81)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:462)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)

at java.lang.Thread.run(Thread.java:745)
liverpoolfcfan
Elite member
Elite member
Posts: 1112
Joined: Sat Sep 13, 2014 12:47 am

Message Count/Volume all ZERO since day of 8.6 upgrade/server name change

Post by liverpoolfcfan »

From what I can see, if I select Advanced Statistics - select the Server, and select any Group other than zmmtastats from the middle drop-down list, then selecting any counter from the right hand drop-down will produce charts.



If I select zmmtastats from the middle drop-down, I will always get the error as shown above.
Post Reply