Hi, 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. HTH, Sebastian [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
signature.asc
Description: Digital signature
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
