From 5cf0da83195a1f162d49e6dad374dd40f6c07dff Mon Sep 17 00:00:00 2001 From: "Yuki (aka Ruben Gomez)" Date: Wed, 17 Sep 2014 10:30:59 +0200 Subject: Modifications to allow nrpe arguments (dont_blame_nrpe) in the config edition With this change we can allow pass arguments from Nagios server to pfsense, and allow them or not from the NRPE config web. To get a config file with $ARG1$ $ARG2$... we must scape them in the "Extra options" input and put \$ARG1\$ \$ARG2\$... --- config/nrpe2/nrpe2.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'config/nrpe2/nrpe2.xml') diff --git a/config/nrpe2/nrpe2.xml b/config/nrpe2/nrpe2.xml index fec09d06..8d6f0b09 100644 --- a/config/nrpe2/nrpe2.xml +++ b/config/nrpe2/nrpe2.xml @@ -62,6 +62,13 @@ input + + Allow Arguments (dont_blame_nrpe) + dont_blame_nrpe + Check this to enable accept NRPE arguments (Default: 0) + checkbox + + listtopic Commands @@ -109,7 +116,7 @@ - Extra Options + Extra Options (Example: -s Z \$ARG1\$ \$ARG2\$) extra Warning! Use at your own risk, incorrect settings here may prevent NRPE from starting! input -- cgit v1.2.3