diff options
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); |