Code:
No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 37.
No iostat installed on this host at /opt/zimbra/libexec/zmstat-io line 37.
Warning: Not possible to monitor process stats
After a bit more digging to get rid of the first two lines in /opt/zimbra/zmstat/zmstat.out you have to install iostat or systat which is not a default depending on your distribution.
On Ubuntu 6.06:
Code:
sudo apt-get install sysstat
Will get you what you need, just make sure "Universe" is enabled.
Now for the third line...
Bug 17977 references these two file as being the problem and fixed:
Code:
Affected files ...
... //depot/main/ZimbraBuild/lib/Zimbra/Mon/Zmstat.pm#5 edit
... //depot/main/ZimbraServer/src/bin/zmstatctl#3 edit
Though I'm not exactly sure why but if you stop "/opt/zimbra/libexec/zmstat/zmstat-proc" (by killing its pid) and then run it again you will get that warning about that stats service. It turns out that the array containing the list of running procs is correct but the function:
Code:
my $ps_sub = $ps_subs{$proc}; Does not return a valid value
Code:
CODE(0x82100f0)
mailbox
CODE(0x8210324)
mysql
CODE(0x8210408)
convertd
CODE(0x82104c8)
ldap
CODE(0x8210588)
postfix
CODE(0x8210618)
amavis
CODE(0x82bcfac)
clam
Use of uninitialized value in print at ./zmstat-proc line 553.
at ./zmstat-proc line 553
stats
Warning: Not possible to monitor process stats
So there might be more to this bug than it not showing up when zmstatuslog runs.