[Nagiosplug-help] Can NRPE Output Be Graphed

Jim Avery jim at jimavery.me.uk
Fri Aug 20 13:32:05 CEST 2010


On 20 August 2010 10:38, Robert Jackson <rab at walkermartyn.co.uk> wrote:
> I’m in the process of setting up NRPE daemons on remote Linux servers to
> enable me to monitor them. I’ve set-up a couple of checks (zombie and total
> processes) as per the documentation. Everything is working fine and Nagios
> reports correctly the numbers involved. I’m now wondering if these checks
> can/will output to PNP4Nagios to enable them to be graphed?



David Bruce over on the pnp4nagios-users email list answered a similar
question recently thus:


[quote]
Look at these two references

http://docs.pnp4nagios.org/templates/start
Special Templates: http://www.pnp4nagios.org/pnp/tpl_special

You will create a file in ~/etc/check_commands called check_nrpe.cfg
which will contain the line "CUSTOM_TEMPLATE = 1".  This tells
pnp4nagios to use the $ARG1$ (check_load) in your Nagios service
definition as the name of the template to use.

You will still get the default pnp template until you make new
templates in ~/share/templates.  You can copy or simlink to the
distributed templates in ~/share/templates.dist.  They are excellent
starting points and there is one for each of your Nagios Service
checks listed below.
[/quote]

I confess I haven't tried this advice myself yet - I'm still using a
more kludgy workaround which involves configuring a separate check
command for each nrpe check type and copying the standard templates to
templates having the new command names.

The PNP4Nagios email list is at
https://lists.sourceforge.net/lists/listinfo/pnp4nagios-users

Cheers,

Jim




More information about the Help mailing list