Random Project

Good !

This shell script uses check_nt to check both Bytes Sent and Bytes Received counters in one place. My understanding is that it is lacking the ability to set Warning and Critical thresholds. For that, I’m planning to user check_nt. My biggest challenge was to get NIC naming work. Here is what worked for me:

./check_win_net_usage.sh –H –p 12489 –i “Intel[R] 82579LM Gigabit Network Connection”

And for thresholds, I used

./check_nt –H –p 12489 –v COUNTER –l “network interface(intel[r] 82579lm gigabit network connection)bytes sent/sec” –w 1000000 –c 3000000

and

./check_nt –H –p 12489 –v COUNTER –l “network interface(intel[r] 82579lm gigabit network connection)bytes received/sec” –w 1000000 –c 3000000