check_nt COUNTER wrong scale?
Posted: Tue Aug 05, 2014 5:34 am
Hi, I have search in forum, but found nothing, so I'm here to ask expert.
I have Nagios 3.4.1 on Debian and NSClient 4.1.105 on Windows 2008 R2 server. I want to read using check_nt the counter about network total bytes/sec, so from command line I start testing:
It works and I get a string like that:
When on heavy load (a big file transfer), instead I get:
I think that is because a too big number is returned (get-counters on Windows 2008 returns "12233432"). How can handle this?
Best Regards
I have Nagios 3.4.1 on Debian and NSClient 4.1.105 on Windows 2008 R2 server. I want to read using check_nt the counter about network total bytes/sec, so from command line I start testing:
Code: Select all
/usr/lib/nagios/plugins/check_nt -H 10.10.11.50 -p 12489 -s Wlinux2 -v COUNTER -l "\\Network Interface(Intel[R] PRO_1000 MT Network Connection)\\Bytes Total/sec","Total Bytes","B" -w 700000 -c 800000Code: Select all
Total Bytes = 65329,00 B | 'Total Bytes'=65329,000000B;700000,000000;800000,000000;Code: Select all
Total Bytes = 1,00 B | 'Total Bytes'=1,000000B;700000,000000;800000,000000;Best Regards