Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-2011, 11:55 AM
Junior Member
 
Posts: 5
Default Stats not working on ZCS 6.0

Environment: 2 servers with CentOS 5.5 running ZCS 6.0. Server #1 is a Zimbra LDAP server on a physical machine and Server #2 is a VMWare Virtual Image running everything except the Zimbra LDAP and Proxy.

My problem is that the stats related to the LDAP server are not being displayed in the web based admin panel.

This wiki post Logger (ZCS 6.0.x and later) - Zimbra :: Wiki states that the outputs of commands mentioned at the bottom of the page be posted while trying to ask questions on this forum while troubleshootng Logger and Stat issues so here goes....

1) zmloggerctl status; echo $?; ps ax | grep zmlogger
Output:
10891 ? S 0:06 /usr/bin/perl /opt/zimbra/libexec/zmlogger
10999 ? S 0:00 zmlogger: zmrrdfetch: server
12422 pts/3 R+ 0:00 grep zmlogger

2) /opt/zimbra/libexec/zmrrdfetch -f zmmtastats
Output: No results

3) /opt/zimbra/libexec/zmrrdfetch -c -f zmmtastats
Output:
Host: xxx.xxx.xxx.xxx

timestamp,filter_misc,clam_events,mta_delay,mta_vo lume,filter_virus,filter_count,mta_count,filter_sp am,sendmail_events
1295897100,,,,,,,,,
1295897400,,,,,,,,,
1295897700,,,,,,,,,
1295898000,,,,,,,,,
1295898300,,,,,,,,,
1295898600,,,,,,,,,
1295898900,,,,,,,,,
1295899200,,,,,,,,,
1295899500,,,,,,,,,
1295899800,,,,,,,,,
1295900100,,,,,,,,,
1295900400,,,,,,,,,
1295900700,,,,,,,,,
1295901000,,,,,,,,,
1295901300,,,,,,,,,
1295901600,,,,,,,,,
1295901900,,,,,,,,,
1295902200,,,,,,,,,
1295902500,,,,,,,,,
1295902800,,,,,,,,,
1295903100,,,,,,,,,
1295903400,,,,,,,,,
1295903700,,,,,,,,,
1295904000,,,,,,,,,
1295904300,,,,,,,,,
1295904600,,,,,,,,,
1295904900,,,,,,,,,
1295905200,,,,,,,,,
1295905500,,,,,,,,,
1295905800,,,,,,,,,
1295906100,,,,,,,,,
1295906400,,,,,,,,,
1295906700,,,,,,,,,
1295907000,,,,,,,,,
1295907300,,,,,,,,,
1295907600,,,,,,,,,
1295907900,,,,,,,,,
1295908200,,,,,,,,,
1295908500,,,,,,,,,
1295908800,,,,,,,,,
1295909100,,,,,,,,,
1295909400,,,,,,,,,
1295909700,,,,,,,,,
1295910000,,,,,,,,,
1295910300,,,,,,,,,
1295910600,,,,,,,,,
1295910900,,,,,,,,,
1295911200,,,,,,,,,
1295911500,,,,,,,,,
1295911800,,,,,,,,,
1295912100,,,,,,,,,
1295912400,,,,,,,,,
1295912700,,,,,,,,,
1295913000,,,,,,,,,
1295913300,,,,,,,,,
1295913600,,,,,,,,,
1295913900,,,,,,,,,
1295914200,,,,,,,,,
1295914500,,,,,,,,,
1295914800,,,,,,,,,
1295915100,,,,,,,,,
1295915400,,,,,,,,,
1295915700,,,,,,,,,
1295916000,,,,,,,,,
1295916300,0,0.00167412817112055,,0,0,0,0,0,0
1295916600,0,0.00167412817112055,,0,0,0,0,0,0
1295916900,0,0.00166691087219214,,0,0,0,0,0,0
1295917200,0,0.00166691087219214,,0,0,0,0,0,0
1295917500,0,0.00166883797786713,,0,0,0,0,0,0
1295917800,0,0.00166883797786713,,0,0,0,0,0,0
1295918100,,,,,,,,,
1295918400,,,,,,,,,
1295918700,0,0.00166762886959398,,0,0,0,0,0,0
1295919000,0,0.00166762886959398,,0,0,0,0,0,0
1295919300,0,0.00167049896296316,,0,0,0,0,0,0
1295919600,0,0.00167049896296316,,0,0,0,0,0,0
1295919900,0,0.00166720719583157,,0,0,0,0,0,0
1295920200,0,0.00166720719583157,,0,0,0,0,0,0
1295920500,,,,,,,,,
1295920800,,,,,,,,,
1295921100,,,,,,,,,
1295921400,,,,,,,,,
1295921700,0,0.00166870241086803,,0,0,0,0,0,0
1295922000,0,0.00166870241086803,,0,0,0,0,0,0
1295922300,0,0.00166814654961386,,0,0,0,0,0,0
1295922600,0,0.00166814654961386,,0,0,0,0,0,0
1295922900,,,,,,,,,
1295923200,,,,,,,,,
1295923500,0,0.00166598567412861,,0,0,0,0,0,0
1295923800,0,0.00166598567412861,,0,0,0,0,0,0
1295924100,,,,,,,,,
1295924400,,,,,,,,,
....
....

4) grep -w MTA /var/log/zimbra-stats.log
Output:
Jan 25 04:10:07 argus zimbramon[18587]: 18587:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0.285714285714286,109663,0,2,7,0,0
Jan 25 04:20:06 argus zimbramon[28166]: 28166:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,28663,0,0,1,0,0
Jan 25 04:30:08 argus zimbramon[5150]: 5150:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,28663,0,0,1,0,0
Jan 25 04:40:09 argus zimbramon[15263]: 15263:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 04:50:07 argus zimbramon[25048]: 25048:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,28663,0,0,1,0,0
Jan 25 05:00:07 argus zimbramon[2005]: 2005:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 05:10:07 argus zimbramon[11448]: 11448:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 05:20:09 argus zimbramon[21023]: 21023:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,1182,0,0,1,0,0
Jan 25 05:30:08 argus zimbramon[31203]: 31203:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,28663,0,0,1,0,0
Jan 25 05:40:07 argus zimbramon[8338]: 8338:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 05:50:07 argus zimbramon[17735]: 17735:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 06:00:07 argus zimbramon[27241]: 27241:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 06:10:09 argus zimbramon[4816]: 4816:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,0,0.5,5862,0,1,2,0,0
Jan 25 06:20:07 argus zimbramon[14731]: 14731:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0.5,5780,0,1,2,0,0
Jan 25 06:30:07 argus zimbramon[24219]: 24219:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,1182,0,0,1,0,0
Jan 25 06:40:07 argus zimbramon[1178]: 1178:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,28663,0,0,1,0,0
Jan 25 06:50:12 argus zimbramon[10791]: 10791:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 07:00:08 argus zimbramon[20833]: 20833:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 07:10:07 argus zimbramon[30534]: 30534:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 07:20:06 argus zimbramon[7514]: 7514:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 07:30:07 argus zimbramon[16909]: 16909:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 07:40:07 argus zimbramon[26748]: 26748:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,1182,0,0,1,0,0
Jan 25 07:50:08 argus zimbramon[4396]: 4396:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,28663,0,0,1,0,0
Jan 25 08:00:08 argus zimbramon[13793]: 13793:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 08:10:07 argus zimbramon[23223]: 23223:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 08:20:07 argus zimbramon[32739]: 32739:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 08:30:09 argus zimbramon[10352]: 10352:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,0,0,6638,0,1,3,0,0
Jan 25 08:40:08 argus zimbramon[20135]: 20135:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 08:50:07 argus zimbramon[29641]: 29641:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,0,0,1182,0,0,1,0,0
Jan 25 09:00:08 argus zimbramon[6628]: 6628:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,28663,0,0,1,0,0
Jan 25 09:10:07 argus zimbramon[16030]: 16030:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
Jan 25 09:20:09 argus zimbramon[27047]: 27047:info: MTA: xxx.xxx.xxx.xxx: filter_misc,clam_events,mta_delay,mta_volume,filte r_virus,filter_count,mta_count,filter_spam,sendmai l_events:: 0,1,0,0,0,0,0,0,0
...
...

