[collectd] collectd

Валерий Шило svv9 at mail.ru
Wed Jun 1 15:55:53 CEST 2011


Good day!
Apologize in advance for bad English. Please help me with this problem.
 I have a network with a dedicated server running the daemon collectd, where the other server sends the stats I'm interested in the parameters (cpu, disk, memory, etc.). Sometimes the following error: "Filter subsystem: Built-in target` write ': Dispatching value to all write plugins failed with status 2 (ENOENT). Most likely this means you didn't load any write plugins ".
 After viewing the site www.collectd.org I found a description of a similar error: http://collectd.org/wiki/index.php/Target:Write
but this solution is not quite right for me, because if I do so, as it is written in this instruction, the recording of data will occur locally on each server.
Configuration file server where all information is sent to the host is as follows:
Interval 60
ReadThreads 10
LoadPlugin cpu
LoadPlugin disk
LoadPlugin memory
LoadPlugin swap
LoadPlugin load
LoadPlugin uptime
LoadPlugin users
LoadPlugin df
LoadPlugin interface
LoadPlugin processes
LoadPlugin csv

LoadPlugin syslog
LoadPlugin network
LoadPlugin unixsock

<Plugin "df">
  FSType "ext2"
  FSType "ext3"
  FSType "ext4"
  FSType "xfs"
  IgnoreSelected false
  ReportInodes true
</Plugin>

<Plugin "disk">
  Disk "sda"
  Disk "sdb"
  Disk "sdc"
  Disk "sdd"
  Disk "hda"
  Disk "hdb"
  Disk "hdc"
  Disk "hdd"
  Disk "vda"
  Disk "vdb"
  Disk "vdc"
  Disk "vdd"
  Disk "md0"
  Disk "md1"
  Disk "md2"
  Disk "md3"
  IgnoreSelected false
</Plugin>

<Plugin "interface">
  Interface "lo"
  IgnoreSelected true
</Plugin>

<Plugin syslog>
        LogLevel info
</Plugin>

<Plugin network>
  Listen "0.0.0.0" "25826"
</Plugin>

<Plugin "csv">
  DataDir "/var/lib/collectd/csv"
  StoreRates true
</Plugin>

<Plugin unixsock>
   SocketFile "/var/run/collectd.sock"
   SocketGroup "nagios"
   SocketPerms "0770"
</Plugin>

Include "/etc/collectd.d"

Configuration files for hosts that are monitored are the following:
Interval 10
ReadThreads 9
LoadPlugin cpu
LoadPlugin disk
LoadPlugin memory
LoadPlugin swap
LoadPlugin load
LoadPlugin users
LoadPlugin df
LoadPlugin interface
LoadPlugin processes
LoadPlugin network
LoadPlugin syslog

<Plugin "df">
   FSType "ext2"
   FSType "ext3"
   FSType "ext4"
   FSType "xfs"
   IgnoreSelected false
   ReportInodes true
</Plugin>

<Plugin "disk">
   Disk "sda"
   Disk "sdb"
   Disk "sdc"
   Disk "sdd"
   Disk "hda"
   Disk "hdb"
   Disk "hdc"
   Disk "hdd"
   Disk "vda"
   Disk "vdb"
   Disk "vdc"
   Disk "vdd"
   Disk "md0"
   Disk "md1"
   Disk "md2"
   Disk "md3"
   IgnoreSelected false
</Plugin>

<Plugin "interface">
   Interface "lo"
   IgnoreSelected true
</Plugin>

<Plugin syslog>
   LogLevel info
</Plugin>

<Plugin network>
   Server "monitor1.company.net" "25826"
   Server "monitor2.company.net"

</Plugin>

Please let know if you have to consider my situation.
Thanks for the help.

--
Best Regards,
Valera Shilo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20110601/ef6c6251/attachment-0001.htm>


More information about the collectd mailing list