You are here

nsc_checkcounter reporting unreadable data

5 posts / 0 new
Last post
Super000
Super000's picture
nsc_checkcounter reporting unreadable data

Ok Opsview Core - Windows agents 0.3.8....

 

Using nsc_checkcounter to pull Network interface Total Bytes/sec and getting crazy output (bolded and underlined below).  How can I get a more human readable number so that when I graph it, it makes sense.

 

Current check in backend is:

-bash-3.2$ ./check_nrpe -H xxx.xx.xx.xx -c nsc_checkcounter -a '"\Network Interface(vmxnet3 Ethernet Adapter)\Bytes Total/sec" ShowAll' OK: \Network Interface(vmxnet3 Ethernet Adapter)\Bytes Total/sec: 2.62232e+007   ==================== Update:  Since my previous reply/comment has not yet been added, I'll try this way.     To answer your question "smarsh" All others appear to do the same thing.  I've noticed that if the traffic is in bytes or kilobytes worth of sent/received, it displays correctly.  Once the traffic starts getting up in the MB, it starts throwing out the weird numbers.  Perfmon on the servers themselves show me the correct numbers in MB, but opsview is doing something different in calculations....do you know how to change this behaviour?   ===================== Any help is much appreicated!    
smarsh
smarsh's picture
Re: nsc_checkcounter reporting unreadable data

What do other network adapters show? Im mindful this is a virtual machine NIC so the throughput might be very high as it could be VM to VM transfers on the same host.

Super000
Super000's picture
Re: nsc_checkcounter reporting unreadable data

Well on a handful of virtual servers I've tested, they do not get as much traffic as this particular server, so in testing, the others are using mere KB of traffic.  As for this server in question it's always using MB of traffic.  So the others report back numbers that are readable because they only go up to KB.  It seems that when a server uses traffic that go up into the MB is when it starts calculating it and displaying it weirdly in Opsview.  I can tell you that in Perfmon on that server, it displays the correct, readable data.  Opsview changes it to that wierd number.  Any suggestions?

Super000
Super000's picture
Re: nsc_checkcounter reporting unreadable data

Anybody???

sperrin_85327
sperrin_85327's picture
Sorry to bump the thread, but

Sorry to bump the thread, but is this something that is possible? I have the same issue