
Email and Groupware
check_zimbra.pl
Description:
perl script intended as wrapper around the ‘zmcontrol status’ command provided by zimbra
Current Version
0.1
Last Release Date
2010-01-11
Compatible With
- Nagios 3.x
Owner
Download URL
Project Notes
This perl script is just a wrapper around the 'zmcontrol status' provided by zimbra.
I use this to check the zimbra status from the nagios server with the ssh remote check.
To work with nagios user you need something like this in your /etc/sudoers file :
nagios ALL=(zimbra) NOPASSWD:/opt/zimbra/bin/zmcontrol
check_zimbra.pl -h
Usage: check_zimbra.pl [options]
-s
stopped service are ignored until some daemon is faulty
-S
stopped service give warning state if a service is faulty
-C
stopped service give critical if a service is faulty
-e service1,service2,..
list of excluded services from monitoring
-d
enable debug mode
-h
display usage information
If you have some idea about improvement please send me any suggestion.
Reviews
(2)
Add a Review
This checks the output of "zmcontrol status", so it detects an error when zimbra already fails in some way. I't goot at what it does and here is a fix for the change in 8.5 version:
diff check_zmstatus.pl check_zmstatus.pl.old
45a46
> # parse every line exept the first
47,50c48,52
}
> }
diff check_zmstatus.pl check_zmstatus.pl.old
45a46
> # parse every line exept the first
47,50c48,52
}
> }
Add a Review
You must be logged in to submit a review.
Thank you for your review!
Your review has been submitted and is pending approval.
Recommend
To:
From:
Thank you for your recommendation!
Your recommendation has been sent.
Page Sections
Project Stats
Rating
2.3 (3)
Favorites
1
Views
107,074