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
1 changed files with 1 additions and 1 deletions

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)