Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Hello,
In http://support.nagios.com/forum/viewtopic.php?f=16&t=21791 I’ve mentioned a bug. Another issue in the check_mssql_database.py we noticed is that
[code]’datasize’ : { ‘help’ : ‘Database Size’, ‘stdout’ : ‘Database size is %sKB’, ‘label’ : ‘KB’, ‘query’ : BASE_QUERY % ‘Log Growths’, ‘type’ : ‘standard’ },[/code]
In fact does the same as
[code]’loggrowths’ : { ‘help’ : ‘Log Growths’, ‘stdout’ : ‘Log Growths is %s’, ‘label’ : ‘log_growths’, ‘query’ : BASE_QUERY % ‘Log Growths’, ‘type’ : ‘standard’ },[/code]
So we changed this manually to
[code]’datasize’ : { ‘help’ : ‘Database Size’, ‘stdout’ : ‘Database size is %sKB’, ‘label’ : ‘KB’, ‘query’ : BASE_QUERY % ‘Data File(s) Size (KB)’, ‘type’ : ‘standard’ },[/code]
After which we got the corrrect DB Size. Maybe you can investigate this and if you agree, update the check_mssql_database.py plugin?