[rtg] Valid config for RTG HEAD
Andy Dierlam
adierlam at PRIMUSTEL.com
Mon Aug 14 15:59:33 EDT 2006
your targets file should be as so :
# Generated 06/26/2006 13:47 by ./rtgtargmkr.pl
# Host OID Bits Community Table ID Description
ip-address .1.3.6.1.2.1.31.1.1.1.6.2 64 community_name
ifInOctets_1 1 180000000000 (GigabitEthernet1/0)
ip-address .1.3.6.1.2.1.31.1.1.1.10.2 64 community_name
ifOutOctets_1 1 180000000000 (GigabitEthernet1/0)
is your target file constructed as such ?
----- Original Message -----
From: "Peter Bristow" <pete at as29550.net>
To: <rtg at fireflynetworks.net>
Sent: Monday, August 14, 2006 3:18 PM
Subject: [rtg] Valid config for RTG HEAD
> Hi
> I have built RTG from CVS HEAD earlier today on an OpenBSD 3.9 box.
> I'm having troubles configuring rtg though. Are there any known
> problems with rtg from CVS at the moment?
> I have tried using the below config which is pretty much lifted from
> the docs however I'm getting problems.
>
> Interval 300
> HighSkewSlop 3
> LowSkewSlop .5
> #OutOfRange 93750000000
> #SNMP_Ver 1
> SNMP_Port 161
> DB_Host localhost
> DB_Database rtg
> DB_User rtg
> DB_Pass dbpass
> Threads 5
>
> host [127.0.0.1] {
> community [rocommunity];
> snmpver [2];
> target [.1.3.6.1.2.1.2.2.1.10.1] {
> bits [32];
> table [ifInOctets_2];
> id [1];
> speed [4500000000];
> descr "[description]";
> };
> };
>
> $ /usr/local/bin/rtgpoll -c rtg.conf -D -vv -t target.me
> RTG version 0.8.1 starting.
> Using RTG config file [rtg.conf].
> Initialize hash table pointers: 20000 bytes.
> Reading RTG target list [target.me].
> unexpected character: [targets failure on line 1 - syntax error
> last token parsed: 127.0.0.1]
> $
>
> Any guidance or known working example configs would be greatly recieved.
>
> Thanks
>
> Pete Bristow
> _______________________________________________
> RTG mailing list
> RTG at fireflynetworks.net
> http://fireflynetworks.net/mailman/listinfo/rtg
>
________________________________________________________________________
Lingo. Save up to 80% off your traditional phone service with unlimited US local, long distance, Canada and Western Europe minutes plus a lot of great calling features for $21.95 per month plus 1 month FREE. www.lingo.com - The Talk of Broadband
More information about the RTG
mailing list