[mrtg] Re: Adding additional hosts / devices
Peter Glanville
peter_glanville at cuk.canon.co.uk
Thu Oct 12 11:14:44 MEST 2006
I use Windows too.
I liked indexmaker, but found it better to upgrade to MRTG + RRD +
Routers2.cgi
Follow the install routines for each section, upgrading for one host will
entail minimal changes (RTFM)
You can use CFGmaker to create configs for each device (use a sensible
naming convention), or create them by hand
Use a Master.cfg that invokes each of the lower level CFGs (as described
below). Your PC invokes the Master.CFG
Routers2 front end then show a list of Devices (ie CFG files) and when you
drill into one, you get a list of Targets (ie interfaces or whatever
you're monitoring), and you can drill into each for the history.
In fact, you can arrange the CFG files in a meaningful directory/folder
structure (per building or location for instance, or grouped by hardware
type: routers, switches, servers etc). Then you first select the folder,
drill into the device list and then pick the Target/interface.
You can use "dummy" CFG files.
Have a CFG for collecting data, included in the Master.cfg, with the line
"routers.cgi*Ignore: yes" which means that it does not show up in the web pages.
Then create your own CFG files (not included in Master.cfg) that has a
selection of Targets from various Devices. This summary gets shown on the
web, but is not any single collection CFG file.
One option, for multiple CFGs, is to use "cron" to schedule multiple jobs.
There is a Windows (application, or service) version you can download, and
then schedule some CFGs to run at minutes 1, 6, 11 etc, and another at
minutes 2, 7, 12 etc, thereby reducing the cpu processing load by
spreading the jobs. (remember to set RunAsDaemon: No)
If you want to take this further, drop me line directly
Peter
"Lee Netana" <Lee.Netana at alc.org.au>
Sent by: mrtg-bounce at list.ee.ethz.ch
12/10/2006 07:30
To: <mrtg at list.ee.ethz.ch>
cc: "MrPaul" <mrpaular at gmail.com>
Subject: [mrtg] Re: Adding additional hosts / devices
Thanks Paul.
Ok.. So I'm running this on a Windows 2003 server and have one host
running and have used indexmaker to create the index page.
To add more do I simply use the command prompt and type perl Target... ?
This is something I need to get a plain English breakdown on.
If I create individual .cfg files for each host, how does one go about
linking them back to the master?
Can anyone spare a few minutes giving me a step by step breakdown?
Cheers.
-----Original Message-----
From: MrPaul [mailto:mrpaular at gmail.com]
Sent: Wednesday, 11 October 2006 11:43 PM
To: mrtg at list.ee.ethz.ch
Cc: Lee Netana
Subject: Re: [mrtg] Adding additional hosts / devices
On 10/11/06, Lee Netana <Lee.Netana at alc.org.au> wrote:
> Do I need to create a separate mrtg.cfg file for each host I would
like
> to monitor or is there a way of adding additional hosts to the
mrtg.cfg
> which was setup initially?
You can do it either way. It's much more manegable to have each
device in it's own config file IMHO. You can stil use a single MRTG
process by having one master config file that includes the other
files.
Exampe. master.cfg
include device1.cfg
include devicd2.cfg
...
then 'mrtg master.cfg' to start the MRTG process.
Paul
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
http://www.canon.co.uk
Canon (UK) Ltd. Registered Office - Woodhatch, Reigate, Surrey, RH2 8BF
Registered in England & Wales Registered No. 1264300
This email may contain confidential information which is intended for the
required recipient only. If you are not the named recipient you should
not take any action in relation to this email, other than to notify us
that you have received it in error. If this email contains attachments you
should ensure they are checked for viruses before opening them.
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list