The wizard version is 1.51 and is shown as "up to date".
I have done this command
/usr/local/nagios/libexec/check_mssql_database.py -H 172.16.1.51 -U 'sa' -P 'XXXXXXX' -T 'master' -I NI01 --test
With this result
logshrinks passed!
logfileusage passed!
logwait passed!
transpec failed with: 'MSSQLDeltaQuery' object has no attribute 'table'
datasize passed!
activetrans passed!
logflushes failed with: 'MSSQLDeltaQuery' object has no attribute 'table'
logcachehit passed!
loggrowths passed!
logtruncs passed!
2/10 tests failed.
The same command on another database:
[root@arlnij-rhn01 ~]# /usr/local/nagios/libexec/check_mssql_database.py -H 172.16.1.51 -U 'sa' -P 'XXXXXXX' -T 'consulinkv4' -I NI01 --test
logshrinks failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
logfileusage failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
logwait failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
transpec failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
datasize failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
activetrans failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
logflushes failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
logcachehit failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
loggrowths failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
logtruncs failed with: SQL Server message 208, severity 16, state 1, line 1:
Invalid object name 'sysperfinfo'.
DB-Lib error message 208, severity 16:
General SQL Server error: Check messages from the SQL Server
10/10 tests failed.
It works on the master database but not on any other. I have used the sa user so access rights shouldn't be the issue.
The only thing working on all databases is --time2connect option.
Can you show me an example (and the result) of the --test option on a database other than master?
Another thing i stumbled accross an issue from October 2013.(
http://support.nagios.com/forum/viewtop ... 16&t=21791)
This describes a bug in the plugin that causes the --datasize option to do the same thing as the loggrowths option.
The bug is still there. I think this is strange because the solution is in that thread also. (I have tested it and it works)
Since the wizard is installed as a supported element along with NagiosXI I would expect that this problem had been resolved, or at least a warning about this behaviour.
Are the supported plugins checked before they are bundled with NagiosXI?