[mrtg] Re: Manipulating the mrtg.cfg files

Stieers, Ken KStieers at DainRauscher.com
Tue Aug 17 15:04:08 MEST 1999


Yep,  I was just going to send you something similar.   Note that the
weekly, monthly and yearly will also have links to a .log.html file that may
point to nowhere if you aren't keeping history for them. 

Ken 


> -----Original Message-----
> From: Warren Van Der Merwe [mailto:warrenvdm at is.co.za]
> Sent: Tuesday, August 17, 1999 8:05 AM
> To: 'Stieers, Ken'; 'mrtg at list.ee.ethz.ch'
> Subject: RE: [mrtg] Manipulating the mrtg.cfg files
> 
> 
> Hi
> 
> I was adamant to do this, I really need to so I took 15 
> minutes and went
> through the perl code of the mrtg command. I saw where it 
> creates the actual
> image and I add a simply HTML code 'a HREF=.....' and ran 
> MRTG with my cfg
> file, and ..... IT WORKS!!!!!!!!
> 
> My code now shows
> 
> <A HREF=\"router-$full{$peri}.log.html\"><IMG VSPACE=10 WIDTH=$gifh
> ALIGN=TOP SRC=\"$router-$full{$peri}.gif\"></A>
> 
> Thats it. done
> 
> Yipppeeee
> 
> 
> -----Original Message-----
> From: Stieers, Ken [mailto:KStieers at DainRauscher.com]
> Sent: 17 August 1999 02:55
> To: 'Warren Van Der Merwe'; 'mrtg at list.ee.ethz.ch'
> Subject: RE: [mrtg] Manipulating the mrtg.cfg files
> 
> 
> Warren, 
> 
> This really isn't possible without tweaking the MRTG code.  
> The cfg file
> doesn't have any way to do this for you.  
> 
> Ken 
> 
> > -----Original Message-----
> > From: Warren Van Der Merwe [mailto:warrenvdm at is.co.za]
> > Sent: Tuesday, August 17, 1999 7:43 AM
> > To: 'mrtg at list.ee.ethz.ch'
> > Subject: [mrtg] Manipulating the mrtg.cfg files
> > 
> > 
> > Hi all
> > 
> > My question to all of you is, I would like to manipulate the 
> > .cfg file so
> > that when it creates the .html file, each of the graphics are 
> > hyperlinked to
> > a html document which has links to a number of 'history' 
> > images. (I copy the
> > days .gif file with a cron job at 23:55 and rename it to the 
> > current date in
> > the format 'ddmmyyyy' (i.e. the file would be 17081999-day.gif))
> > 
> > So, if I have click on stats for interface 1 and then click 
> > on the resultant
> > 'Daily' graph, it would take me to a page called 
> > '10.10.10.10.1.daily.html'
> > (i.e. Target name plus .daily.html) From there I can have 
> links to the
> > actual gif images (table view showing all available gif images)
> > 
> > It is important for me to be able to move between logs, i.e. 
> > Look at last
> > weeks Daily Graph and compare it to todays. I know there is 
> > going to be alot
> > of work involved but I have to do it.
> > 
> > P.S. Originally I though of designing my own HTML file and 
> > have links to the
> > graphs, using frontpage I could then create a hyperlink to 
> > the page as I
> > want it. Problem solved!???? The problem is, I don't know how 
> > to get the
> > information below the graph (Max IN/Out, Averages In/Out, 
> > Percentages, etc)
> > into this new HTML file I created and this is really useful 
> > information.
> > 
> > Anyone got any suggestions?
> > 
> > ~~~~~~~~~~~~~~~~~~~~~
> > Warren van der Merwe
> > Network Engineer
> > The Internet Solution
> > http://www.is.co.za
> >  
> > 
> > --
> > * To unsubscribe from the mrtg mailing list, send a message with the
> >   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> > * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> > 
> 

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list