Build precise queries to find exactly what you need
Press ESC to close
Hi Scoot,
Im trying to monitoring deadlocks of a SQL server,
When im execute ./check_mssql_server.py -H myIP -U myuser -P mypass the command works fine, but when Im use the –deadlock the command respond to me with this fail.. can you help me please ??
./check_mssql_server.py -H myIP -U myuser -P mypass –deadlocks –warning 20 –critical 30
the result is
Traceback (most recent call last): File “./check_mssql_server.py”, line 464, in main() File “./check_mssql_server.py”, line 430, in main execute_query(mssql, options, host) File “./check_mssql_server.py”, line 443, in execute_query mssql_query.do(mssql) File “./check_mssql_server.py”, line 282, in do self.run_on_connection(connection) File “./check_mssql_server.py”, line 269, in run_on_connection self.query_result = cur.fetchone()[0] TypeError: ‘NoneType’ object has no attribute ‘__getitem__’ root@Nagios:/usr/local/nagios/libexec#
thanks in advance,
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!