[prev in list] [next in list] [prev in thread] [next in thread] 

List:       collectd
Subject:    [collectd] collectd-nagios problem ? Type "load" is unknown
From:       Antoine Tremblay <hexa00 () gmail ! com>
Date:       2010-09-20 14:29:41
Message-ID: AANLkTikARFAKoFvft6ezLJ9aYhD7oLp8g10PE7LYO00+ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

Hi,<br><br>  I&#39;m having problems with collectd-nagios with version &gt;=4.6 \
(tested 4.6.0 4.9.3 , 4.10.1)<br><br>/usr/local/collectd/bin/collectd-nagios -s \
/tmp/collectd.sock -H myhost -n load/load<br>ERROR: Retrieving values from the daemon \
failed: Server error: Type `load&quot;&#39; is unknown..<br> <br>I get this for any \
value... but the directrories and rrd files are there. and I can see the data with \
collection3...<br><br>Any ideas ?<br><br>Thanks a lot<br><br>Antoine <br><br>Unixsock \
conf :<br><br>LoadPlugin unixsock<br>

&lt;Plugin unixsock&gt;<br>
    SocketFile &quot;/tmp/collectd.sock&quot;    <br>
SocketGroup &quot;nagios&quot;    <br>
SocketPerms &quot;0770&quot;<br>
&lt;/Plugin&gt;<br>
<br>Here&#39;s my configure output : <br><br>Configuration:<br>  Libraries:<br>    \
libcurl . . . . . . . no (curl-config failed)<br>    libdbi  . . . . . . . no \
(dbi/dbi.h not found)<br>    libesmtp  . . . . . . no (libesmtp not found)<br>  \
libganglia  . . . . . no (gm_protocol.h not found)<br>    libgcrypt . . . . . . no \
(gcrypt.h not found)<br>    libiokit  . . . . . . no<br>    libiptc . . . . . . . yes \
(shipped version)<br>    libjvm  . . . . . . . no (jar not found)<br>  libkstat  . . \
. . . . no (Solaris only)<br>    libkvm  . . . . . . . no<br>    libmemcached  . . . \
. no (libmemcached/memcached.h not found)<br>    libmodbus . . . . . . no (pkg-config \
doesn&#39;t know library)<br>    libmysql  . . . . . . no (mysql_config failed)<br>  \
libnetapp . . . . . . no (netapp_api.h not found)<br>    libnetlink  . . . . . no \
(libnetlink.h not found)<br>    libnetsnmp  . . . . . no (net-snmp/net-snmp-config.h \
not found)<br>    libnotify . . . . . . no (No package &#39;libnotify&#39; found)<br> \
liboconfig  . . . . . yes (shipped version)<br>    libopenipmi . . . . . no \
(/usr/bin/pkg-config doesn&#39;t know OpenIPMIpthread)<br>    liboping  . . . . . . \
no (&#39;oping.h&#39; not found)<br>    libpcap . . . . . . . no (libpcap not \
found)<br>  libperfstat . . . . . no (AIX only)<br>    libperl . . . . . . . no<br>   \
libpq . . . . . . . . no (libpq-fe.h not found)<br>    libpthread  . . . . . yes<br>  \
librouteros . . . . . no (&#39;routeros_api.h&#39; not found)<br>  librrd  . . . . . \
. . yes<br>    libsensors  . . . . . no (sensors/sensors.h not found)<br>    \
libstatgrab . . . . . no (/usr/bin/pkg-config doesn&#39;t know libstatgrab)<br>    \
libtokyotyrant  . . . no (tcrdb.h not found)<br>  libupsclient  . . . . no \
(pkg-config doesn&#39;t know library)<br>    libvirt . . . . . . . no (pkg-config \
doesn&#39;t know library)<br>    libxml2 . . . . . . . yes<br>    libxmms . . . . . . \
. no<br>    libyajl . . . . . . . no (yajl/yajl_parse.h not found)<br>  libevent  . . \
. . . . <br>    protobuf-c  . . . . . no<br>    oracle  . . . . . . . no (ORACLE_HOME \
is not set)<br>    python  . . . . . . . no (&#39;Python.h&#39; not found)<br><br>  \
Features:<br>    daemon mode . . . . . yes<br>  debug . . . . . . . . no<br><br>  \
Bindings:<br>    perl  . . . . . . . . yes<br><br>  Modules:<br>    apache  . . . . . \
. . no<br>    apcups  . . . . . . . yes<br>    apple_sensors . . . . no<br>    ascent \
. . . . . . . no<br>  battery . . . . . . . yes<br>    bind  . . . . . . . . no<br>   \
conntrack . . . . . . yes<br>    contextswitch . . . . yes<br>    cpu . . . . . . . . \
. yes<br>    cpufreq . . . . . . . yes<br>    csv . . . . . . . . . yes<br>  curl  . \
. . . . . . . no<br>    curl_json . . . . . . no<br>    curl_xml  . . . . . . no<br>  \
dbi . . . . . . . . . no<br>    df  . . . . . . . . . yes<br>    disk  . . . . . . . \
. yes<br>    dns . . . . . . . . . no<br>  email . . . . . . . . yes<br>    entropy . \
. . . . . . yes<br>    exec  . . . . . . . . yes<br>    filecount . . . . . . yes<br> \
fscache . . . . . . . yes<br>    gmond . . . . . . . . no<br>    hddtemp . . . . . . \
. yes<br>  interface . . . . . . yes<br>    ipmi  . . . . . . . . no<br>    iptables  \
. . . . . . yes<br>    ipvs  . . . . . . . . no (ip_vs.h not found)<br>    irq . . . \
. . . . . . yes<br>    java  . . . . . . . . no<br>    libvirt . . . . . . . no<br>  \
load  . . . . . . . . yes<br>    logfile . . . . . . . yes<br>    madwifi . . . . . . \
. yes<br>    match_empty_counter . yes<br>    match_hashed  . . . . yes<br>    \
match_regex . . . . . yes<br>    match_timediff  . . . yes<br>  match_value . . . . . \
yes<br>    mbmon . . . . . . . . yes<br>    memcachec . . . . . . no<br>    memcached \
. . . . . . yes<br>    memory  . . . . . . . yes<br>    modbus  . . . . . . . no<br>  \
multimeter  . . . . . yes<br>  mysql . . . . . . . . no<br>    netapp  . . . . . . . \
no<br>    netlink . . . . . . . no<br>    network . . . . . . . yes<br>    nfs . . . \
. . . . . . yes<br>    nginx . . . . . . . . no<br>    notify_desktop  . . . no<br>  \
notify_email  . . . . no<br>    ntpd  . . . . . . . . yes<br>    nut . . . . . . . . \
. no<br>    olsrd . . . . . . . . yes<br>    onewire . . . . . . . no<br>    openvpn \
. . . . . . . yes<br>    oracle  . . . . . . . no<br>  perl  . . . . . . . . no \
(needs libperl)<br>    pinba . . . . . . . . no<br>    ping  . . . . . . . . no<br>   \
postgresql  . . . . . no<br>    powerdns  . . . . . . yes<br>    processes . . . . . \
. yes<br>    protocols . . . . . . yes<br>  python  . . . . . . . no<br>    routeros  \
. . . . . . no<br>    rrdcached . . . . . . yes<br>    rrdtool . . . . . . . yes<br>  \
sensors . . . . . . . no<br>    serial  . . . . . . . yes<br>    snmp  . . . . . . . \
. no<br>  swap  . . . . . . . . yes<br>    syslog  . . . . . . . yes<br>    table . . \
. . . . . . yes<br>    tail  . . . . . . . . yes<br>    tape  . . . . . . . . no<br>  \
target_notification . yes<br>    target_replace  . . . yes<br>  target_scale  . . . . \
yes<br>    target_set  . . . . . yes<br>    tcpconns  . . . . . . yes<br>    \
teamspeak2  . . . . . yes<br>    ted . . . . . . . . . yes<br>    thermal . . . . . . \
. yes<br>    tokyotyrant . . . . . no<br>  unixsock  . . . . . . yes<br>    uptime  . \
. . . . . . yes<br>    users . . . . . . . . yes<br>    uuid  . . . . . . . . yes<br> \
vmem  . . . . . . . . yes<br>    vserver . . . . . . . yes<br>    wireless  . . . . . \
. yes<br>  write_http  . . . . . no<br>    xmms  . . . . . . . . no<br>    zfs_arc . \
. . . . . . no<br><br>



_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic