Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
hypnoz
This is great, I can tell you put a lot of time into this check and I appreciate it.
I wasn't totally sure where to put the check_memcached.php file, so I just put it into /usr/local/pnp4nagios/share/templates.dist/ and did a nagios reload. Maybe you could make a note of where that file goes.
Thanks for the examples they really helped out while putting this check into nagios configs. One thing I tweaked which is just being anal, is I switched the -R and -U order since the check output info matches -p,-T,-U,-R format.
Not often you find such detailed work for pnp4nagios graphing on top of a check. Thanks again!
I wasn't totally sure where to put the check_memcached.php file, so I just put it into /usr/local/pnp4nagios/share/templates.dist/ and did a nagios reload. Maybe you could make a note of where that file goes.
Thanks for the examples they really helped out while putting this check into nagios configs. One thing I tweaked which is just being anal, is I switched the -R and -U order since the check output info matches -p,-T,-U,-R format.
Not often you find such detailed work for pnp4nagios graphing on top of a check. Thanks again!
Nice plugin, one of the few that is written in bash and not perl (which always seems to require the Nagios::Plugin perl module).
There is a typo at the end, the OK statement on line 103 has "$available" spelled incorrectly so it won't return the mem usage on an OK result. Easy fix though.
I also changed the exit code on "usage" stuff to exit 4 which is the Unknown state.
Thanks for a nice check.
There is a typo at the end, the OK statement on line 103 has "$available" spelled incorrectly so it won't return the mem usage on an OK result. Easy fix though.
I also changed the exit code on "usage" stuff to exit 4 which is the Unknown state.
Thanks for a nice check.
byhypnoz, December 2, 2010
0 of 2 people found this review helpful
This was a good starting point, but I think I have improved on this template, while also simplifying it. Check out my modifications.
http://dpaste.de/nGQj/
One of the things I added was a reverse check, ot see if everything mounted on the system is also listed in fstab.
http://dpaste.de/nGQj/
One of the things I added was a reverse check, ot see if everything mounted on the system is also listed in fstab.
Owner's reply
The link is dead :(