aboutsummaryrefslogtreecommitdiffstats
path: root/config/nrpe2/nrpe2.xml
diff options
context:
space:
mode:
authorYuki (aka Ruben Gomez) <rugoli@gmail.com>2014-09-17 10:30:59 +0200
committerYuki (aka Ruben Gomez) <rugoli@gmail.com>2014-09-17 10:30:59 +0200
commit5cf0da83195a1f162d49e6dad374dd40f6c07dff (patch)
tree26a6056d1816037155a35951328e38144b365185 /config/nrpe2/nrpe2.xml
parent6fc32123543416dff79f9b095357c5de6805cfd4 (diff)
downloadpfsense-packages-5cf0da83195a1f162d49e6dad374dd40f6c07dff.tar.gz
pfsense-packages-5cf0da83195a1f162d49e6dad374dd40f6c07dff.tar.bz2
pfsense-packages-5cf0da83195a1f162d49e6dad374dd40f6c07dff.zip
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\$...
Diffstat (limited to 'config/nrpe2/nrpe2.xml')
-rw-r--r--config/nrpe2/nrpe2.xml9
1 files changed, 8 insertions, 1 deletions
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
@@ -63,6 +63,13 @@
<required/>
</field>
<field>
+ <fielddescr>Allow Arguments (dont_blame_nrpe)</fielddescr>
+ <fieldname>dont_blame_nrpe</fieldname>
+ <description>Check this to enable accept NRPE arguments (Default: 0)</description>
+ <type>checkbox</type>
+ </field>
+
+ <field>
<type>listtopic</type>
<name>Commands</name>
<fieldname>temp</fieldname>
@@ -109,7 +116,7 @@
<required/>
</rowhelperfield>
<rowhelperfield>
- <fielddescr>Extra Options</fielddescr>
+ <fielddescr>Extra Options (Example: -s Z \$ARG1\$ \$ARG2\$)</fielddescr>
<fieldname>extra</fieldname>
<description>Warning! Use at your own risk, incorrect settings here may prevent NRPE from starting!</description>
<type>input</type>