[collectd] collectd-nagios problem ? Type "load" is unknown

Antoine Tremblay hexa00 at gmail.com
Mon Sep 20 16:29:41 CEST 2010


Hi,

  I'm having problems with collectd-nagios with version >=4.6 (tested 4.6.0
4.9.3 , 4.10.1)

/usr/local/collectd/bin/collectd-nagios -s /tmp/collectd.sock -H myhost -n
load/load
ERROR: Retrieving values from the daemon failed: Server error: Type `load"'
is unknown..

I get this for any value... but the directrories and rrd files are there.
and I can see the data with collection3...

Any ideas ?

Thanks a lot

Antoine

Unixsock conf :

LoadPlugin unixsock
<Plugin unixsock>
    SocketFile "/tmp/collectd.sock"
SocketGroup "nagios"
SocketPerms "0770"
</Plugin>

Here's my configure output :

Configuration:
  Libraries:
    libcurl . . . . . . . no (curl-config failed)
    libdbi  . . . . . . . no (dbi/dbi.h not found)
    libesmtp  . . . . . . no (libesmtp not found)
    libganglia  . . . . . no (gm_protocol.h not found)
    libgcrypt . . . . . . no (gcrypt.h not found)
    libiokit  . . . . . . no
    libiptc . . . . . . . yes (shipped version)
    libjvm  . . . . . . . no (jar not found)
    libkstat  . . . . . . no (Solaris only)
    libkvm  . . . . . . . no
    libmemcached  . . . . no (libmemcached/memcached.h not found)
    libmodbus . . . . . . no (pkg-config doesn't know library)
    libmysql  . . . . . . no (mysql_config failed)
    libnetapp . . . . . . no (netapp_api.h not found)
    libnetlink  . . . . . no (libnetlink.h not found)
    libnetsnmp  . . . . . no (net-snmp/net-snmp-config.h not found)
    libnotify . . . . . . no (No package 'libnotify' found)
    liboconfig  . . . . . yes (shipped version)
    libopenipmi . . . . . no (/usr/bin/pkg-config doesn't know
OpenIPMIpthread)
    liboping  . . . . . . no ('oping.h' not found)
    libpcap . . . . . . . no (libpcap not found)
    libperfstat . . . . . no (AIX only)
    libperl . . . . . . . no
    libpq . . . . . . . . no (libpq-fe.h not found)
    libpthread  . . . . . yes
    librouteros . . . . . no ('routeros_api.h' not found)
    librrd  . . . . . . . yes
    libsensors  . . . . . no (sensors/sensors.h not found)
    libstatgrab . . . . . no (/usr/bin/pkg-config doesn't know libstatgrab)
    libtokyotyrant  . . . no (tcrdb.h not found)
    libupsclient  . . . . no (pkg-config doesn't know library)
    libvirt . . . . . . . no (pkg-config doesn't know library)
    libxml2 . . . . . . . yes
    libxmms . . . . . . . no
    libyajl . . . . . . . no (yajl/yajl_parse.h not found)
    libevent  . . . . . .
    protobuf-c  . . . . . no
    oracle  . . . . . . . no (ORACLE_HOME is not set)
    python  . . . . . . . no ('Python.h' not found)

  Features:
    daemon mode . . . . . yes
    debug . . . . . . . . no

  Bindings:
    perl  . . . . . . . . yes

  Modules:
    apache  . . . . . . . no
    apcups  . . . . . . . yes
    apple_sensors . . . . no
    ascent  . . . . . . . no
    battery . . . . . . . yes
    bind  . . . . . . . . no
    conntrack . . . . . . yes
    contextswitch . . . . yes
    cpu . . . . . . . . . yes
    cpufreq . . . . . . . yes
    csv . . . . . . . . . yes
    curl  . . . . . . . . no
    curl_json . . . . . . no
    curl_xml  . . . . . . no
    dbi . . . . . . . . . no
    df  . . . . . . . . . yes
    disk  . . . . . . . . yes
    dns . . . . . . . . . no
    email . . . . . . . . yes
    entropy . . . . . . . yes
    exec  . . . . . . . . yes
    filecount . . . . . . yes
    fscache . . . . . . . yes
    gmond . . . . . . . . no
    hddtemp . . . . . . . yes
    interface . . . . . . yes
    ipmi  . . . . . . . . no
    iptables  . . . . . . yes
    ipvs  . . . . . . . . no (ip_vs.h not found)
    irq . . . . . . . . . yes
    java  . . . . . . . . no
    libvirt . . . . . . . no
    load  . . . . . . . . yes
    logfile . . . . . . . yes
    madwifi . . . . . . . yes
    match_empty_counter . yes
    match_hashed  . . . . yes
    match_regex . . . . . yes
    match_timediff  . . . yes
    match_value . . . . . yes
    mbmon . . . . . . . . yes
    memcachec . . . . . . no
    memcached . . . . . . yes
    memory  . . . . . . . yes
    modbus  . . . . . . . no
    multimeter  . . . . . yes
    mysql . . . . . . . . no
    netapp  . . . . . . . no
    netlink . . . . . . . no
    network . . . . . . . yes
    nfs . . . . . . . . . yes
    nginx . . . . . . . . no
    notify_desktop  . . . no
    notify_email  . . . . no
    ntpd  . . . . . . . . yes
    nut . . . . . . . . . no
    olsrd . . . . . . . . yes
    onewire . . . . . . . no
    openvpn . . . . . . . yes
    oracle  . . . . . . . no
    perl  . . . . . . . . no (needs libperl)
    pinba . . . . . . . . no
    ping  . . . . . . . . no
    postgresql  . . . . . no
    powerdns  . . . . . . yes
    processes . . . . . . yes
    protocols . . . . . . yes
    python  . . . . . . . no
    routeros  . . . . . . no
    rrdcached . . . . . . yes
    rrdtool . . . . . . . yes
    sensors . . . . . . . no
    serial  . . . . . . . yes
    snmp  . . . . . . . . no
    swap  . . . . . . . . yes
    syslog  . . . . . . . yes
    table . . . . . . . . yes
    tail  . . . . . . . . yes
    tape  . . . . . . . . no
    target_notification . yes
    target_replace  . . . yes
    target_scale  . . . . yes
    target_set  . . . . . yes
    tcpconns  . . . . . . yes
    teamspeak2  . . . . . yes
    ted . . . . . . . . . yes
    thermal . . . . . . . yes
    tokyotyrant . . . . . no
    unixsock  . . . . . . yes
    uptime  . . . . . . . yes
    users . . . . . . . . yes
    uuid  . . . . . . . . yes
    vmem  . . . . . . . . yes
    vserver . . . . . . . yes
    wireless  . . . . . . yes
    write_http  . . . . . no
    xmms  . . . . . . . . no
    zfs_arc . . . . . . . no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20100920/cc272fcb/attachment.htm>


More information about the collectd mailing list