Cisco Switch interface names break windows version of MRTG

Clarence <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <CAFuqbM_cvP+2su+T7TkbAyy9Du+tKbvrUDwTf2iwJCN9kqJuMA@mail.gmail.com>
I search high and low for a solution to mt windows installation of MRTG.
(2.17.4)

Ok.. Here goes... Theres a million ciso switches in the world so someone
else has to have the same problem as I do.

I setup everything and its working fine until I try to run the cfgmaker
with the --ifref=descr --ifdesc=descr options.   The Cisco switch interface
names are GigabitInterface1/0/1 etc... and this is an invalid file name in
windows.  Soooooo how to tou get around this.  Can I some how  map the
slashes '/' to underscores '_'  so that windows will create the output HTML
files when I execute the perl mrtg mrtg.cfg command??

I tried to set a description on the port within Cisco and MRTG doesnt read
that field. It still uses the interface name.  I'm using a template to
create my .cfg file so maybe thats messed up.

If you are using MRTG and your interface names are similar to this
"gigabitinterface1/0/1" and you are able to get the --ifref=descr or
--ifref=name options to create HTML files with the interface description
please let me know.

Thx

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.