<div dir="ltr"><div><div>I reduced my plugin to this:</div><div><br></div><div>package Collectd::Plugins::Biosmart;</div><div>use strict;</div><div>use warnings;</div><div>use Collectd qw( :all );</div><div>my $host = "192.168.2.53";</div><div>plugin_register( TYPE_READ, 'Biosmart', 'biosmart_read' );</div><div><br></div><div>sub biosmart_read {</div><div>    my %v = (</div><div>        time     => time(),</div><div>        interval => 60,</div><div>        host     => $host,</div><div>        plugin   => "biosmart",</div><div>    );</div><div><br></div><div>    my $content;</div><div><br></div><div>    my $line_number = 0;</div><div>    my @content_lines = split( /\n/, $content );</div><div>    foreach (@content_lines) {</div><div>        my $line = $_;</div><div><br></div><div>        $v{'type'}          = "absolute";</div><div>        $v{'type_instance'} = $line_number;</div><div>        $v{'values'}        = [0];            # default value</div><div>        plugin_dispatch_values( \%v );</div><div>    }</div><div>    return 1;</div><div>}</div></div><div><br></div><div><br></div><div>And i get this:</div><div><br></div><div><div>sudo collectd -T</div><div>collectd: perl.c:1952: perl_read: Assertion `my_perl != perl_threads->head->interp' failed.</div></div><div><br></div><div>Obviously I stripped out most of the functionality, but the error is the same for the complete plugin. </div><div><br></div><div>How can i solve this?</div><div><br></div><div>this is the config file:</div><div><br></div><div><div>sudo egrep -v '^\s*#|^$' /etc/collectd/collectd.conf</div><div>FQDNLookup true</div><div>WriteQueueLimitHigh 1000000</div><div>WriteQueueLimitLow   800000</div><div>LoadPlugin syslog</div><div><Plugin syslog></div><div><span class="" style="white-space:pre">        </span>LogLevel info</div><div></Plugin></div><div><LoadPlugin perl></div><div><span class="" style="white-space:pre">  </span>Globals true</div><div></LoadPlugin></div><div>LoadPlugin rrdtool</div><div><Plugin rrdtool></div><div><span class="" style="white-space:pre">       </span>DataDir "/var/lib/collectd/rrd"</div><div></Plugin></div><div><Plugin perl></div><div>           BaseName "Collectd::Plugins"</div><div>           LoadPlugin "Biosmart"</div><div>           <Plugin Biosmart></div><div>           </Plugin></div><div></Plugin></div><div><Include "/etc/collectd/collectd.conf.d"></div><div>Filter "*.conf"</div><div></Include></div></div><div><br></div><div>collectd-core, version 5.4.1-6</div><div><br></div><div><div>Debian Release: 8.0</div><div>  APT prefers testing</div><div>  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')</div><div>Architecture: amd64 (x86_64)</div><div>Foreign Architectures: i386</div><div><br></div><div>Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)</div><div>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)</div><div>Shell: /bin/sh linked to /bin/dash</div><div>Init: systemd (via /run/systemd/system)</div><div><br></div><div>Versions of packages collectd-core depends on:</div><div>ii  debconf [debconf-2.0]  1.5.55</div><div>ii  libc6                  2.19-13</div><div>ii  libltdl7               2.4.2-1.11</div><div><br></div><div>Versions of packages collectd-core recommends:</div><div>ii  perl     5.20.1-3</div><div>ii  rrdtool  1.4.8-1.2</div><div><br></div><div>Versions of packages collectd-core suggests:</div><div>pn  apache2                                             <none></div><div>pn  apcupsd                                             <none></div><div>pn  bind9                                               <none></div><div>pn  collectd-dev                                        <none></div><div>ii  default-jre-headless                                2:1.7-52</div><div>pn  hddtemp                                             <none></div><div>pn  httpd-cgi                                           <none></div><div>ii  iptables                                            1.4.21-2+b1</div><div>pn  ipvsadm                                             <none></div><div>pn  libconfig-general-perl                              <none></div><div>ii  libcurl3-gnutls                                     7.38.0-3</div><div>ii  libdbi1                                             0.9.0-4</div><div>ii  libesmtp6                                           1.0.6-4</div><div>ii  libgcrypt20                                         1.6.2-4+b1</div><div>ii  libgdk-pixbuf2.0-0                                  2.31.1-2+b1</div><div>ii  libglib2.0-0                                        2.42.1-1</div><div>ii  libhtml-parser-perl                                 3.71-1+b3</div><div>ii  liblvm2app2.2                                       2.02.111-2</div><div>ii  libmemcached11                                      1.0.18-4</div><div>ii  libmnl0                                             1.0.3-5</div><div>ii  libmodbus5                                          3.0.6-1</div><div>ii  libmysqlclient18                                    5.5.40-1</div><div>ii  libnotify4                                          0.7.6-2</div><div>ii  libnspr4                                            2:4.10.7-1</div><div>ii  libnspr4-0d                                         2:4.10.7-1</div><div>ii  libnss3                                             2:3.17.2-1</div><div>ii  libnss3-1d                                          2:3.17.2-1</div><div>ii  libopenipmi0                                        2.0.16-1.4</div><div>ii  liboping0                                           1.7.0-1</div><div>ii  libowcapi-2.9-8                                     2.9p8-6</div><div>ii  libpcap0.8                                          1.6.2-2</div><div>ii  libperl5.20                                         5.20.1-3</div><div>ii  libpq5                                              9.4.0-1</div><div>ii  libprotobuf-c1                                      1.0.2-1</div><div>ii  libpython2.7                                        2.7.8-11</div><div>ii  librabbitmq1                                        0.5.2-2</div><div>ii  libregexp-common-perl                               2013031301-1</div><div>ii  librrd4                                             1.4.8-1.2</div><div>pn  librrds-perl                                        <none></div><div>ii  libsensors4                                         1:3.3.5-2</div><div>ii  libsnmp30                                           5.7.2.1~dfsg-7</div><div>ii  libssl1.0.0                                         1.0.1j-1</div><div>ii  libtokyotyrant3                                     1.1.40-4.2</div><div>ii  libupsclient4                                       2.7.2-1+b3</div><div>ii  liburi-perl                                         1.64-1</div><div>ii  libvirt0                                            1.2.9-6</div><div>ii  libxml2                                             2.9.1+dfsg1-4</div><div>ii  libyajl2                                            2.1.0-2</div><div>pn  lm-sensors                                          <none></div><div>pn  mbmon                                               <none></div><div>pn  memcached                                           <none></div><div>pn  mysql-server                                        <none></div><div>pn  nginx                                               <none></div><div>ii  notification-daemon                                 0.7.6-2</div><div>pn  nut                                                 <none></div><div>pn  olsrd                                               <none></div><div>ii  openntpd [time-daemon]                              20080406p-10</div><div>pn  openvpn                                             <none></div><div>ii  oracle-java7-jre-dummy-provides [default-jre-headl  0.4-1~0.0.0.7.35cace4.8</div><div>pn  pdns-server                                         <none></div><div>pn  postgresql                                          <none></div><div>ii  zlib1g                                              1:1.2.8.dfsg-2+b1</div><div><br></div></div></div>