Page 2 of 2

Re: MS SQL Log Cache Hit Rate error

Posted: Fri Dec 18, 2015 4:45 pm
by rdobbsmacu
this is the output from that command

Usage: check_mssql_database.py -H hostname -U user -P password -T table --mode

check_mssql_database.py: error: --critical option requires an argument

Re: MS SQL Log Cache Hit Rate error

Posted: Mon Dec 21, 2015 12:09 pm
by Box293
Looks like we missed the critical value, sorry about that, try again with this:

Code: Select all

/usr/local/nagios/libexec/check_mssql_database.py -H xxx.xxx.xxx.xxx -U 'nagios' -P '<password>' -T 'ICS_NET' -I MSSQLSERVER --logcachehit --warning 0:95 --critical 0:97