|
From: Consultant I. <itc...@gm...> - 2008-09-02 01:54:16
|
hi, the target is a host name. I need this as a paramter to get data for SNMP and perl. if change to mydomain.com-global, it does not make sense. for SNMP, the Defaults define the rrd file: Target --default-- dataDir = /home/cricket/rrd/%auto-target-path% rrd-datafile = %dataDir%/%auto-target-name%.rrd for perl source, the Defaults.xml defines another rrd file: Target --default-- dataDir = /home/cricket/rrd/%auto-target-path% rrd-datafile = %dataDir%/%auto-target-name%_%target-type%.rrd So I already defined two rrd file names. The issue is everytime it collects the data, it collect global-xml twice. It did not collect the global (SNMP data). Please help me more, thanks, Frank > hi, > > My email appliance has two target types, one is from SNMP, the other > is from > my perl scripts to reading from http xml interfaces. > > Now I defined targets file: > > #more targets > target mail01.mydomain.com > target-type = global > target mail01.mydomain.com > target-type = global-xml > > > The issue is everytime it collects the data, it collect global-xml > twice. It > did not collect the global (SNMP data). Your target names need to be unique. This is what cricket bases the names of the rrd files on. target mail01.mydomain.com-global target-type = global target mail01.mydomain.com-xml target-type = global-xml |