check_win_net_usage always zero

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

check_win_net_usage always zero

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by sonuma on Tue Feb 24, 2015 5:35 am, edited 1 time in total.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_win_net_usage always zero

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: check_win_net_usage always zero

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

Re: check_win_net_usage always zero

Post by sonuma »

The NIC is not a member of teaming.
Please find screenshot
Capture2.JPG
Capture3.JPG
You do not have the required permissions to view the files attached to this post.
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

Re: check_win_net_usage always zero

Post by sonuma »

perf graph
Capture4.JPG
You do not have the required permissions to view the files attached to this post.
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

Re: check_win_net_usage always zero

Post by sonuma »

If I try on another server, with another NIC, i have the same result... strange !
sonuma
Posts: 42
Joined: Fri Jan 13, 2012 3:51 am

Re: check_win_net_usage always zero

Post 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 (é, ç...) :)
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: check_win_net_usage always zero

Post 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!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked