Dear collected developers and users,

when I use the ping plugin configuration in the bottom of the e-mail I get some 
unexpected behaviour.

1) 

In syslog I get 
Nov 27 14:43:15 ibsen collectd[13914]: ping plugin: ping_host_add (11.255.3.1) 
failed: getaddrinfo: Address family for hostname not supported
Nov 27 14:43:15 ibsen collectd[13914]: ping plugin: ping_host_add (11.254.3.1) 
failed: getaddrinfo: Address family for hostname not supported
Nov 27 14:43:15 ibsen collectd[13914]: ping plugin: ping_host_add (11.255.1.1) 
failed: getaddrinfo: Address family for hostname not supported
Nov 27 14:43:15 ibsen collectd[13914]: ping plugin: ping_host_add (11.254.1.1) 
failed: getaddrinfo: Address family for hostname not supported
Nov 27 14:43:15 ibsen collectd[13914]: ping plugin: ping_host_add (11.255.3.1) 
failed: getaddrinfo: Address family for hostname not supported
Nov 27 14:43:15 ibsen collectd[13914]: ping plugin: ping_host_add (11.254.3.1) 
failed: getaddrinfo: Address family for hostname not supported
Nov 27 14:43:15 ibsen collectd[13914]: ping plugin: ping_host_add (11.255.1.1) 
failed: getaddrinfo: Address family for hostname not supported
Nov 27 14:43:15 ibsen collectd[13914]: ping plugin: ping_host_add (11.254.1.1) 
failed: getaddrinfo: Address family for hostname not supported

No data gets logged for IPv4 hosts. The IPv6 hosts get logged and no 
error-messages. 

If I remove the IPv6 hosts I get no error messages in syslog and data for al 
hosts get logged. 

2) 
In the output data there seems to be no separation between different 
source_addresses. 

I expected to get one metric for each source-destination combination. Is this 
not to be expected? Is there a way of  achieving it?

I would very much appreciate your input to this. Thank you. 

ping.conf  contents:
<Plugin ping>
SourceAddress "11.255.2.1"
Host "11.254.1.1"
Host "11.255.1.1"
Host "11.254.3.1"
Host "11.255.3.1"
</Plugin>
<Plugin ping>
SourceAddress "11.254.2.1"
Host "11.254.1.1"
Host "11.255.1.1"
Host "11.254.3.1"
Host "11.255.3.1"
</Plugin>
<Plugin ping>
SourceAddress "fd00:cafe:0:fe02::1"
Host "fd00:cafe:0:fe01::1"
Host "fd00:cafe:0:ff01::1"
Host "fd00:cafe:0:fe03::1"
Host "fd00:cafe:0:ff03::1"
</Plugin>
<Plugin ping>
SourceAddress "fd00:cafe:0:ff02::1"
Host "fd00:cafe:0:fe01::1"
Host "fd00:cafe:0:ff01::1"
Host "fd00:cafe:0:fe03::1"
Host "fd00:cafe:0:ff03::1"
</Plugin>


System information:
root@ibsen:~/tmp# aptitude show collectd
Package: collectd                        
State: installed
Automatically installed: no
Version: 4.10.1-2.1ubuntu7
Priority: optional
Section: universe/utils
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Uncompressed Size: 128 k
Depends: collectd-core, libc6 (>= 2.4), librrd4 (>= 1.3.0)
Recommends: libc6 (>= 2.7), libcurl3-gnutls (>= 7.16.2-1), libdbi1 (>= 0.8.4), 
libesmtp6, libgcrypt11 (>= 1.4.5), libglib2.0-0 (>= 2.12.0), libmemcached6 (>= 
0.44), libmysqlclient18 (>= 5.5.13-1), libnotify4 (>= 0.7.0), libopenipmi0, 
liboping0 (>= 0.3.3), libpcap0.8 (>= 0.9.8), libperl5.14 (>= 5.14.2), libpq5 
(>= 8.4~), libpython2.7
            (>= 2.7), librrd4 (>= 1.4~rc2), libsensors4 (>= 1:3.0.0), libsnmp15 
(>= 5.4.3~dfsg), libtokyotyrant3, libupsclient1 (>= 2.4.1), libvirt0 (>= 
0.3.2), libxml2 (>= 2.7.4), libyajl1 (>= 1.0.5)
Conflicts: collectd
Description: statistics collection and monitoring daemon
 collectd is a small daemon which collects system information periodically and 
provides mechanisms to monitor and store the values in a variety of ways. Since 
the daemon doesn't need to startup every time it wants to update the values 
it's very fast and easy on the system. Also, the statistics are very fine 
grained since the files are
 updated every 10 seconds by default. 
 
 The collected information can be used to find current performance bottlenecks 
(performance analysis) and predict future system load (capacity planning). 
 
 This package provides a full installation of the daemon, including the 
configuration. For the core system, see the "collectd-core" package, which 
allows sites to, e.g., provide customizations (like a custom default 
configuration) on top of it without having to modify the "collectd" package.
Homepage: http://collectd.org/

root@ibsen:~/tmp# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.3 LTS
Release:        12.04
Codename:       precise
root@ibsen:~/tmp# 

root@ibsen:~/tmp# uname -a 
Linux ibsen.beta.test 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux
root@ibsen:~/tmp# 

-- 
Best regards 
Jarle Bjørgeengen
Research engineer
Simula Research Laboratory





_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to