Email and Groupware

box293_check_mbox

Description:

box293_check_mbox.pl is used to keep an eye on a local mbox account. Without manually checking the mbox reguarly, important system messages can go undetected. “You have new mail in /var/spool/mail/root” = this is an mbox OPTIONS –help Display the help message. –mbox_user The username on the system whose mbox you want to check. By default the plugin will check the mbox of the user running the plugin (normally this is the ‘nagios’ user, because this is the user account that executes plugins). Because system messages are more commonly logged to the root user’s mbox, it is this mbox you will want to monitor. To monitor an mbox for another user, you will need to grant permission. For example, to allow the nagios user to read the root user’s mbox you will need to apply the following permission: setfacl -m u:nagios:r– /var/spool/mail/root –warning Generate a WARNING state if the mbox message count is >= the threshold supplied –critical Generate a CRITICAL state if the mbox message count is >= the threshold supplied –license Display the license –version Display the version EXAMPLES Check the mbox for the user root box293_check_mbox.pl –mbox_user root Supply a warning threshold box293_check_mbox.pl –mbox_user root –warning 20 Supply a critical threshold box293_check_mbox.pl –mbox_user root –critical 50 Supply a warning and critical threshold box293_check_mbox.pl –mbox_user root –warning 20 –critical 50

Current Version

2014-07-08

Last Release Date

2014-07-08

Compatible With

  • Nagios 3.x
  • Nagios 4.x

License

GPL


Project Files
Project Notes
Version Notes: 2014-07-08 * First release of the plugin
Reviews (0) Add a Review
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.

Project Stats
Rating
0 (0)
Favorites
0
Views
21,038