Build precise queries to find exactly what you need
Press ESC to close
@MN81
Member Since: October 28, 2015
Favorites0
Views
Projects0
Works on IIS 7.5 perfectly
Reviewed 9 years ago
Works on IIS 7.5 without any problems at all
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")
Reviewed 10 years ago