Hi! 

On Wed, 06 May 2009, Jim Avery wrote:
> It's not quite as simple as that though, because if you set up
> a check_nrpe.php template which makes your swap graphs look
> lovely, it might make all the other checks you run using
> check_nrpe look awful! You might need to consider setting up a
> separate command definition in Nagios just for your swap
> checks.  Make it the same as check_nrpe but call it something a
> little different, for example "check_nrpe-swap". Of course
> you'll need also to change your swap service definition to use
> this command.  You can then rename your check_nrpe.pnp template
> to check_nrpe-swap.pnp and it won't mess up all your other nrpe
> checks.

I did something else: I patched PNP so that it removes the
check_nrpe! prefix if it's there, then does processing as usual.
I've sent this (trival, four-line) patch to the PNP maintainer
but never got an answer :/

Regards,
Tobias

-- 
The only problem with troubleshooting is that sometimes,
trouble shoots back.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to