Performance Counters & Outputs

Mirza Dedic mirde at oppy.com
Thu Jul 30 16:18:29 CEST 2009


Hello list,

I am having an issue trying to run...

./check_nt -H van-sql01 -p ***** -s ***** -v COUNTER -l "\\SQLServer:Databases(DWH)\Log File(s) Size (KB)","Log file for DWH is: %.2f Kb"

I get:

Log file for DWH is: 143352.00 Kb | 'Log file for DWH is: %.2f Kb'=143352.000000%;0.000000;0.000000;

While  143352KB would be hard for someone to determine, is there a way to get it to show MB?

I assume I would probably need to wrap the script into something that would output in MB, but I am not good with programming; anyone done anything like this before want to shed some light?

Thanks.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list