Hello,

The output of the following command :
check_nt -H serverx -p 12489 -s password -v COUNTER -l "\\Server\\Files 
open","Open files is %.f  " -w 800 -c 900
is:
Open files is 701   | 'Open files is %.f  '=701.000000%;800.000000;900.000000;

But in Nagios this check has the status "Critical" . What may be the cause ?

define command{
        command_name    check_nt_openfiles
        command_line   $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s password 
-v COUNTER -l "\\Server\\Files open","Open files is %.f " -w $ARG1$ -c $ARG2$
}

define service{
        use                     service-prod
        host_name               serverx
        service_description     Counter OpenFiles
        check_command           check_nt_openfiles!300!300
        }

We are running nagios 3.2.0 on SLES11

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to