From e5498e1554a1b4929bfdcf95c0f8862bab083269 Mon Sep 17 00:00:00 2001 From: Tomas Edwardsson Date: Wed, 2 Apr 2014 15:57:58 +0000 Subject: [PATCH] okc-get_network_stat, Bad nrpe command name --- okc-get_network_stat/okc-get_network_stat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okc-get_network_stat/okc-get_network_stat b/okc-get_network_stat/okc-get_network_stat index 05cc498..c2297dd 100644 --- a/okc-get_network_stat/okc-get_network_stat +++ b/okc-get_network_stat/okc-get_network_stat @@ -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)