[mrtg] Re: mrtg-rrd.cgi - Multiple Config Files

Peter P. Benac ppbenac at emacolet.com
Wed Jan 5 21:37:58 MET 2005


I did something very similar at a client site, because I know they would be
adding and deleting config files after I left.

Yes it is possible. Therefore, the question becomes do you know enough Perl
to make it happen?

----
Peter P. Benac, CCNA
Celtic Spirit Network Solutions
Providing Network and Systems Project Management and Installation and Web
Hosting.
Phone: 919-618-2557
Web: http://www.emacolet.com
Need quick reliable Systems or Network Management advice visit
http://www.nmsusers.org

To have principles...
             First have courage.. With principles comes integrity!!!




-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Eric Brander
Sent: Wednesday, January 05, 2005 15:10
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: mrtg-rrd.cgi - Multiple Config Files


Eric Brander wrote:

>Thank you all for your help on this. This works!
>
>One problem though... it is SLOW! The more configs I add to that list
>the slower the script runs.  Even for just listing out one item it runs 
>dog slow compared to a cgi with just one target cfg in it! Its as if it 
>has to parse every config file every time you click a link!  Limitations 
>of the script?  Oh well I guess I need to try something else.
>
>Thanks for your help.
>
>Regards,
>
>Eric Brander
>  
>

Alright folks, how about this?!?? Could I have one mrtg-rrd.cgi but 
instead of hard coding the config files in the script, could I put them 
on the URL?

Something like:

Http://www.monitoringserver.com/cgi-bin/mrtg-rrd.cfg?/path/to/mrtg1.cfg

Then if I want to look at another config, I just put it on the URL 
instead of having it in the file.

Possible?

Thanks for reading,

Eric Brander

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list