I am trying to just monitor the size of a single database. This is the first I've tried it. I am getting the error seen in the attachment.
Advice?
SQL Database Monitor
-
lance.peterson
- Posts: 64
- Joined: Wed Aug 05, 2015 11:10 am
SQL Database Monitor
You do not have the required permissions to view the files attached to this post.
Re: SQL Database Monitor
Hey Lance!
Can you please let us know what plug-in you are running to configure this check?
What is the exact check command you are running to return this message? You can see this by navigating to Configure in the header > clicking Core Config Manager under Advanced Configuration on the left pane > then Services under the Monitoring section > and then clicking the wrench next to the service in question to see the Check command and associated arguments.
It would help us greatly if you could also test the check command from the command line, as it will return more detailed information about what's going on. Instructions on how to do so are outlined in the following linked article.
ref: https://support.nagios.com/kb/article.php?id=167
Can you please let us know what plug-in you are running to configure this check?
What is the exact check command you are running to return this message? You can see this by navigating to Configure in the header > clicking Core Config Manager under Advanced Configuration on the left pane > then Services under the Monitoring section > and then clicking the wrench next to the service in question to see the Check command and associated arguments.
It would help us greatly if you could also test the check command from the command line, as it will return more detailed information about what's going on. Instructions on how to do so are outlined in the following linked article.
ref: https://support.nagios.com/kb/article.php?id=167
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!
-
lance.peterson
- Posts: 64
- Joined: Wed Aug 05, 2015 11:10 am
Re: SQL Database Monitor
I used the MSSQL Database Wizard when I created this.
Attached is a screenshot of that screen. If I didn't get everything you needed there please let me know.
I also included the check command but it appears I may have done it incorrect.
Let me know what would be next.
Attached is a screenshot of that screen. If I didn't get everything you needed there please let me know.
I also included the check command but it appears I may have done it incorrect.
Let me know what would be next.
You do not have the required permissions to view the files attached to this post.
Re: SQL Database Monitor
It is also possible that certain characters are being misinterpreted. You may be able to sidestep this by escaping a certain character with another, or defining certain strings as macros instead of writing them out in the command.
Please refer to the following linked article for more information on this.
https://support.nagios.com/kb/article.php?id=580
Please refer to the following linked article for more information on this.
https://support.nagios.com/kb/article.php?id=580
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!
Re: SQL Database Monitor
It looks like you entered a value for the second argument, but did not put it in the command. What happens if you try including the text from the second argument in the first one, or call the second argument in the command?
What output do you get when you run the following commands on your XI server? It may help to see if the command works without using macros.
What output do you get when you run the following commands on your XI server? It may help to see if the command works without using macros.
Code: Select all
su - nagios
/usr/local/nagios/libexec/check_mssql_database.py -H [host IP address] [argument one and two]
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!