Mssql wizard configure nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Mssql wizard configure nagiosxi

Post by mejokj »

Hi Team,

We are getting below error while adding mssql server using mssql wizard

Kindly suggest us on this issue?

root@NAGIOSXI ~]# /usr/local/nagios/libexec/check_mssql_server.php -H example.com --checktype 'database' -U 'nagios' -P 'Nagi0s123' --instancename 'Test' --perftype default -I 'test' -p 1433 --mode time2connect --warning 30 --critical 60

ERROR: [run_check] CRITICAL: Could not connect to odbc:Driver=FreeTDS;Server=example.com\Test as nagios (Exception: SQLSTATE[08S01] SQLDriverConnect: 20009 [FreeTDS][SQL Server]Unable to connect: Adaptive Server is unavailable or does not exist)

CRITICAL: Could not connect to odbc:Driver=FreeTDS;Server=example.com\test as nagios (Exception: SQLSTATE[08S01] SQLDriverConnect: 20009 [FreeTDS][SQL Server]Unable to connect: Adaptive Server is unavailable or does not exist
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Mssql wizard configure nagiosxi

Post by cdienger »

Per https://support.nagios.com/kb/article/n ... d-735.html, edit /etc/freetds.conf and set this line:

Code: Select all

tds version = 7.2
and then test again and let us know your results. Please provide a copy of the freetds.conf file if you still have issues.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked