my define service
define service{
use generic-service
host_name BTP
service_description SQL
check_command check_mssql_database.py -H BTP -U nagios -P XXXX -T XXXXXX -p 1433 --cpu -w 50 -c 80
}
not working , can someone give me an example of how to define correctly the service of this plugins?
mssql_server.py
Thanks
mssql_server.py define service not work
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: mssql_server.py define service not work
You need to define a command. This documentation provides an example:
https://assets.nagios.com/downloads/nag ... ndows.html
Please refer to the section "Create the check command definition"
https://assets.nagios.com/downloads/nag ... ndows.html
Please refer to the section "Create the check command definition"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: mssql_server.py define service not work
Also, definitely keep this link around. This document contains all of the information you need to define every type of object in Nagios Core. Complete with examples.
https://assets.nagios.com/downloads/nag ... tions.html
https://assets.nagios.com/downloads/nag ... tions.html
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!