Package: collectd Version: 4.10.1-2.1 Severity: minor Hi.
Collectd's pluging 'ping' currently sends 64 bytes of additional content in ICMP packets, this gives about 84 octets in size of packets. On many types of networks sending small packets is not best way to measure network delay or conectivity. For example in wireless networks, small packets have much smaller probability of being corrupted, thus using small ping packets will give as false positive information about good conectivity, even when in the same time all other traffic (i.e. TCP) will not work. So i wanted to use about 1100 bytes packets by default (or 1440 as it is pretty common MTU on ethernet and wifi), but I cannot do this in collectd currently. Manual page of collectd.conf does not mention about any such parameter. Normal ping utility have parameter '-s packetsize', exactly for this purpose. It should be very simple change to add this to the ping plugin. Expose additional parameter with PacketSize with values in range 0-65507, allocate bigger buffers, and initialize them with some simple pattern. It should be actually be very easy because AFAIK collectd's ping uses liboping library, and it exposes many other functionalities. For example other usefull option is seting "not fragment" flag in IP packet. Regards, Witek -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.utf8) Shell: /bin/sh linked to /bin/dash Versions of packages collectd depends on: ii collectd-core 4.10.1-2.1 statistics collection and monitori ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii librrd4 1.4.3-1 time-series data storage and displ Versions of packages collectd recommends: ii iptables 1.4.10-1 administration tools for packet fi ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra ii libcurl3-gnutls 7.21.3-1 Multi-protocol file transfer libra ii libdbi0 0.8.3+really0.8.2-1 Database Independent Abstraction L ii libdbus-1-3 1.2.24-4 simple interprocess messaging syst ii libdbus-glib-1-2 0.88-2.1 simple interprocess messaging syst ii libesmtp6 1.0.6-1 LibESMTP SMTP client library ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime libr ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface ii libhal1 0.5.14-3 Hardware Abstraction Layer - share pn libmemcached5 <none> (no description available) ii libmysqlclient16 5.1.49-3 MySQL database client library ii libnotify1 [libnotif 0.5.0-2 sends desktop notifications to a n ii libopenipmi0 2.0.16-1.2 Intelligent Platform Management In ii liboping0 1.4.0-1 C/C++ library to generate ICMP ECH ii libpango1.0-0 1.28.3-1+squeeze1 Layout and rendering of internatio ii libpcap0.8 1.1.1-2 system interface for user-level pa ii libperl5.10 5.10.1-17 shared Perl library ii libpq5 9.0.3-1 PostgreSQL C client library ii libprotobuf-c0 0.14-1 Protocol Buffers C library ii libpython2.6 2.6.6-8+b1 Shared Python runtime library (ver ii librrd4 1.4.3-1 time-series data storage and displ ii libsensors4 1:3.1.2-6 library to read temperature/voltag ii libsnmp15 5.4.3~dfsg-2 SNMP (Simple Network Management Pr ii libssl0.9.8 0.9.8o-4 SSL shared libraries pn libtokyotyrant3 <none> (no description available) ii libupsclient1 2.4.3-2 network UPS tools - client library ii libvirt0 0.8.3-5 library for interfacing with diffe ii libxml2 2.7.8.dfsg-2 GNOME XML library ii libyajl1 1.0.8-1 Yet Another JSON Library collectd suggests no packages. -- Configuration Files: /etc/collectd/collectd.conf changed [not included] -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org