diff options
author | Erik <erik@erikkristensen.com> | 2009-05-18 21:44:30 -0400 |
---|---|---|
committer | Erik <erik@erikkristensen.com> | 2009-05-18 21:44:30 -0400 |
commit | 17916fed421ef18771f6e8f6e738f6a8f2596751 (patch) | |
tree | b2df027d6db3dd50ed9825cae04d6419a9a3e114 /config | |
parent | cb331a55ab44eef169f3fbc3e752f2935439fa01 (diff) | |
download | pfsense-packages-17916fed421ef18771f6e8f6e738f6a8f2596751.tar.gz pfsense-packages-17916fed421ef18771f6e8f6e738f6a8f2596751.tar.bz2 pfsense-packages-17916fed421ef18771f6e8f6e738f6a8f2596751.zip |
NRPE command definitions fix, place command alias in the brackets instead of command name
Diffstat (limited to 'config')
-rw-r--r-- | config/nrpe2/nrpe2.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/nrpe2/nrpe2.inc b/config/nrpe2/nrpe2.inc index b0f4f761..b4948799 100644 --- a/config/nrpe2/nrpe2.inc +++ b/config/nrpe2/nrpe2.inc @@ -144,7 +144,7 @@ function nrpe2_custom_php_write_config() foreach ($config['installedpackages']['nrpe2']['config'][0]['row'] as $cmd) { - $cmds[] = "command[{$cmd['command']}]=/usr/local/libexec/nagios/{$cmd['command']} -w {$cmd['warning']} -c {$cmd['critical']} {$cmd['extra']}\n"; + $cmds[] = "command[{$cmd['name']}]=/usr/local/libexec/nagios/{$cmd['command']} -w {$cmd['warning']} -c {$cmd['critical']} {$cmd['extra']}\n"; } $commands = implode($cmds); |