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.
because i didn't find any solution to monitor zimbra with nagios i wrote a small script. It's interprets the output of "zmcontrol status" command. Because the zmcontrol can only be startet from the zimbra account you have to edit sudoers file like.
Is it reliable enough to monitor this command? Do you have some other ideas to improve monitoring?? comments welcome!
best regards,
Andreas
The screen shot shows what we do on all our own and our clients' Zimbra servers. We leave hardware monitoring to the HP Insight Agents, e.g. the health of a single hard disk in a RAID array.
Hope that helps,
Mark
__________________
___________________________________ L. Mark Stone, CIO
Another way to get deep into the web application, without putting a password into a script, is to make public calendar, wiki, and email/RSS shares and screen-scrape the appropriate REST URLs anonymously. This can be done with arguments to check_http.
Another way to get deep into the web application, without putting a password into a script, is to make public calendar, wiki, and email/RSS shares and screen-scrape the appropriate REST URLs anonymously. This can be done with arguments to check_http.
Thanks for the Screenshot Mark. btw.: query the HP Agents can also be done by check_hpasm. check_hpasm
Best Regards,
Andreas
Yeah, we tried that a year ago or so. As I recall, it needed to be "compiled" sort of for each monitored host and I remember we had some sort of other issue with it. I see from the web site that multi-line reporting is now a feature, so when we go to Nagios 3 some time this year, we'll take a fresh look at the plugin.
Thanks!
Mark
__________________
___________________________________ L. Mark Stone, CIO
Hi schose
I have tried to install your script and can get return output from the command line on my Debian Linux Server /usr/lib64/nagios/plugins/check_nrpe -H zimbra -c check_zmstatus but need help with serive.cfg hostgroup.cfg files.
Within Nagios my output is (no output returned form plugin), I have set my service_nagios2.cfg as check_command check_nrpe!check_zmstatus and have tried check_nrpe_1arg this worked for disk check but not for Zimbra Server zmcontrol - please can anyone help on this.
Solved with command check_nrpe_1arg!check_zmcontrol then on the client /etc/nagios/nrpe.cfg command[check_zmstatus]=/usr/lib64/nagios/plugins/check_zmstatus.pl -p zimbraServer
The screen shot shows what we do on all our own and our clients' Zimbra servers. We leave hardware monitoring to the HP Insight Agents, e.g. the health of a single hard disk in a RAID array.
Hope that helps,
Mark
Hey Mark,
I am trying to setup Nagios for our internal server. Can you provide the scripts (or at least names of them) you have used in your setup? I am completely new to Nagios and trying to learn as we go along. I had setup http, smtp, imap4 and pop3 monitors. Now I am trying to add more components to it.
To check the signature file version of ClamAV I use a modified version of check_clamav.pl, see attached. Maybe you have to change line 30 to fit in your Nagios Plugins environment. It must be run as user zimbra, therefore I use sudo.
nrpe.cfg