We are running the latest NE 4.0 on OS X Servers. Does anyone know if one can administer the instances of Zimbra, meaning say the logger goes down, or the antivirus, antispam service etc. I would want this monitoring app to send out a notification to our staff.
We currently use Nagios to monitor, POP3, SMTP, IMAP, etc...was wondering if one can monitor the others with Nagios or other app.
Thanks in Advance
sure, use check_mysql --port=7306 and --port=7307 for main db and logger respectively.
for amavis you could use check_tcp -p 10024 and/or an expect string (like -e " ESMTP amavisd-new service ready")
you could also use check_daemon to look for amavisd-new, clamd, freshclam etc
Is there a monitoring app that I can use, or do I need to create this the old way using shell scripting? =)
uh, those are nagios plugins, thought that's what you wanted! i think check_daemon might be a contrib, might need to search a little for that one, bizarrely as it covers such a basic function. other way of doing it is to monitor ports and processes in snmp and use nagios snmp checks.
Thank you, I appreciate your help. I almost got it working, except that for some reason it doesn't seem that those tcp ports are being used by zimbra. This is on an OS X server 4.0 NE edition..
MACCIUS-06:/opt/local/libexec/nagios root# ./check_tcp -H myhostname.com -p 7306
MACCIUS-06:/opt/local/libexec/nagios root# ./check_tcp -H myhostname -p 7307