Windows Network Interface

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Windows Network Interface

Post by rlinux57 »

On Nagios Server:
[root@monitor libexec]# ./check_win_network -H IP_Address -p 12489 -i "Realtek PCIe GBE Family Controller" -o KB

Network OK - 21 KBytes received/sec, 408 KBytes sent/sec|bytes_in=22023;bytes_out=418445

But when i put in command definition it shows: (No output returned from plugin)

Command Definition:
#check network usage in windows
define command{
command_name check_win_network
command_line $USER1$/check_win_network -H $HOSTADDRESS$ -c CheckWMI -a '$ARG1$' $ARG2$
}



Service Definition:
define service {
use generic-service
host_name winserver-2012
service_description Network Interface
check_command CheckWMI!path=check_win_network -H IP-Address -p 12489 -c check_wmi -i "Realtek PCIe GBE Family Controller" -o KB
}
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Windows Network Interface

Post by rlinux57 »

I have fixed the issue at my own, kindly close this thread.
Locked