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 800000
Code: 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