[Nagiosplug-help] plugin http log error + check_mssql

Guyard Marc guyard at idm.fr
Thu Apr 28 07:09:02 CEST 2005


Ok i test this but is long because i've 2 message error by hours 
approximatly
Thanks.
You have a idea for my sql plugin problem?

Mohanty, Amitabh (Corporate, consultant) a écrit :

>Please try the following
>
>define command{
>        command_name    check_http1
>        command_line    $USER1$/check_http -H $ARG1$ -p $ARG1$
>        }
>in services
>define service{
>        use                             generic-service         ; Name of service template to use
>        host_name                       IDM_RND
>        service_description             HTTP www.site.fr
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           3
>        retry_check_interval            1
>        contact_groups                  admin_idm
>        notification_interval           120
>        notification_period             24x7
>        notification_options            w,u,c,r
>        check_command                   check_http1!www.site.fr!80
>        }
>
>-----Original Message-----
>From: nagiosplug-help-admin at lists.sourceforge.net
>[mailto:nagiosplug-help-admin at lists.sourceforge.net]On Behalf Of Guyard
>Marc
>Sent: Thursday, April 28, 2005 9:50 AM
>To: nagiosplug-help at lists.sourceforge.net
>Subject: [Nagiosplug-help] plugin http log error + check_mssql
>
>
>Hi,
>
>I've a problem with two plungin. The first is the http plugin who don't 
>have problem when it check but in the log i've this error :
>
>check_http: Unknown argument - (null)
>
>in checkcommand i've :
>
>define command{
>        command_name    check_http1
>        command_line    $USER1$/check_http -H $ARG1$
>        }
>in services
>define service{
>        use                             generic-service         ; Name of service template to use
>        host_name                       IDM_RND
>        service_description             HTTP www.site.fr
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           3
>        retry_check_interval            1
>        contact_groups                  admin_idm
>        notification_interval           120
>        notification_period             24x7
>        notification_options            w,u,c,r
>        check_command                   check_http1!www.site.fr
>        }
>
>I've you a idea?
>
>And my second problem is with check_mssql.sh ( sql plugin )
>I've placed this file in libexec and when i test with this command:
>./check_mssql.sh server_sql user passwd sql_version
>
>i've this error :
>CRITICAL - Could not make connection to SQL server. Incorrect server name or SQL service not running.
>
>But i'm sure that sql server work correctly because i've many site who works and who used this sql server.
>PS :I've installed the FreeTDS.
>
>
>I've you a idea??
>
>Thansk
>Marc
>
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by: Tell us your software development plans!
>Take this survey and enter to win a one-year sub to SourceForge.net
>Plus IDC's 2005 look-ahead and a copy of this survey
>Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
>_______________________________________________
>Nagiosplug-help mailing list
>Nagiosplug-help at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>::: Please include plugins version (-v) and OS when reporting any issue. 
>::: Messages without supporting info will risk being sent to /dev/null
>
>
>  
>




More information about the Help mailing list