[rtg] RTG .8 -- switch from rtgtargmkr.pl to targetmaker?
Shaun
mailinglists at unix-scripts.com
Thu Apr 3 12:04:03 EDT 2008
That's what I've been doing for years, and running it via cron. I also
modified it to so that it always grabs interfaces that are there regardless
if they are up or down.
-----Original Message-----
From: rtg-bounces at lists.grdata.com [mailto:rtg-bounces at lists.grdata.com] On
Behalf Of Dierlam, Andy David
Sent: Thursday, April 03, 2008 7:16 AM
To: Brandon Ewing; rtg at lists.grdata.com
Subject: Re: [rtg] RTG .8 -- switch from rtgtargmkr.pl to targetmaker?
You can change the rtgtargmkr.pl to update the interfaces:
w/out update:
< print "Suggest: UPDATE interface SET description='$desc'
WHERE id=$iid\n";
---
w/ update:
> print "updating record\n";
> $update = "UPDATE interface SET description='$desc' WHERE
id=$iid";
> print "adding update\n";
> &sql_insert($update);
>
-----Original Message-----
From: rtg-bounces at lists.grdata.com [mailto:rtg-bounces at lists.grdata.com]
On Behalf Of Brandon Ewing
Sent: Thursday, April 03, 2008 10:02 AM
To: rtg at lists.grdata.com
Subject: [rtg] RTG .8 -- switch from rtgtargmkr.pl to targetmaker?
See subject line -- has anyone done this recently, and do you have any
tips
regarding problems that will pop up, or issues to workaround? I've got
6
month's worth of existing data in my database that I'd prefer not to
lose if
at all possible.
I'm not looking to add any of the additional supported graph types, or
switch up my view.php -- I'm mostly interested in auto-updates of
interface
descriptions, and keeping my target updater relatively current.
--
Brandon Ewing
(nicotine at warningg.com)
_______________________________________________
RTG mailing list
RTG at lists.grdata.com
http://lists.grdata.com/mailman/listinfo/rtg
More information about the RTG
mailing list