[SC.LUG] Anyone use MRTG?
Greg Bolshaw
greg at linuxtechnologies.co.uk
Mon Mar 8 20:08:23 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greg Bolshaw <greg at linuxtechnologies.co.uk> wrote:
> Ian Molton <spyro at f2s.com> wrote:
> > On Fri, 5 Mar 2004 21:46:09 +0000
> >
> > Greg Bolshaw <greg at linuxtechnologies.co.uk> wrote:
> > > MRTG is the best tool for the job providing the device you want
> > > to monitor supports SNMP.
> >
> > Do I see someone volunteering for a talk ?
>
> It's quite a difficult application to demonstrate for obvious
> reasons. However, I don't mind putting together a working example
> with annotated configuration file and mini-HOWTO.
OK, here it is as promised - a working example of MRTG.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net-snmp configuration:
http://dev.linuxtechnologies.co.uk/mrtg/snmpd.conf
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MRTG configuration:
http://dev.linuxtechnologies.co.uk/mrtg/mrtg.cfg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Graphs:
http://dev.linuxtechnologies.co.uk/mrtg/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's what I did to get it to that stage:
1) Installed net-snmp and mrtg plus dependencies.
2) Executed `snmpconf -g basic-setup` for guided snmpd.conf creation.
3) Executed `cfgmaker linuxtech_snmp at localhost \
--output=/var/www/dev.linuxtechnologies.co.uk/mrtg.cfg`
to automagically create the mrtg.cfg.
4) Added "RunAsDaemon: Yes" to mrtg.cfg.
5) Started MRTG using `mrtg mrtg.cfg`.
It really *is* that simple. Hope that's of use to those of you who are
looking to use MRTG. If you have question about any aspect of the
configuration, please ask.
Greg
- --
+---------------------------------------------------------------+
| Greg Bolshaw LPIC | mailto:greg at linuxtechnologies.co.uk |
| Consultant | JID: greg at jabber.linuxtechnologies.co.uk |
| Linux Technologies | http://www.linuxtechnologies.co.uk |
+---------------------------------------------------------------+
| Public Jabber server: jabber.linuxtechnologies.co.uk |
+---------------------------------------------------------------+
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| This e-mail has been digitally signed using PGP (Pretty Good |
| Privacy) to guarantee authenticity. |
| |
| For more information, see http://www.pgpi.org/doc/overview/. |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFATNKnS94XrT3lHYkRAnouAJ9mYMTdtNjgQIz2W9XvoB/02wkMZACg2XwE
h/aDDZ426tkJoNDQYZh3BV8=
=s43H
-----END PGP SIGNATURE-----
More information about the SC
mailing list