[collectd] Changing the filename in which data is collectedin collectd 4.9

Sebastian Harl sh at tokkee.org
Tue Sep 21 18:05:48 CEST 2010


On Tue, Sep 21, 2010 at 03:55:04PM +0000, Sen, Kakoli wrote:
>     Enabled the SNMP plugin in collectd running on Linux.
> And I am collecting cpu, RAM and disk usage of a windows node which is running Windows SNMP service.
> The data is coming according to host-resources mib.
> My question is : how to change the naming of the csv file in which data is collected, to my custom name?
> The data is coming in csv files in $COLLECTD_HOME/var/lib/collectd/$HOSTNAME/snmp/.
> For e.g., for cpu, the file name is cpustats-total-0-2010-09-21, where cpustats-total is the Type in snmp plugin in collectd.conf.
> Then appended by '0' and then the date. I do not need the '0' in between.

This can be done using the "filter-chain" mechanism. See the section
"FILTER CONFIGURATION" in collectd.conf(5) and the wiki [1] for details.


[1] <http://collectd.org/wiki/index.php/Chains>

Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20100921/aca34344/attachment.pgp>

More information about the collectd mailing list