Plugin check_mssql.sh

Tom Welsh twelsh at square-box.com
Tue Jun 15 17:55:23 CEST 2004


Hi Gillardo,

Are you executing the plugin on the command line as the Nagios user? If not
that will be why it works one place and not the other.

Cheers

Tom Welsh



-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Giliardo
Carlos Freitas
Sent: 15 June 2004 14:24
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Plugin check_mssql.sh

Hello! 

I am using puglin check_mssql.sh to verify the status of a MS SqlServer. 
When i execute the plugin in the shell i get the follow message: 


>> OK - MS SQL Server 2000 has 21 user(s) connected: 9 xxxx, 1 xxxx, 2 xxx,
1 sa, 4 xxx, 2 xxxx, 2 xxx.

But in Nagios i get the follow message: 


>> OK - MS SQL Server 2000 has 0 user(s) connected.

This occur in all servers i tested. In nagios the number of users connected 
is not correct. Someone can help me? 

Giliardo 



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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





-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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