Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #6858] Add some more PNP details #1860
This issue has been migrated from Redmine: https://dev.icinga.com/issues/6858
Created by mfriedrich on 2014-08-05 17:04:43 +00:00
And remove this wiki page shipping extra information.
2015-03-07 15:23:53 +00:00 by (unknown) a93b565
Updated by mfriedrich on 2014-11-01 16:09:41 +00:00
Add a note on how to deal with pnp custom templates based on command args which do not exist anymore in Icinga 2.
PNP requires the following
In Icinga 1.x it looked like this
By adapting the pnp perfdata template for hosts/services in the PerfdataWriter config like this
one can simply use a global pnp-svc template with the following settings
On a service apply rule for a specific nrpe checked service, you can then override the value of that argument using the value of the $nrpe_command$ macro.
Usage in PNP
In PNP, the custom template for nrpe is then defined in /etc/pnp.../custom..../nrpe.cfg and the additional command arg string will be seen in the xml too for other templates.
Now one needs to write proper docs and test that theory.