Running OMD 1.10 with Check_MK trying to monitor MSSQL on a Windows Server.
To configure a check I went to WATO – Host & Service Parameters -> Active Checks -> Check SQL Database
Add a new check and configure the appropriate config (Type, name, user, pass, sql-statement) and enable Performance Data.
However this was throwing the error ‘Return code of 127 is out of bounds – plugin may be missing’.
This fix for this was to copy /opt/omd/versions/default/share/doc/check_mk/treasures/active_checks/check_sql to /opt/omd/sites/YOURSITE/lib/nagios/plugins
Then add the execute permission to it (chmod +x check_sql).
Total Views: (4283)