SQL Database Check
Posted: Fri Dec 08, 2017 7:28 am
Hi,
We have setup Nagios XI 5.4.10 on a REDHAT environment.
We are trying to monitor SQL databases. So we created an account as seen in https://assets.nagios.com/downloads/nag ... 1512636088
Next we started the MSSQL Wizard for databases all the service states show UNKNOWN. But when I check one State manually it is OK. See below:
Run Check Command:
[nagios@xxxx ~]$ /usr/local/nagios/libexec/check_mssql_database.py -H SERVER -U 'DOMAIN\USERACCOUNT' -P 'PASSWORD' -T 'CM_PS1' -p 1433 -w 10 -c 20 OK: Time to connect was 0.0143220424652s|time=0.0143220424652s;10;20;;
Operations Center View:
Host Service Status Duration Attempt Last Check Status Information
SQL-DB-CM_PS1 CM_PS1 MSSQL Active Transactions Unknown 22m 23s 5/5 2017-12-08 13:12:01 <empty>
We have setup Nagios XI 5.4.10 on a REDHAT environment.
We are trying to monitor SQL databases. So we created an account as seen in https://assets.nagios.com/downloads/nag ... 1512636088
Next we started the MSSQL Wizard for databases all the service states show UNKNOWN. But when I check one State manually it is OK. See below:
Run Check Command:
[nagios@xxxx ~]$ /usr/local/nagios/libexec/check_mssql_database.py -H SERVER -U 'DOMAIN\USERACCOUNT' -P 'PASSWORD' -T 'CM_PS1' -p 1433 -w 10 -c 20 OK: Time to connect was 0.0143220424652s|time=0.0143220424652s;10;20;;
Operations Center View:
Host Service Status Duration Attempt Last Check Status Information
SQL-DB-CM_PS1 CM_PS1 MSSQL Active Transactions Unknown 22m 23s 5/5 2017-12-08 13:12:01 <empty>