Hi,

>You are right. Any command I try to run through command prompt is giving
>me the same error. Although its showing ok in the web interface.
>
>I do not understand why this is happening.
>
>Some examples of commands I tried to run through command prompt-
>
>./check_nt -H machine1 -v UPTIME
>
>./check_nt -H machine1 -v SERVICESTATE -l MSSQLSERVER
>
>Although the same command is defined in services.cfg and it is giving
>the right output in web interface.

Can you send me exactly what is defined in your configuration files (host, 
service and command) and the tests you did in command line with the result ? 
Normally the result should be the same in command line than what Nagios do.

Regards,

Florent
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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