On Jul 29, 2009, at 4:33 PM, Mirza Dedic wrote: > The check_mssql.pl is from the op5 dev team as per the start of the > file: > > # License: GPL > # Copyright (c) 2005-2008 op5 AB > # Author: op5 dev team <[email protected]> > # > # For direct contact with any of the op5 developers send a mail to > # [email protected] > # Discussions are directed to the mailing list [email protected], > # see http://lists.op5.com/mailman/listinfo/op5-users > > My Command/Service definition is: > > define command{ > command_name van-sql01_DB_Test > command_line $USER1$/check_mssql -H van-sql01 -U USER -P > PASSWD -o -D Test > }
Does using a FQDN for -H help here? Also try changing the command line to capture standard out -- command_line $USER1$/check_mssql -H van-sql01.somedomain.com -U USER -P PASSWD -o -D Test 2>&1 or command_line $USER1$/check_mssql -H van-sql01.somedomain.com -U USER -P PASSWD -o -D Test 2>/tmp/error.log -- Marc ------------------------------------------------------------------------------ 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 [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
