Page 1 of 1

MSSQL Mirroring check

Posted: Tue Aug 30, 2016 12:27 am
by sify_nagios
Hi Team,

I tried to implement the MSSQL Mirroring check plugin in my Nagios XI instance.
I got error stating that, Sysbase is't installed properly.

Please find the below error for your reference.

Code: Select all

[root@segment-119-227 libexec]# ./check_dbmirroring.pl -H 192.168.XXX.XXX -d instance -u testadmin -p password
install_driver(Sybase) failed: Can't locate DBD/Sybase.pm in @INC (@INC contains: /usr/local/nagios/libexec /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 3) 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, Oracle, Proxy, SQLite, Sponge, mysql.
 at ./check_dbmirroring.pl line 52
[root@segment-119-227 libexec]#
Link to plugin which i have tried.

https://exchange.nagios.org/directory/P ... ng/details

I suspect will it affect the existing setup anyhow.. Is it?
Please guide us on the same.

Thanks in advance.

Rgds
Srini

Re: MSSQL Mirroring check

Posted: Tue Aug 30, 2016 2:28 am
by Box293
Try:

Code: Select all

yum install perl-DBD-Sybase

Re: MSSQL Mirroring check

Posted: Tue Aug 30, 2016 2:41 am
by sify_nagios
Hi Troy,

Thanks for reply.

Yeah i have came across the same in some of the forums.
But My concern is whether it will affect the existing setup anyhow..?

However my team feels that instead of yum we can install the sysbase in CPAN.. Need your suggestion.

Regards
Srini

Re: MSSQL Mirroring check

Posted: Tue Aug 30, 2016 2:45 am
by Box293
Generally there shouldn't be an issue. I like using yum, others like using cpan.

If you're concerned then you should test on a dev server before trying in production.