mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-05 01:53:44 +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":
|
||||
command="cat /proc/net/dev|sed 's/ */ /g'"
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user