[Nagiosplug-devel] Help, MSSQL Plugin needed

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Nov 14 01:07:52 CET 2007


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

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).

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

iD8DBQFHOjxY6dZ+Kt5BchYRAivhAJ9hZ0a0FAfoRnVMLB2sRKsq4uKfGACgueCP
iqpDqx6F6D1AzmOw0sKm9wE=
=XrzZ
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_mssql
URL: <http://nagios-plugins.org/archive/devel/attachments/20071113/63c40eb2/attachment.ksh>


More information about the Devel mailing list