[Nagiosplug-devel] Help, MSSQL Plugin needed

Thomas Guyot-Sionnest dermoth at aei.ca
Fri Nov 16 00:19:59 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/11/07 07:07 PM, Thomas Guyot-Sionnest wrote:
> On 13/11/07 05:01 PM, valle at cimex.com.cu wrote:
>> Hi,
> 
>> I 've just start using nagios for monitoring my network services and
>> servers, And I've found it very versatile.
> 
>> Now, I need a plugin for monitoring the mssql service but I can't find
>> any... Could you please, help me on this..?
> 
> First you will need the FreeTDS library:
> 
> http://www.freetds.org/
> 
> Then you can either use the check_mssql.sh in the contrib/ directory of
> the Nagios-plugins package, or use the attached one that I wrote in Perl
> (Will require Time::HiRes, Nagios::Plugin and DBD::Sybase).
> 
> In any case see the comments in the header of my plug-in as you will
> likely need some special --configure options to FreeTDS (When I tested,
> setting the FreeTDS config just wasn't enough - I don't know why).

Hey I just realized server= and host= are not the same in DBD::Sybase.
If the plug-in always returns "CHECK_MSSQL CRITICAL" try this one instead.

I also uploaded it to NagiosExchange (Before I fount the error though),
so I will post further updates there.

http://www.nagiosexchange.org/Others.152.0.html?&tx_netnagext_pi1[p_view]=1150

Feel free to report issues or anything (directly to me).

Thanks,

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHPNQf6dZ+Kt5BchYRAsnAAJ449QbM9d6Mc/jG7CkQt0jH0gQmYACfQv3s
PWMHLeVd4EPj3+V6raXciqo=
=U2+G
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_mssql
URL: <http://nagios-plugins.org/archive/devel/attachments/20071115/dd25ad76/attachment.ksh>


More information about the Devel mailing list