[rtg] /usr/local/rtg/bin/rtgpoll
bill fumerola
billf at mu.org
Wed Oct 18 10:28:06 PDT 2006
On Thu, Oct 12, 2006 at 11:46:25AM +0259, Serghey Rodin wrote:
> Im trying to install new rtg from cvs, but I get this error :
>
> [root at localhost etc]# /usr/local/rtg/bin/rtgpoll -c rtg.conf -D -vv -t
> targets.cfg
> RTG version 0.8.1 starting.
> Reading RTG target list [targets.cfg].
[...]
> targets failure on line 3 - syntax error
> last token parsed: xxx.xxx.xxx.xxx
^--- new targets.cfg format
v--- old targets.cfg format
> here is my first 3 lines:
>
> # Generated 10/12/2006 02:30 by /usr/local/rtg/etc/rtgtargmkr.pl
> # Host OID Bits Community Table ID OOR Description
> xxx.xxx.xxx.xxx .1.3.6.1.2.1.2.2.1.10.1 32 mycomunity-mrtg
> ifInOctets_2 1 4500000000 (FastEthernet0/1)
>
> can you provide solution for this?
update to the new format.
http://rtg.cvs.sourceforge.net/rtg/rtg/README?revision=1.15&view=markup
217 RTG-0.8 and beyond (PRE RTG-0.8 Format Is Still Supported):
218 host [hostname] {
219 community [communityString];
220 snmpver [1|2];
221 target [OID] {
222 bits [64|32|0];
223 table [tableName];
224 id [idnum];
225 speed [OORValue];
226 descr "[description]";.
227 };
228 target [OID] {
229 ...
230 ...
231 };
232 ...
233 ...
234 };
-- bill
More information about the RTG
mailing list