[rtg] Valid config for RTG HEAD
Peter Bristow
pete at as29550.net
Mon Aug 14 15:18:18 EDT 2006
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
More information about the RTG
mailing list