Consultant IT
2008-09-02 01:54:06 UTC
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
names of the rrd files on.
target mail01.mydomain.com-global
target-type = global
target mail01.mydomain.com-xml
target-type = global-xml
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.
#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 theMy email appliance has two target types, one is from SNMP, the other
is from
my perl scripts to reading from http xml interfaces.
#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).
names of the rrd files on.
target mail01.mydomain.com-global
target-type = global
target mail01.mydomain.com-xml
target-type = global-xml