[collectd] collectd

Andreas Maus a.maus at science-computing.de
Mon Jun 6 08:19:57 CEST 2011


Good morning.

Did you specify the directory of your plugins (PluginDir)?
Also you didn't specify any write plugin (at least on the server).
This can be found on the site you quoted (http://collectd.org/wiki/index.php/Target:Write):

"Load the RRDtool plugin, configure the Network plugin to send values
or pick any other plugin registering a write callback."

So long,

Andreas.

On 06/06/11 08:11, Abhishek Amberkar [अभिषेक] wrote:
> On Wed, Jun 1, 2011 at 7:25 PM, Валерий Шило<svv9 at mail.ru>  wrote:
>> 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>
>
> To run a "collectd" server you basically need to have minimum 2
> plugins configured. a) network b) rrdtool. On "server" you need to
> have both "network" as well as "rrdtool" plugins configured, whereas
> on "clients" you just need to have "network" plugin pointing to
> "server". Also make sure that your clients are able to resolve
> "monitor1.company.net" ip.
>


-- 
Dipl.-Ing. Andreas Maus             science+computing ag
System Administration               Hagellocher Weg 73
tel.: +49 7071 9457 671             72070 Tuebingen, Germany
fax: +49 7071 9457 411              www.science-computing.de
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 



More information about the collectd mailing list