Discussion:
[mrtg] Network Weathermap with MRTG
Steve Shipway
2006-12-28 20:13:47 UTC
Permalink
Hello, all.

I've been playing with the Network Weathermap tool found at
http://wotsit.thingy.com/haj/cacti/php-weathermap/
Is anyone else using this, or something similar?

Although it claims to be for cacti, it actually will work rather nicely
with MRTG, provided you have a .rrd backend and a frontend that can
generate popup graphs, such as routers2.cgi. The drawback is that you
need to run the map generation via cron or similar because it does not
generate it on-demand - however this is a relatively low CPU load.

Using this, you can get dynamic colour changes and graphs to show
network health, very popular with our networking guys. If you want to
configure it with MRTG/RRD/routers2 then you need to use configurations
like:

---snip---
NODE cfgfile.cfg
POSITION 300 400
LABEL My Router
INFOURL /cgi-bin/routers2.cgi?rtr=cfgfile.cfg&if=__none

LINK targetname
NODES cfgfile.cfg othercfgfile.cfg
INFOURL /cgi-bin/routers2.cgi?rtr=cfgfile.cfg&if=targetname
TARGET /path/to/rrd/files/targetname.rrd:ds0:ds1
OVERLIBGRAPH
/cgi-bin/routers2.cgi?rtr=cfgfile.cfg&if=targetname&xgtype=ds&xgstyle=x&
page=image
BANDWIDTH 1G
---snip---

of course changing the cfgfile.cfg and targetname parameters, and the
/path/to/rrd/files as necessary. There's no reason why you should not
be able to do similar with other frontends like mrtg-rrd as well. Note
that you need to install the RRD-PHP interface on the server for this to
work, though.

I'm currently working on a Perl/Tk script for dynamically editing the
config file and automatically inserting all these details. If anyone is
interested in trying this out or having a play with the beta map editor
then please let me know.

Steve

--
Steve Shipway
ITSS, University of Auckland
(09) 3737 599 x 86487
***@auckland.ac.nz
--
Unsubscribe mailto:mrtg-***@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
Syed Waqqas Ahmed
2006-12-28 20:59:51 UTC
Permalink
Hello Seteve,

I have configured the same tool as capacity and network monitoring of our intercities and DSL network and IPLC.

No dout its an excellent tool to find out the utilization of ur links and plan upgradation of links accordinly. I am using it with PHP and in config file i have to define the refreshing interval. well in perl u have to define it in cron file thats correct.

On backend i am using the RRD asl well .

Well i actually found a software to eidt graphically the conf file of weathermap and adding nodes and defining links but that was for php i am not sure that works with perl or not.

Well i recommend this tool as an excellent network utilization monitoring.

Regards,

Waqqas




Steve Shipway <***@auckland.ac.nz> wrote:
Hello, all.

I've been playing with the Network Weathermap tool found at
http://wotsit.thingy.com/haj/cacti/php-weathermap/
Is anyone else using this, or something similar?

Although it claims to be for cacti, it actually will work rather nicely
with MRTG, provided you have a .rrd backend and a frontend that can
generate popup graphs, such as routers2.cgi. The drawback is that you
need to run the map generation via cron or similar because it does not
generate it on-demand - however this is a relatively low CPU load.

Using this, you can get dynamic colour changes and graphs to show
network health, very popular with our networking guys. If you want to
configure it with MRTG/RRD/routers2 then you need to use configurations
like:

---snip---
NODE cfgfile.cfg
POSITION 300 400
LABEL My Router
INFOURL /cgi-bin/routers2.cgi?rtr=cfgfile.cfg&if=__none

LINK targetname
NODES cfgfile.cfg othercfgfile.cfg
INFOURL /cgi-bin/routers2.cgi?rtr=cfgfile.cfg&if=targetname
TARGET /path/to/rrd/files/targetname.rrd:ds0:ds1
OVERLIBGRAPH
/cgi-bin/routers2.cgi?rtr=cfgfile.cfg&if=targetname&xgtype=ds&xgstyle=x&
page=image
BANDWIDTH 1G
---snip---

of course changing the cfgfile.cfg and targetname parameters, and the
/path/to/rrd/files as necessary. There's no reason why you should not
be able to do similar with other frontends like mrtg-rrd as well. Note
that you need to install the RRD-PHP interface on the server for this to
work, though.

I'm currently working on a Perl/Tk script for dynamically editing the
config file and automatically inserting all these details. If anyone is
interested in trying this out or having a play with the beta map editor
then please let me know.

Steve

--
Steve Shipway
ITSS, University of Auckland
(09) 3737 599 x 86487
***@auckland.ac.nz

--
Unsubscribe mailto:mrtg-***@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



Send instant messages to your online friends http://uk.messenger.yahoo.com
--
Unsubscribe mailto:mrtg-***@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
Chris Stone
2006-12-28 21:04:26 UTC
Permalink
Syed,
Post by Syed Waqqas Ahmed
Well i actually found a software to eidt graphically the conf file of
weathermap and adding nodes and defining links but that was for php i am not
sure that works with perl or not.
Do you happen to have a link available for this?


