check_mssql.sh plug-in

Tom DE BLENDE (GCC) Tom.DeBlende at dhl.com
Wed Aug 6 08:22:34 CEST 2003


Try this one:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contrib/check_mssql.sh

I had the same problem with the previous version using the latest 
FreeTDS version.

Sanderson, Andrew wrote:

> I am using the plug-in check_mssql.sh by calevans found at the 
> following location:-
>
>  
>
> http://sourceforge.net/tracker/?func=browse&group_id=29880&atid=541465 
> <http://sourceforge.net/tracker/?func=browse&group_id=29880&atid=541465>
>
>  
>
> I can successfully connect to a ms sql 2000 server however if the 
> database connection is unsuccessful the service state never changes 
> and still displays ok even though the status information shows unable 
> to connect.
>
>  
>
> I need nagios to display a critical service state should the database 
> connection fail.
>
>  
>
> Does anyone know what would cause this?
>
>  
>
> My check command is as follows.
>
>  
>
> define command{
>
>             command_name            check_mssql
>
>             command_line   $USER1$/./check_mssql.sh $hostaddress$ 
> username passwd
>
>             }
>
>  
>
> I am running nagios 1.1 on Rh9.
>
>  
>
> Thanks in advance
>
>  
>
> Andy Sanderson.
>
>  
>
>  
>
>  
>
>  
>




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list