[collectd] ping_host_add operation not permitted

Simon Schneider simon.schneider at fhe3.com
Tue May 13 10:32:50 CEST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

see http://collectd.org/faq.shtml

I try to use the ping-plugin, but keep getting the message
"`ping_host_add' failed.". What's the matter?
In order to generate ICMP packets one needs to open a so called "RAW
socket". On most UNIX systems only the superuser (root) may open such
sockets.
In addition, some virtualization environments, such as VServer and
Solaris Zones have been reported to cause some trouble.

Regards
Simon

Am 12.05.2014 20:12, schrieb ryanL:
> what am i doing wrong here? centos 6.3 system.
> 
> May 12 17:59:40 fsal2 collectd[16688]: Initialization complete,
> entering read-loop. May 12 17:59:40 fsal2 collectd[16688]: ping
> plugin: ping_host_add (<removed>) failed: Operation not permitted 
> May 12 17:59:40 fsal2 collectd[16688]: ping plugin: No host could
> be added to ping object. Giving up. May 12 17:59:52 fsal2
> collectd[16688]: ping plugin: The ping thread had a problem.
> Restarting it. May 12 17:59:52 fsal2 collectd[16688]: read-function
> of plugin `ping' failed. Will suspend it for 20.000 seconds. May 12
> 17:59:52 fsal2 collectd[16688]: ping plugin: ping_host_add 
> (<removed>) failed: Operation not permitted May 12 17:59:52 fsal2
> collectd[16688]: ping plugin: No host could be added to ping
> object. Giving up. May 12 18:00:10 fsal2 collectd[16688]: ping
> plugin: The ping thread had a problem. Restarting it. May 12
> 18:00:10 fsal2 collectd[16688]: read-function of plugin `ping' 
> failed. Will suspend it for 40.000 seconds. May 12 18:00:10 fsal2
> collectd[16688]: ping plugin: ping_host_add (<removed>) failed:
> Operation not permitted May 12 18:00:10 fsal2 collectd[16688]: ping
> plugin: No host could be added to ping object. Giving up.
> 
> 
> _______________________________________________ collectd mailing
> list collectd at verplant.org 
> http://mailman.verplant.org/listinfo/collectd
> 


- -- 
Simon Schneider


FHE3 GmbH
Leopoldstr. 5
76133 Karlsruhe

WEB: http://www.fhe3.com
FON: +49 721 83087 100

simon.schneider at fhe3.com

Amtsgericht Mannheim, HRB 702495
Geschäftsführer: Peter Eisenhauer, Michael Feger, Dimitrij Hilt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTcdiyAAoJECaG9lJvP8yzXD4P/iMpcT0Fd1K6bE9BiRUnOn+B
c99IrZx4RqJtfYz23aJkX2plAE+g10jez+OuHkK2rHRJ8YivzZ5EhoSpQvB4t+pe
GAd205ooiI7fYyLYHf8kFyeem2QasRb17D9Plups8PSVbbP/cO10tDcDjFcrAdkK
t3Bpz/UmS+7Sm05IoPEpSX6aDKdE691Yr8Hv+uys7V6iCHzrbgpc+PYmdg87tS4i
B2g2x0OgqVTKwEgrkdVBEllTfmPRiMvyHGG0YrwFB/BNeTlRoUqxgdct7zIpBP6m
MU2ZYS7gULPnaBc9sUeowr9LNWDjKIWl+hkWFfaRpcrdu4aB0amHmr1enw9gYwlP
/F2tY6z1IlQoi4A8BJHUXsAzgy8P8k8e2YnUxFmvUHT/bdJ+Aax5CfgE/EB0ZgM5
fIKIyAQakn8CcUvw/AVehgJ8+PfCxCnX7p+HzVwsmGV/67A0M+MOZP5R1VD/a9Ip
W+O2c4ajGCqoBXMjbSy8l43S/tO/aqXaoQfQ35pUw/zaBxX/C6UQqo51leWH3rUT
1CB8wA4W9ANAn/zjed+nvkwd5VRvoasvCvQQr6xc//Wh/50KPcTBU1OEUuIy+Z/Q
hvbkcWbGMOF31jgQ5pDMqM1Pe7o+TKBBebnFvt/I7AkQDQRebG3B+7tkmXbbkGkC
Jglzm7CROkCZvO4gsAUD
=Qg1B
-----END PGP SIGNATURE-----



More information about the collectd mailing list