mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-21 18:03:45 +01:00
okc-get_network_stat, Bad nrpe command name
This commit is contained in:
parent
7d9ba339bc
commit
e5498e1554
@ -13,7 +13,7 @@ helper.parse_arguments()
|
|||||||
if helper.options.host == "localhost":
|
if helper.options.host == "localhost":
|
||||||
command="cat /proc/net/dev|sed 's/ */ /g'"
|
command="cat /proc/net/dev|sed 's/ */ /g'"
|
||||||
else:
|
else:
|
||||||
command="/usr/lib64/nagios/plugins/check_nrpe -H '%s' -c get_network_interfaces" % helper.options.host
|
command="/usr/lib64/nagios/plugins/check_nrpe -H '%s' -c get_network_interfaces_stat" % helper.options.host
|
||||||
|
|
||||||
return_code, stdout, stderr = runCommand(command)
|
return_code, stdout, stderr = runCommand(command)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user