Nagios Core Check_mssql_health
Posted: Fri Apr 07, 2017 3:23 am
Hi All,
Facing issue while configuring Check_mssql_health plugin on following.
OS-CentOS Linux release 7.2.1511 (Core)
Nagios - Nagios Core 4.2.1
check_mssql_healt - check_mssql_health $Revision: 2.6.4.7 $ [http://labs.consol.de/nagios/check_mss_health]
-----------------------------------------------------------------------------------------------
While executing following command using root and nagiosn users, on command line it is giving correct output. but on nagios configuration it is giving error.
Command-
./check_mssql_health --server DBNAME --mode connection-time --username 'USERNAME --password 'PASSWORD' --commit
Result
OK - 0.01 seconds to connect as USERNAME | 'connection_time'=0.01;1;5;;
Nagios Error
Service State Information
Current Status: CRITICAL (for 1d 11h 3m 10s)
Status Information: CRITICAL - DBD::Sybase initialisation failed: Can't locate object method "driver" via package "DBD::Sybase" at /usr/lib64/perl5/vendor_perl/DBI.pm line 820.
Perhaps the capitalisation of DBD 'Sybase' isn't right. at /usr/local/nagios/libexec/check_mssql_health line 6245.
Plesase help to get this fixed, I have already spent time to get this fixed.
Thanks in advance.
Regards,
Milind Chafekar.
Facing issue while configuring Check_mssql_health plugin on following.
OS-CentOS Linux release 7.2.1511 (Core)
Nagios - Nagios Core 4.2.1
check_mssql_healt - check_mssql_health $Revision: 2.6.4.7 $ [http://labs.consol.de/nagios/check_mss_health]
-----------------------------------------------------------------------------------------------
While executing following command using root and nagiosn users, on command line it is giving correct output. but on nagios configuration it is giving error.
Command-
./check_mssql_health --server DBNAME --mode connection-time --username 'USERNAME --password 'PASSWORD' --commit
Result
OK - 0.01 seconds to connect as USERNAME | 'connection_time'=0.01;1;5;;
Nagios Error
Service State Information
Current Status: CRITICAL (for 1d 11h 3m 10s)
Status Information: CRITICAL - DBD::Sybase initialisation failed: Can't locate object method "driver" via package "DBD::Sybase" at /usr/lib64/perl5/vendor_perl/DBI.pm line 820.
Perhaps the capitalisation of DBD 'Sybase' isn't right. at /usr/local/nagios/libexec/check_mssql_health line 6245.
Plesase help to get this fixed, I have already spent time to get this fixed.
Thanks in advance.
Regards,
Milind Chafekar.