Good Afternoon!
I am looking to monitor our Zimbra servers using Nagios 3.2.3
* running services
* diskspace
* mail queues (inbound/outbound/deferred)
Any tips/tricks about getting this setup would be greatly appreciated..
I currently have Nagios Server 3.2.3 setup on a Ubuntu 10.04 Server monitoring 40+ network devices.
On the Mail server side I am only monitoring the following (but would like to expand the monitoring to detect intrusions or malfunctions)
* Root partition size
* SMTP
* Total Processes
* PING
I tried the following:
edit
vi /usr/local/nagios/libexec/utils.pm
remove
$PATH_TO_MAILQ = "/usr/bin/mailq";
Add
$PATH_TO_MAILQ ="/opt/zimbra/postfix/sbin/mailq";
Test
/usr/local/nagios/libexec# /usr/local/nagios/libexec/check_mailq xxx.xxx.xxx.xxx 1 -w 100 -c 150
Error
root@Nagi:/usr/local/nagios/libexec# /usr/local/nagios/libexec/check_mailq 10.0.0.251 -w 100 -c 150
ERROR: /opt/zimbra/postfix/sbin/mailq is not executable by (uid 0:gid(0 0))
/etc/sudoers
-r--r----- 1 root root 811 2011-03-24 15:34 /etc/sudoers
((and this is where I am currently stuck --> I'd GREATLY Appreciate your help))


LinkBack URL
About LinkBacks


