[Nagiosplug-help] check_mssql.sh - (No output returned from plugin)

Alexander Brian C brianca at covantage.com
Wed Oct 27 12:55:22 CEST 2004


I have check_mssql.sh running fine from the command line, but I get (No
output returned from plugin) in the status information on Nagios.  The
status is OK, but the details are missing.

Here are some details:


COMMAND LINE: 

[nagios at bugs plugins]$ check_mssql.sh hubble nagios foo 2000 1433
OK - MS SQL Server 2000 has 15 user(s) connected:  12 covivr, 1 nagios,
2 maj.



COMMAND.CFG

# 'check_mssql.sh' command definition
define command{
        command_name    check_mssql
        command_line    /usr/lib/nagios/plugins/check_mssql.sh -S $ARG1$
-U $ARG2$ -P $ARG3$ $ARG4$ -p $ARG5$
        }



SERVICES.CFG



define service{
        use                             generic-service         ; Name
of service template to use

        host_name                       hubble
        service_description             SQL monitor
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command
check_mssql!hubble!nagios!foo!2000!1433
        register                        1
        }





What do you think?


-----This electronic message transmission, including any attachments, contains information from Covantage which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.

If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.


=====




More information about the Help mailing list