From: Ferrill, J. <james.ferrill@NEXTIRAONE.COM> - 2004-08-25 20:44:07
|
I've been trying to collect some counter data and it doesn't seem to work quite right using the latest check_nt from CVS (1.24): nexismdev04:/usr/local/nagios/libexec# ./check_nt -H 172.29.19.28 -p 1248 -v COUNTER -l "\\Memory\\Available Bytes" 270553088 nexismdev04:/usr/local/nagios/libexec# ./check_nt -H 172.29.19.28 -p 1248 -v COUNTER -l "\\Memory\\Available Bytes","Free memory" No unit counter specified nexismdev04:/usr/local/nagios/libexec# ./check_nt -H 172.29.19.28 -p 1248 -v COUNTER -l "\\Memory\\Available Bytes","Free memory %.2f" Free memory %.2f = 271278080.00 %|'Free memory %.2f'=271278080.000000%;0.000000;; nexismdev04:/usr/local/nagios/libexec# ./check_nt -H 172.29.19.28 -p 1248 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","%.f %% paging file used." %.f %% paging file used. = 0.00 %|'%.f %% paging file used.'=0.000000%;0.000000;; Is this a bug or am I doing it wrong? Thanks. > James Ferrill > IT Analyst II > NextiraOne > Phone: 713-307-4029 > Email: jam...@ne... > > |