Page 1 of 1
check_win_net_usage always zero
Posted: Mon Feb 23, 2015 8:42 am
by sonuma
Hello,
I read this topic,
http://support.nagios.com/forum/viewtop ... 5&start=10
I have the same problem, but for me I cannot resolve the problem.. when I launch the command, the result is always 0Bytes sent or receive....
[root@nagios libexec]# ./check_win_net_usage.sh -H bck -s **** -p 12489 -i "Broadcom BCM5709C NetXtreme II GigE [NDIS VBD Client]"
Network OK - 0 Bytes received/sec, 0 Bytes sent/sec|bytes_in=0;bytes_out=0
Capture.JPG
Thanks
Re: check_win_net_usage always zero
Posted: Mon Feb 23, 2015 11:58 am
by lmiltchev
Have you tried running the plugin against a different interface? Does it work if you do so? I tried the plugin and it worked fine for me:
Code: Select all
[root@testbox libexec]# ./check_win_net_usage.sh -H x.x.x.x -p 12489 -s password -i "Intel[R] 82579LM Gigabit Network Connection"
Network OK - 5874 Bytes received/sec, 849084 Bytes sent/sec|bytes_in=5874;bytes_out=849084
Is there any traffic on the "Broadcom BCM5709C NetXtreme II GigE [NDIS VBD Client]" interface? Can you show us a graph in the Performance Monitor?
Re: check_win_net_usage always zero
Posted: Mon Feb 23, 2015 9:24 pm
by Box293
sonuma wrote:Broadcom BCM5709C NetXtreme II GigE [NDIS VBD Client]
Is this NIC a member of a team? If it is, you should be using the name of the team instead.
In Performance Monitor, when you add that counter is it reporting any values?
Re: check_win_net_usage always zero
Posted: Tue Feb 24, 2015 5:28 am
by sonuma
The NIC is not a member of teaming.
Please find screenshot
Capture2.JPG
Capture3.JPG
Re: check_win_net_usage always zero
Posted: Tue Feb 24, 2015 5:30 am
by sonuma
Re: check_win_net_usage always zero
Posted: Tue Feb 24, 2015 5:47 am
by sonuma
If I try on another server, with another NIC, i have the same result... strange !
Re: check_win_net_usage always zero
Posted: Tue Feb 24, 2015 8:20 am
by sonuma
I found my problem, It's a FRENCH windows system

, not US.
So if I launch the correct check_nt with french parameter, i receive a result
Now, I have to find the correct definition of check_nt command because there is a problem with special character (é, ç...)

Re: check_win_net_usage always zero
Posted: Tue Feb 24, 2015 10:37 am
by jolson
sonuma wrote:I found my problem, It's a FRENCH windows system

, not US.
So if I launch the correct check_nt with french parameter, i receive a result
Now, I have to find the correct definition of check_nt command because there is a problem with special character (é, ç...)

Sounds good! I will lock this post out, and if you have any additional problems please feel free to create another one. Thanks!