Re: [omd-users] Moving omd to another location

2016-09-21 Thread Werner Flamme
tmy...@wellsfargo.com [20.09.2016 15:51]:
> 
> After the change and a site restart, I am getting:
> 
>   Return code of 126 is out of bounds - plugin may be missing
> 
> -rwsr-x--- 1 root root 179396 Sep 19 17:10 check_icmp

My check_icmp belongs to group omd, not to group root. And my site user
is member of goup omd, not of group root. So either you do a chgrp on
check_icmp, or you add your site user to the root group.

Werner

-- 



smime.p7s
Description: S/MIME Cryptographic Signature
___
omd-users mailing list
omd-users@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/omd-users


Re: [omd-users] Moving omd to another location

2016-09-20 Thread TMyers

After the change and a site restart, I am getting:

Return code of 126 is out of bounds - plugin may be missing

-rwsr-x--- 1 root root 179396 Sep 19 17:10 check_icmp


Tom 


-Original Message-
From: omd-users-boun...@lists.mathias-kettner.de 
[mailto:omd-users-boun...@lists.mathias-kettner.de] On Behalf Of Werner Flamme
Sent: Tuesday, September 20, 2016 8:59 AM
To: omd-users@lists.mathias-kettner.de
Subject: Re: [omd-users] Moving omd to another location

tmy...@wellsfargo.com [20.09.2016 14:43]:
> Hello,
> 
> OMD Version 1.30
> RHEL 6
> 
> 
> I followed the FAQ instructions:  "Moving omd to another location than 
> /opt/omd".  After the move and updating the sym links, OMD starts up as 
> expected but my host checks are failing with the following error:
> 
> check_icmp: Failed to obtain ICMP socket: Operation not permitted
> 
> I have researched and found several posts about this but I am not able 
> resolve the issue.  Can anyone provide a solution?

The binary check_icmp mus be set suid root (chmod u+s). For me, that is

ls -l /opt/omd/sites/MY/lib/nagios/plugins/check_icmp

-rwsr-x--- 1 root omd  186157  4. Jun 12:50 check_icmp

HTH, Werner

-- 


___
omd-users mailing list
omd-users@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/omd-users


Re: [omd-users] Moving omd to another location

2016-09-20 Thread Werner Flamme
tmy...@wellsfargo.com [20.09.2016 14:43]:
> Hello,
> 
> OMD Version 1.30
> RHEL 6
> 
> 
> I followed the FAQ instructions:  "Moving omd to another location than 
> /opt/omd".  After the move and updating the sym links, OMD starts up as 
> expected but my host checks are failing with the following error:
> 
> check_icmp: Failed to obtain ICMP socket: Operation not permitted
> 
> I have researched and found several posts about this but I am not able 
> resolve the issue.  Can anyone provide a solution?

The binary check_icmp mus be set suid root (chmod u+s). For me, that is

ls -l /opt/omd/sites/MY/lib/nagios/plugins/check_icmp

-rwsr-x--- 1 root omd  186157  4. Jun 12:50 check_icmp

HTH, Werner

-- 




smime.p7s
Description: S/MIME Cryptographic Signature
___
omd-users mailing list
omd-users@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/omd-users