[rtg] Tunnel interface problem

Chris Boyd cboyd at gizmopartners.com
Wed Sep 5 16:51:41 EDT 2007


Here's my first real problem with RTG:

Running RTG 0.7.4 on FreeBSD 4.11 (OK, maybe I should upgrade but  
it's been working so well I have little incentive :-)

Running rtgtargmkr.pl against an AdTran 3305 router that has  
previously been polled, but now has a GRE tunnel configured.   
rtgtargmkr fails with the following error (debug mode on):

SQL: SELECT id, description FROM interface WHERE rid=16 AND  
name="tunnel 10"
No id found for tunnel 10 on device 16...adding.
SQL: INSERT INTO interface (name, rid, speed, description) VALUES 
("tunnel 10", 16, , "")
DBD::mysql::st execute failed: syntax error near ' "")' at line 1  
at ./rtgtargmkr.pl line 108.
can't execute the query: DBI::st=HASH(0x8316f54)->errstr

Is there an easy fix for this? Is there a way to tell rtgtargmkr to  
skip the tunnel interface?  I don't really need to have it polled.

Thanks!

--Chris



More information about the RTG mailing list