Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MRTG updating rrds/adding new ports to existing graphs

43 views
Skip to first unread message

Kjetil

unread,
Sep 4, 2001, 5:12:52 AM9/4/01
to
Hi!

I have set up MRTG 2.9.17 and it is set up to monitor about 35 Riverstone
RS3000 (and some RS8000) routers.
When i first configure MRTG to monitor ports on these routers, it doesnt
show all ports on the router.
Some questions concerning this:
1. How do i tell MRTG to view all ports?
2. How can i add a new port to the graph (the port is commented out in the
config file).
3. I tried the --no-down and the --show-op-down option with the cfgmaker,
but it still dont view all ports.
4. The existing rrds are quite necessesary to keep.

Hope this will do, since it is critical for me to view all ports on each
router.

Thanks in advance for all help...


-Kjetil

joe

unread,
Sep 4, 2001, 11:49:19 PM9/4/01
to
see comments in line

Hi!
I have set up MRTG 2.9.17 and it is set up to monitor about 35
Riverstone
RS3000 (and some RS8000) routers.
When i first configure MRTG to monitor ports on these routers, it
doesnt
show all ports on the router.
Some questions concerning this:
1. How do i tell MRTG to view all ports?

remove the automatic # mrtg configmaker generates on operationally or
administratively downed ports..

2. How can i add a new port to the graph (the port is commented out in
the
config file).

remove the # before EVERY LINE in the port.. Restart the mrtg daemon
or re-run
mrtg (using the new config file)

3. I tried the --no-down and the --show-op-down option with the
cfgmaker,
but it still dont view all ports.

dont mess with those silly options.. if you run simple cfgmaker...

perl cfgmaker pub...@10.0.1.1 >>killerrouter.txt

you get all the ports there and you can remote #'s at will to force
mrtg to
query ports.. the most that can happen is mrtg will graph with 0.0 as
a result

4. The existing rrds are quite necessesary to keep.
Hope this will do, since it is critical for me to view all ports on
each
router.
Thanks in advance for all help...
-Kjetil

"Kjetil" <ok...@dokie.com> wrote in message news:<9n262l$11aa$1...@news.dataguard.no>...

Kjetil

unread,
Sep 5, 2001, 9:11:35 AM9/5/01
to
Well, i removed the comments on all the ports in the config file.
Then i started mrtg again, and then ran :
./indexmaker mrtg.cfg > /var/www/html/mrtg/mrtg.html

The router has about 20 ports and only 6 of these generate graphs...
The cfgmaker line was:
./cfgmaker --global "Workdir: /var/www/html/mrtg1" --global "Options:
growright, bits" public@router1 > mrtg.cfg

Need more advice on how to solve this.


-Kjetil

"joe" <n...@mortgageit.com> wrote in message
news:79240318.01090...@posting.google.com...

0 new messages