I have been working on setting up a new check_mk server using a chef recipe.
Version RAW 1.2.8p3
One thing I have run into is after doing a bulk load of my hosts, I see that the PING check is failing. I can run a diagnostic test from the server and it can ping the hosts, and I can run a ping from the
command line from the check_mk server to the hosts. I have tried to make the check_icmp file executable but this seems to make no affect on the ping check.
What script is controlling this ping check from the check_mk server? All the added hosts are showing DOWN but many are showing services green and are able to access the servers to check the host services.
Here is the message from the GUI
(Return code of 126 is out of bounds - plugin may not be executable)
Best Regards,
Kevin Comer
System Engineer/DevOps
Hi Kevin,
usually check_icmp is used. Is your check_icmp owned by root and has setuid bit set?
$ ls -l /omd/sites/omddev/lib/nagios/plugins/check_icmp
-rwsr-xr-- 1 root omd 57784 Jun 6 16:40 /omd/sites/omddev/lib/nagios/plugins/check_icmp
HTH,
Marcel
···
Kevin Comer Kevin.Comer@equifax.com schrieb am Fr., 2. Sep. 2016 um 19:37 Uhr:
I have been working on setting up a new check_mk server using a chef recipe.
Version RAW 1.2.8p3
One thing I have run into is after doing a bulk load of my hosts, I see that the PING check is failing. I can run a diagnostic test from the server and it can ping the hosts, and I can run a ping from the
command line from the check_mk server to the hosts. I have tried to make the check_icmp file executable but this seems to make no affect on the ping check.
What script is controlling this ping check from the check_mk server? All the added hosts are showing DOWN but many are showing services green and are able to access the servers to check the host services.
Here is the message from the GUI
(Return code of 126 is out of bounds - plugin may not be executable)
Best Regards,
Kevin Comer
System Engineer/DevOps
This message contains proprietary information from Equifax which may be confidential. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you
have received this transmission in error, please notify by e-mail postmaster@equifax.com. Equifax® is a registered trademark of Equifax Inc. All rights reserved.
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Marcel,
Thank You I will check that out but also noticed I have been looking in this directory.
/omd/sites/test/share/check_mk/checks
-rw-r–r–. 1 root root 2475 Apr 1 14:35 check_icmp
Which Directory would be correct for setting up new plugins? everything I have been working with was in the share location. I am using RAW 1.2.8p3 for testing will update to the latest
once I’m ready with all my recipes.
In my test site directory you mentioned it has the correct permissions.
-rwsr-x—. 1 root omd 189995 Jun 2 18:11 check_icmp
btw I rebuilt the site again and now it is working, not sure what happened to the other at one point it was working, but I have been in there doing a lot so who knows.
Thank you,
···
From: Marcel Schulte schulte.marcel@gmail.com
Date: Saturday, September 3, 2016 at 1:33 PM
To: Kevin Comer Kevin.Comer@equifax.com, “checkmk-en@lists.mathias-kettner.de” checkmk-en@lists.mathias-kettner.de
Subject: [IE] Re: [Check_mk (english)] PING Check
Hi Kevin,
usually check_icmp is used. Is your check_icmp owned by root and has setuid bit set?
$ ls -l /omd/sites/omddev/lib/nagios/plugins/check_icmp
-rwsr-xr-- 1 root omd 57784 Jun 6 16:40 /omd/sites/omddev/lib/nagios/plugins/check_icmp
HTH,
Marcel
Kevin Comer Kevin.Comer@equifax.com schrieb am Fr., 2. Sep. 2016 um 19:37 Uhr:
I have been working on setting up a new check_mk server using a chef recipe.
Version RAW 1.2.8p3
One thing I have run into is after doing a bulk load of my hosts, I see that the PING check is failing. I can run a diagnostic test from the server
and it can ping the hosts, and I can run a ping from the command line from the check_mk server to the hosts. I have tried to make the check_icmp file executable but this seems to make no affect on the ping check.
What script is controlling this ping check from the check_mk server? All the added hosts are showing DOWN but many are showing services green and
are able to access the servers to check the host services.
Here is the message from the GUI
(Return code of 126 is out of bounds - plugin may not be executable)
Best Regards,
Kevin Comer
System Engineer/DevOps
This message contains proprietary information from Equifax which may be confidential. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions
are prohibited. If you have received this transmission in error, please notify by e-mail
postmaster@equifax.com. Equifax® is a registered trademark of Equifax Inc. All rights reserved.
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en