1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-24 03:13:47 +01:00

okc-get_network_stat, Bad nrpe command name

This commit is contained in:
Tomas Edwardsson 2014-04-02 15:57:58 +00:00
parent 7d9ba339bc
commit e5498e1554

View File

@ -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)