Hi,
I'm monitoring MS-SQL database in NagiosXI. I'm using check_mssql_health plugin to monitor the requested services of MS-SQL database.
After successful installation and configuration of Perl module DBD::Sybase. I'm trying to monitor the databases from cmd its working and giving the output. But the same thing when I'm trying to monitor from NagiosXI GUI after the creation of command. I'm getting critical error.
Pls, find the error below.
CRITICAL: could not load perl module DBD::Sybase.
Pls, find the attached documents which show the output from CMD and GUI.
MS-SQL database monitoring issue.
MS-SQL database monitoring issue.
You do not have the required permissions to view the files attached to this post.
Re: MS-SQL database monitoring issue.
That looks like it could be an issue of the nagios user not having access to DBD::Sybase. When you're running the command at the terminal, you're running it as root, so it would have to try pretty hard to fail. At the terminal, try,
And then run your check command. I bet it fails. Which means we'll have to take a look at the Perl modules directory to see if there's a permissions issue or something.
Code: Select all
su - nagiosAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: MS-SQL database monitoring issue.
Hi mbellerue,
Yes you r right I tried to run same command from Nagios user and getting same error.
I have given permission on DBD-Sybase-1.15 directory for Nagios user.
But after assigned full permission also I'm getting same error.
Need your help to fix the issue.
Yes you r right I tried to run same command from Nagios user and getting same error.
I have given permission on DBD-Sybase-1.15 directory for Nagios user.
But after assigned full permission also I'm getting same error.
Need your help to fix the issue.
Re: MS-SQL database monitoring issue.
Okay, can you post the path to the DBD-Sybase-1.15 directory? What OS and version is this?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!