check_mssql_health
Posted: Mon Apr 04, 2016 9:44 am
I'm trying to install the plugin check_mssql_health since it allows monitoring of SQL server backup age, which I don't think the built-in checks can do.
The installation completes fine, but when I attempt to run manually from the command line I encounter the following errors. Seems that a perl module is missing but google is coming up blank for me. I figure at least a few people must be utilizing this plugin on XI, how did you get it working? I also want to avoid doing anything that will break the included MSSQL checks since I will still be using those for other things.
The installation completes fine, but when I attempt to run manually from the command line I encounter the following errors. Seems that a perl module is missing but google is coming up blank for me. I figure at least a few people must be utilizing this plugin on XI, how did you get it working? I also want to avoid doing anything that will break the included MSSQL checks since I will still be using those for other things.
Code: Select all
[root@nagiosxi libexec]# ./check_mssql_health --hostname=10.131.100.3 --username=test --password=test --mode=database-backup-age
CRITICAL - cannot connect to 10.131.100.3. install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (@INC contains: . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at (eval 19) line 3.
Perhaps the DBD::Sybase perl module hasn't been fully installed,
or perhaps the capitalisation of 'Sybase' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
at ./check_mssql_health line 3273