5) tail /var/log/zimbra-stats.log
Output:
Jan 25 11:25:33 argus zimbramon[24967]: 24967:info: :::E10503E4-28B8-11E0-A328-C3C9F4DEBF18:::2:await, dm-2:svctm, dm-2:%util, dm-3:rrqm/s, dm-3:wrqm/s, dm-3:r/s, dm-3:w/s, dm-3:rkB/s, dm-3:wkB/s, dm-3:avgrq-sz, dm-3:avgqu-sz, dm-3:await, dm-3:svctm, dm-3:%util, dm-4:rrqm/s, dm-4:wrqm/s, dm-4:r/s, dm-4:w/s, dm-4:rkB/s, dm-4:wkB/s, dm-4:avgrq-sz, dm-4:avgqu-sz, dm-4:await, dm-4:svctm, dm-4:%util, dm-5:rrqm/s, dm-5:wrqm/s, dm-5:r/s, dm-5:w/s, dm-5:rkB/s, dm-5:wkB/s, dm-5:avgrq-sz, dm-5:avgqu-sz, dm-5:await, dm-5:svctm, dm-5:%util:: 01/25/2011 11:25:33, 0.00, 11.50, 0.00, 4.97, 0.00, 65.87, 26.52, 0.02, 4.34, 0.62, 0.31, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 11.50, 0.00, 4.97, 0.00, 65.87, 26.52, 0.02, 4.34, 0.62, 0.31, 0.00, 0.00, 0.00, 4.93, 0.00, 19.73, 8.00, 0.01, 2.62, 0.17, 0.08, 0.00, 0.00, 0.00, 7.77, 0.00, 31.07, 8.00, 0.04, 5.03, 0.27, 0.21,:::E1050B00-28B8-11E0-A328-C3C9F4DEBF18:::
Jan 25 11:25:33 argus zimbramon[24967]: :::E1050B00-28B8-11E0-A328-C3C9F4DEBF18::: 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 1.83, 0.00, 7.33, 8.00, 0.01, 2.93, 0.64, 0.12, 0.00, 0.00, 0.00, 1.93, 0.00, 7.73, 8.00, 0.00, 1.36, 0.24, 0.05, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
Jan 25 11:25:34 argus zimbramon[24965]: 24965:info: zmstat vm.csv: timestamp, r, b, swpd, free, buff, cache, si, so, bi, bo, in, cs, us, sy, id, wa, st, MemTotal, MemFree, Buffers, Cached, SwapCached, Active, Inactive, HighTotal, HighFree, LowTotal, LowFree, SwapTotal, SwapFree, Dirty, Writeback, AnonPages, Mapped, Slab, PageTables, NFS_Unstable, Bounce, CommitLimit, Committed_AS, VmallocTotal, VmallocUsed, VmallocChunk, HugePages_Total, HugePages_Free, HugePages_Rsvd, Hugepagesize, loadavg:: 01/25/2011 11:25:34, 0, 0, 0, 4856068, 360220, 824616, 0, 0, 0, 64, 1003, 812, 43, 7, 50, 0, 0, 7927536, 4856068, 360220, 824616, 0, 2139040, 760052, 0, 0, 7927536, 4856068, 4194296, 4194296, 584, 0, 1714264, 50768, 126352, 21584, 0, 0, 8158064, 7891508, 34359738367, 2728, 34359735543, 0, 0, 0, 2048, 0.75
Jan 25 11:25:36 argus zimbramon[24963]: 24963: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:: 01/25/2011 11:25:36, 42.8, 0.0, 7.4, 49.7, 0.1, 0.0, 0.0, 43.4, 0.0, 7.5, 49.0, 0.0, 0.0, 0.0, 42.2, 0.0, 7.3, 50.4, 0.1, 0.0, 0.0
Jan 25 11:25:37 argus mailboxd: INFO [mailboxd.csv] [] slogger - mailboxd.csv: timestamp,lmtp_rcvd_msgs,lmtp_rcvd_bytes,lmtp_rcvd _rcpt,lmtp_dlvd_msgs,lmtp_dlvd_bytes,db_conn_count ,db_conn_ms_avg,ldap_dc_count,ldap_dc_ms_avg,mbox_ add_msg_count,mbox_add_msg_ms_avg,mbox_get_count,m box_get_ms_avg,mbox_cache,mbox_msg_cache,mbox_item _cache,soap_count,soap_ms_avg,imap_count,imap_ms_a vg,pop_count,pop_ms_avg,idx_wrt_avg,idx_wrt_opened ,idx_wrt_opened_cache_hit,calcache_hit,calcache_me m_hit,calcache_lru_size,idx_bytes_written,idx_byte s_written_avg,idx_bytes_read,idx_bytes_read_avg,bi s_read,bis_seek_rate,db_pool_size,innodb_bp_hit_ra te,pop_conn,pop_ssl_conn,imap_conn,imap_ssl_conn,s oap_sessions,mbox_cache_size,msg_cache_size,msg_ca che_bytes,fd_cache_size,fd_cache_hit_rate,account_ cache_size,account_cache_hit_rate,cos_cache_size,c os_cache_hit_rate,domain_cache_size,:::b0ba8a43-9408-4398-95b6-2cbc1965c1fe:::
Jan 25 11:25:37 argus mailboxd: INFO [mailboxd.csv] [] slogger - :::b0ba8a43-9408-4398-95b6-2cbc1965c1fe:::domain_cache_hit_rate,server_cache_ size,server_cache_hit_rate,zimlet_cache_size,zimle t_cache_hit_rate,group_cache_size,group_cache_hit_ rate,xmpp_cache_size,xmpp_cache_hit_rate,gc_parnew _count,gc_parnew_ms,gc_concurrentmarksweep_count,g c_concurrentmarksweep_ms,gc_minor_count,gc_minor_m s,gc_major_count,gc_major_ms,mpool_code_cache_used ,mpool_code_cache_free,mpool_par_eden_space_used,m pool_par_eden_space_free,mpool_par_survivor_space_ used,mpool_par_survivor_space_free,mpool_cms_old_g en_used,mpool_cms_old_gen_free,mpool_cms_perm_gen_ used,mpool_cms_perm_gen_free,heap_used,heap_free:: 01/25/2011 11:25:37,0,0,0,0,0,3,0.0,4,20.5,0,0.0,3,0.0,100.0, 0.0,0.0,1,4.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,1000,0,0,0,0,0,4,0,0,0,0.0,5,81.27 229488703924,1,81.52709359605912,1,91.220423412204 24,:::3fa1c8a9-bd5a-4489-b88b-af262bd12411:::
Jan 25 11:25:37 argus mailboxd: INFO [mailboxd.csv] [] slogger - :::3fa1c8a9-bd5a-4489-b88b-af262bd12411:::1,99.98064453692055,15,51.612903225 80645,0,0.0,1,0.0,6,1134,0,0,6,1134,0,0,5642624,19 0080,309082552,340248136,28978272,52155296,1845744 0,2416336032,61806248,72411480,356518264,280873946 4
Jan 25 11:25:47 argus zimbramon[25095]: 25095:info: zmstat mtaqueue.csv: timestamp, KBytes, requests:: 01/25/2011 11:25:47, 30, 2
Jan 25 11:25:48 argus zimbramon[25391]: 25391:info: zmstat fd.csv: timestamp, fd_count, mailboxd_fd_count:: 01/25/2011 11:25:48, 2550, 212
Jan 25 11:25:51 argus zimbramon[25067]: 25067:info: zmstat convertd.csv: timestamp, utime, stime, cputime, rchar, wchar, read_bytes, write_bytes, rss, processes, threads:: 01/25/2011 11:25:51, 0, 0, 0, 0, 0, 0, 0, 10024, 6, 6

6) zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats | head -20
Output:
<GetLoggerStatsResponse xmlns="urn:zimbraAdmin">
<hostname hn="xxx.xxx.xxx.xxx">
<stats name="zmmtastats">
<values t="1295916030">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00167412817112055"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>
<stat name="filter_count" value="0"/>
<stat name="mta_count" value="0"/>
<stat name="filter_spam" value="0"/>
<stat name="sendmail_events" value="0"/>
</values>
<values t="1295916060">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00167412817112055"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>

7) zmsoap -z GetLoggerStatsRequest stats/@name=zmmtastats @limit=1 | head -50
Output:
<GetLoggerStatsResponse xmlns="urn:zimbraAdmin">
<hostname hn="xxx.xxx.xxx.xxx">
<stats name="zmmtastats">
<values t="1295916300">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00167412817112055"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>
<stat name="filter_count" value="0"/>
<stat name="mta_count" value="0"/>
<stat name="filter_spam" value="0"/>
<stat name="sendmail_events" value="0"/>
</values>
<values t="1295916600">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00167412817112055"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>
<stat name="filter_count" value="0"/>
<stat name="mta_count" value="0"/>
<stat name="filter_spam" value="0"/>
<stat name="sendmail_events" value="0"/>
</values>
<values t="1295916900">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00166691087219214"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>
<stat name="filter_count" value="0"/>
<stat name="mta_count" value="0"/>
<stat name="filter_spam" value="0"/>
<stat name="sendmail_events" value="0"/>
</values>
<values t="1295917200">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00166691087219214"/>
<stat name="mta_delay" value=""/>
<stat name="mta_volume" value="0"/>
<stat name="filter_virus" value="0"/>
<stat name="filter_count" value="0"/>
<stat name="mta_count" value="0"/>
<stat name="filter_spam" value="0"/>
<stat name="sendmail_events" value="0"/>
</values>
<values t="1295917500">
<stat name="filter_misc" value="0"/>
<stat name="clam_events" value="0.00166883797786713"/>

