I'm trying to get mssql_health_check plugin to work on my CentOS 7 server and installed the plugin as well as freetds.conf but no matter what i do every time i run the command it returns the following:
Code: Select all
./check_mssql_health -v --mode cpu-busy --hostname servername --username nagios --password xxxxxx
I tried to change from servername to hostname and also used IP address and no matter what i do it always gives the same critical error with no explanation of what's going on.
i added the following to freetds.conf:
# A typical Microsoft server
Code: Select all
[servername]
host=server IP
port = 1433
tds version = 8.0