Cisco interface descriptions
Greetings, all.
We had been using Big Brother until our server hardware died a few months back, and we decided to upgrade to Hobbit. We monitor over 100 servers and about 90 network devices with it.
Is there any way to get Cisco interface descriptions to show up on the graphs in the Trend column? We managed to get the interface name to appear, but we'd really like more control over how things are labeled. i.e. we'd like the interface name AND its description to appear. Where they appear on the graph is not that important.
Thanks, =Seymour=
Seymour J. Brown Network Analyst West Jefferson Medical Center 1101 Medical Center Blvd. Marrero, LA 70072 504-349-2396
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. West Jefferson Medical Center, 1101 Medical Center Blvd., Marrero, USA, www.wjmc.org.
Are you using mrtg on top of hobbit for monitor the interfaces? If so, then you do something like this:
In hobbitgraph.cfg, under the mrtg section put: TITLE exec:/usr/local/hobbit/server/bin/mrtg-title.sh (or whatever path works for you)
Then in mrtg-title.sh do something like this:
#!/bin/sh
HOSTNAME="$1"; shift
GTYPE="$1"; shift
LEGEND="$1"; shift
RRD="$1"; shift
MRTGSET="echo $RRD | sed -e's/\.rrd$//'"
MRTGTITLE=grep -i "Title\[$MRTGSET\]:" /usr/local/mrtg/cfg/devices/$HOSTNAME.cfg | cut -d: -f2-
echo "$MRTGTITLE $LEGEND"
exit 0
You may have to modify it a little if you don't have seperate mrtg config files for each device.
Robert
On 4/24/07, Brown, Seymour <Seymour.Brown at wjmc.org> wrote:
Greetings, all.
We had been using Big Brother until our server hardware died a few months back, and we decided to upgrade to Hobbit. We monitor over 100 servers and about 90 network devices with it.
Is there any way to get Cisco interface descriptions to show up on the graphs in the Trend column? We managed to get the interface name to appear, but we'd really like more control over how things are labeled. i.e . we'd like the interface name AND its description to appear. Where they appear on the graph is not that important.
Thanks,
=Seymour=
Seymour J. Brown
Network Analyst
West Jefferson Medical Center
1101 Medical Center Blvd.
Marrero, LA 70072
504-349-2396
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. West Jefferson Medical Center, 1101 Medical Center Blvd., Marrero, USA, www.wjmc.org.
participants (2)
-
robertholden@gmail.com
-
Seymour.Brown@WJMC.ORG