Closed rchekaluk closed 7 years ago
I'm closing this since this issue is ~3 years old. @rchekaluk if you're still having this issue, please re-open the issue or inform me and we will try and get it resolved!
Hi, I have the same problem and I don't know how to fix it. Can you help me please ? I have this error when I do my check : <type 'exceptions.TypeError'> Caught unexpected error. This could be caused by your sysperfinfo not containing the proper entries for this query, and you may delete this service check.
Thank you Bests Regards
What version of MSSQL are you checking again?
Sorry , I did'nt say it. It's MSSQL express 2016. Thank you for your help.
I didn't think it was an issue with 2016, but would you be able to change line 38-39 in your plugin to use sys.dm_os_performance_counters
instead of sys.sysperfinfo
and try it, and let me know if you get results instead of an empty counter?
Ok , I think I'm able change line 38-39 to use sys.dm_os_performance_counters. I will try it tomorrow morning because I don't have access to the server now. I will let you know the result. Thank you.
Hi, I changed lines 38-39 but I have the same error message : <type 'exceptions.TypeError'> Caught unexpected error. This could be caused by your sysperfinfo not containing the proper entries for this query, and you may delete this service check.
Thanks.
Receive the following error on Ubuntu 14.04, Python 2.7.6
After commenting out the final 4 lines of check_mssql_database.py, the exception is:
The solution mentioned in https://github.com/NagiosEnterprises/check_mssql_collection/issues/1#issuecomment-51666680 does not help, even after installing cython: