[rtg] Adding new interfaces.

Dunc dunc at thebunker.net
Tue Mar 20 04:22:00 EST 2007


Chris Boyd wrote:
> Kill and restart rtgpoll.
>
> Note: kill -HUP will not work.  You have stop and then start the 
> poller again.  At least on FreeBSD.
>
> On Mar 14, 2007, at 11:15 AM, Dunc wrote:
>
>> Hi folks,
>>
>> I've only just started using RTG, and am very impressed so far, but I
>> have a question about adding new interfaces to a device.
>>
>> When using rtgtargmkr.pl it seems that if I run it when a new port is
>> only half configured, it will add it to the database, but never record
>> any data.
>>
>> So for example this morning, we connected a device to a switch port, and
>> then the next time rtgtargmkr.pl ran, it added a new target
>> (FastEthernet 0/16) to the device which I could see with the web
>> interface, however there was no traffic on there at this time. Later, I
>> changed the description on that interface, and configured an IP, and
>> then started moving traffic through it.
>>
>> I ran the script manually, and it suggested an SQL statement to adjust
>> the name, which I ran, but still there is no graphs being drawn when I
>> try to do a report.
>>
>> If however, I ensure that a port is fully configured and up before a run
>> of the script, everything works as expected.
>>
>> Apologies if I'm missing something, but I only see the docco saying that
>> it's fine to CRON this script, and no mention of any "gotchas"
>>
>> Thanks in advance for any help.
>>
>> Dunc
>>
>> --Duncan Lockwood           
>> Network Admin
>> The Bunker,                        tel: +44 (1304) 814 800
>> Ash Radar Station,                 http://www.thebunker.net
>> Marshborough Rd, Ash               mailto:dunc at thebunker.net
>> Kent, CT13 0PL
>> United Kingdom
>>
>> _______________________________________________
>> RTG mailing list
>> RTG at lists.grdata.com
>> http://lists.grdata.com/mailman/listinfo/rtg
>
>

Thank-you everyone who has helped me. I didn't realise that I'd have to 
restart the polling process (although it does mention it in the docco 
since I've looked again) I was planning on having rtgtargmkr.pl run more 
often than once a day, but if I stick to once a day I'm guessing I'll 
just never run into my problem, so that's probably the way forwards.

I'm going to remove my test connection and try it on a different 
interface later today, and will CRON the targmkr script for midnight and 
see how it looks in the morning.

Regards,

Dunc

-- 
Duncan Lockwood
Network Administrator

The Bunker Secure Hosting Limited       
Ash Radar Station
Marshborough Road
Sandwich
Kent CT13 OPL
UNITED KINGDOM

t: 01304 814 800
f: 01304 814 899
e: dunc at thebunker.net
w: www.thebunker.net
PGP on Key Servers

Come visit us at The Business Continuity Expo 2007 on 28th-29th March on Stand 510 click on http://www.businesscontinuityexpo.co.uk/thebunker/ for your complementary ticket. 



More information about the RTG mailing list