Chris
--
Unsubscribe mailto:mrtg-***@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
Daniel J McDonald
2006-12-28 21:08:01 UTC
Permalink
Post by Steve Shipway
Hello, all.
I've been playing with the Network Weathermap tool found at
http://wotsit.thingy.com/haj/cacti/php-weathermap/
Is anyone else using this, or something similar?
I've hacked up bbmap to do something similar, but this is way cooler!
Post by Steve Shipway
Although it claims to be for cacti, it actually will work rather nicely
with MRTG, provided you have a .rrd backend and a frontend that can
generate popup graphs, such as routers2.cgi. The drawback is that you
need to run the map generation via cron or similar because it does not
generate it on-demand - however this is a relatively low CPU load.
Using this, you can get dynamic colour changes and graphs to show
network health, very popular with our networking guys. If you want to
configure it with MRTG/RRD/routers2 then you need to use configurations
[...]
Post by Steve Shipway
of course changing the cfgfile.cfg and targetname parameters, and the
/path/to/rrd/files as necessary. There's no reason why you should not
be able to do similar with other frontends like mrtg-rrd as well. Note
that you need to install the RRD-PHP interface on the server for this to
work, though.
I generate a lot of that information from a database of eigrp state
changes that I maintain by watching syslog form all of my routers.. Of
course the layout is manual.
Post by Steve Shipway
I'm currently working on a Perl/Tk script for dynamically editing the
config file and automatically inserting all these details. If anyone is
interested in trying this out or having a play with the beta map editor
then please let me know.
Yes, I'm always looking for something new...
--
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com
--
Unsubscribe mailto:mrtg-***@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
Syed Waqqas Ahmed
2006-12-28 21:46:27 UTC
Permalink
Chris

yes i do have but unfotunately i can not share it with you due to some security reasons but i have attached some snap shots so u can have an idea how it looks like..

clicking on any link can lead you to MRTG of the link or any link u have coded in config file and similary the mouseoverlink option in php can be utilized as well

Regards.

Waqqas


Chris Stone <***@axint.net> wrote:
Syed,
Post by Syed Waqqas Ahmed
Well i actually found a software to eidt graphically the conf file of
weathermap and adding nodes and defining links but that was for php i am not
sure that works with perl or not.
Do you happen to have a link available for this?


Chris


--
Unsubscribe mailto:mrtg-***@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



Send instant messages to your online friends http://uk.messenger.yahoo.com


-- Attached file removed by Ecartis and put at URL below --
-- Type: image/pjpeg
-- Desc: 675193437-intercity-links.JPG
-- Size: 99k (101535 bytes)
-- URL : Loading Image...


-- Attached file removed by Ecartis and put at URL below --
-- Type: image/pjpeg
-- Desc: 288841729-dsl.JPG
-- Size: 99k (101752 bytes)
-- URL : Loading Image...
--
Unsubscribe mailto:mrtg-***@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
Syed Waqqas Ahmed
2006-12-28 21:51:35 UTC
Permalink
Daniel,

I saw a software on internet named BGP ASPATH Tree.. that reflects the dynamic changes in AS and display a map showing the connectivity b.w different AS and routes etc.. that was really a good software but i m unable to find its sourcecode of the software.. do u have any source code of this kind of software then do send me... coz i m looking for this kind of software..

Regards

Waqqas
Post by Steve Shipway
Hello, all.
I've been playing with the Network Weathermap tool found at
http://wotsit.thingy.com/haj/cacti/php-weathermap/
Is anyone else using this, or something similar?
I've hacked up bbmap to do something similar, but this is way cooler!
Post by Steve Shipway
Although it claims to be for cacti, it actually will work rather nicely
with MRTG, provided you have a .rrd backend and a frontend that can
generate popup graphs, such as routers2.cgi. The drawback is that you
need to run the map generation via cron or similar because it does not
generate it on-demand - however this is a relatively low CPU load.
Using this, you can get dynamic colour changes and graphs to show
network health, very popular with our networking guys. If you want to
configure it with MRTG/RRD/routers2 then you need to use configurations
[...]
Post by Steve Shipway
of course changing the cfgfile.cfg and targetname parameters, and the
/path/to/rrd/files as necessary. There's no reason why you should not
be able to do similar with other frontends like mrtg-rrd as well. Note
that you need to install the RRD-PHP interface on the server for this to
work, though.
I generate a lot of that information from a database of eigrp state
changes that I maintain by watching syslog form all of my routers.. Of
course the layout is manual.
Post by Steve Shipway
I'm currently working on a Perl/Tk script for dynamically editing the
config file and automatically inserting all these details. If anyone is
interested in trying this out or having a play with the beta map editor
then please let me know.
Yes, I'm always looking for something new...
--
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com

--
Unsubscribe mailto:mrtg-***@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



Send instant messages to your online friends http://uk.messenger.yahoo.com
--
Unsubscribe mailto:mrtg-***@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
Geba, Scott
2007-01-02 12:58:09 UTC
Permalink
http://weathermap4rrd.tropicalex.net/index.php

the editor is there. I use it too as it does save some time and gives
you a better visual representation instead of guessing coordinates. Its
still a little buggy though.

-----Original Message-----
From: mrtg-***@list.ee.ethz.ch [mailto:mrtg-***@list.ee.ethz.ch]
On Behalf Of Chris Stone
Sent: Thursday, December 28, 2006 4:04 PM
To: ***@list.ee.ethz.ch
Subject: [mrtg] Re: Network Weathermap with MRTG

Syed,
Post by Syed Waqqas Ahmed
Well i actually found a software to eidt graphically the conf file
of
Post by Syed Waqqas Ahmed
weathermap and adding nodes and defining links but that was for php i
am not
Post by Syed Waqqas Ahmed
sure that works with perl or not.
Do you happen to have a link available for this?


Chris


--
Unsubscribe mailto:mrtg-***@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
--
Unsubscribe mailto:mrtg-***@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
Loading...