Sorry I am new to Zimbra. I am not sure whats going wrong. I have been trying to troubleshoot this issue for the last 2 days but in vain. Any help would be greatly appreciated.
If you would like the results of other commands feel free to let me know.

--
Thanks,
Shane
Reply With Quote
  #2 (permalink)  
Old 01-25-2011, 02:13 PM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

Hi Shane, this issue has been discussed and resolved so many times here. There is a bit of work you'll have to do. Check these thread, I hope it helps. search.

Quote:
Environment: 2 servers with CentOS 5.5 running ZCS 6.0. Server #1 is a Zimbra LDAP server on a physical machine and Server #2 is a VMWare Virtual Image running everything except the Zimbra LDAP and Proxy.

My problem is that the stats related to the LDAP server are not being displayed in the web based admin panel.
So the second server is a mailbox server I guess. Does stats show fine for that server?
Reply With Quote
  #3 (permalink)  
Old 01-25-2011, 02:24 PM
Junior Member
 
Posts: 5
Default

@fyd: Thanks for your response but I have seen those search results several times and tried several things mentioned on those forums but nothing truly helps.
Reply With Quote
  #4 (permalink)  
Old 01-25-2011, 03:14 PM
Moderator
 
Posts: 2,207
Default

Did you do the full "multi-servers" setup?
You have to setup syslog (on the ldap server) to "send" logs to the mailbox/logger one. And setup syslog on the mailbox/logger to listen to the sent logs...
Reply With Quote
  #5 (permalink)  
Old 01-25-2011, 03:34 PM
Junior Member
 
Posts: 5
Default

@Klug: Yes I followed the official Zimbra multiserver installation to the "T". Here is what I did....

1.On each server, as root /opt/zimbra/bin/zmsyslogsetup.

2.On the logger monitor host, I enabled syslog to log statistics from remote machines by ...
a.Editing the /etc/sysconfig/syslog file and adding -r to the SYSLOGD_OPTIONS setting, SYSLOGD_options=”-r -m 0”
b./etc/init.d/syslogd restart.
Reply With Quote
  #6 (permalink)  
Old 01-25-2011, 03:57 PM
Moderator
 
Posts: 2,207
Default

Do you see messages from the LDAP server in the /var/log/messages of the mailbox/logger server ?
Reply With Quote
  #7 (permalink)  
Old 01-25-2011, 04:19 PM
Junior Member
 
Posts: 5
Default

@Klug: Nope I don't. Thats the part that I don't get. Do both my servers have to be on the same subnet? As far as I can tell there are no network ACLs in place however if they both need to be on the same subnet I can do so.
Thanks.
Reply With Quote
  #8 (permalink)  
Old 01-26-2011, 06:10 AM
Moderator
 
Posts: 2,207
Default

They don't have to be on the same subnet.
But syslog traffic needs to be able to go from the ldap server to the other one...
Reply With Quote
  #9 (permalink)  
Old 01-26-2011, 12:38 PM
Junior Member
 
Posts: 5
Default

@Klug: tried everything but nothing seems to work. I even put it on the same subnet but in vain. Seems like the logs are not getting to the mailbox server. /var/log/messages doesn't show anything that says a connection from the ldap server is being made.
Thanks.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.