Hello! I´m using NSClient on my windows server to get some perfomance counter data. As long as I ask standard counters all is ok. But I have to ask some of the SQL Server Counters (german version) and this dosnt work. I expect the problem is with the ":" character. I dont get an error but a "0" value.
[plugins]#./check_nt -H 192.168.xxx.yyy -p 12345 -v COUNTER -l "\SQLServer:Allgemeine Statistik\Benutzerverbindungen","%.f" 0 | %.f=0,000000%;0,000000;0,000000; this works: [plugins]#./check_nt -H 192.168.xxx.yyy -p 12345 -v COUNTER -l "\Prozessor(_Total)\Prozessorzeit (%)","%.f %%" 59 % | '%.f %%'=59,000000%;0,000000;0,000000; Versions: nagios-plugins-1.4.1-1.1.fc3.rf NSClient++-0.2.4g.zip Thanks in advance! Alex -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
