I am encountering the plugin error for all hosts enrolled in my checkmk instance. This was working fine and we haven’t really done anything on the server for long. Some searches on this error seems to denote of a problem with file permissions, but I’ve checked those and dont seem to have a problem there.
/opt/omd/versions/1.4.0p34.cre/lib/nagios/plugins
-rwsr-x—. 1 root omd 225640 Jun 13 2018 check_icmp*
-rwsr-x—. 1 root omd 202584 Jun 13 2018 check_dhcp*
We have connectivity working fine and check_mk -d (or) check_mk -nv on the hosts is returning data perfectly. Its only the host state which is shown as DOWN. Can you please direct me to what else can be checked? Thanks
OMD[checkmk]:~$ lq “GET hosts\nColumns: name address state plugin_output\nFilter: name = myhost”
myhost;10.xx.xx.xx;1;(Return code of 126 is out of bounds - plugin may be missing)
OMD[checkmk]:~$
Guess what it was indeed permission issue like what every other blog mentioned. Even though the permission was as per the requirement, something was preventing it from running on omd group user.
So the solution was to give it a more liberal permission as below:
-rwsr-xr-x. 1 root omd 225640 Jun 13 2018 check_icmp*
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.