mssql_server.py define service not work

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Auel
Posts: 6
Joined: Wed Feb 19, 2020 7:37 am

mssql_server.py define service not work

Post by Auel »

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
User avatar
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

Post by Box293 »

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"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: mssql_server.py define service not work

Post by mbellerue »

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
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!
Locked