Re: one host has two target types, please help.

Marc Powell <[email protected]> Mon, 1 Sep 2008 10:15:25 -0500
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
On Sep 1, 2008, at 12:52 AM, Consultant IT wrote:

> 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

--
Marc

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/