Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

MN81

Reviews(4)
byMN81, June 30, 2016
Works on IIS 7.5 perfectly
byMN81, June 29, 2016
Works on IIS 7.5 without any problems at all
byMN81, June 29, 2016
Works on IIS 7.5 without any problems at all
byMN81, October 28, 2015
Check Windows Network Traffic/Usage
MS changed the counters on W2012.
To get it to work on 2012 change these lines

bytes_in=$(${pluginlocation}/check_nt -H ${host} -p ${insertport} -s ${password} -v COUNTER -l "\Network Interface(${interface})\Bytes Received/sec")
bytes_out=$(${pluginlocation}/check_nt -H ${host} -p ${insertport} -s ${password} -v COUNTER -l "\Network Interface(${interface})\Bytes Sent/sec")
else
# Without password
bytes_in=$(${pluginlocation}/check_nt -H ${host} -p ${insertport} -v COUNTER -l "\Network Interface(${interface})\Bytes Received/sec")
bytes_out=$(${pluginlocation}/check_nt -H ${host} -p ${insertport} -v COUNTER -l "\Network Interface(${interface})\Bytes Sent/sec")
fi

To this.

bytes_in=$(${pluginlocation}/check_nt -H ${host} -p ${insertport} -s ${password} -v COUNTER -l "\Network Adapter(${interface})\Bytes Received/sec")
bytes_out=$(${pluginlocation}/check_nt -H ${host} -p ${insertport} -s ${password} -v COUNTER -l "\Network Adapter(${interface})\Bytes Sent/sec")
else
# Without password
bytes_in=$(${pluginlocation}/check_nt -H ${host} -p ${insertport} -v COUNTER -l "\Network Adapter(${interface})\Bytes Received/sec")
bytes_out=$(${pluginlocation}/check_nt -H ${host} -p ${insertport} -v COUNTER -l "\Network Adapter(${interface})\Bytes Sent/sec")