Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

mrtg interface exclusion

does anyone know how to remove some interfaces from being monitored by mrtg?

I have a switch with 24 ports and need to monitor only the first one gi0/1.

PS Can mrtg store the total amount of traffic that went through? for examle for entire day went 2 Gbytes out and 3 Gbytes in.

4 REPLIES
New Member

Re: mrtg interface exclusion

Any ideas?

New Member

Re: mrtg interface exclusion

Maybe somebody knows how to disable snmp on per interface basis on the switch 2970?

New Member

Re: mrtg interface exclusion

Hi,

SNMP is enabled globally and cannot be disabled on a per interface basis.

kind regards,

Kevin

New Member

Re: mrtg interface exclusion

Hi,

If you have MRTG set up and working, it will be launched referencing to some sort of configuration file. This is the file in which you configured where it should save the output files and so on.

You may have used the configmaker that comes with MRTG to create this file.

Within that file the configmaker will have made an entry for each interface on the switch and as such it is creating reports for each. You can just delete the configuration lines of the interfaces you wish to ignore or you can comment them by putting "#" in front of them.

When you open the configuration file all files that start with "#" are comments and can be ignored. MRTG is making graphics and files for all files such as:

Target[_9]: 9:@:

SetEnv[_9]: MRTG_INT_IP="" MRTG_INT_DESCR="GigabitEthernet3/5"

MaxBytes[_9]: 125000000

Title[_9]: Traffic Analysis for 9 --

PageTop[_9]:

Traffic Analysis for 9 --

System: in
Maintainer:
Description:GigabitEthernet3/5
ifType: ethernetCsmacd (6)
ifName: Gi3/5
Max Speed: 125.0 MBytes/s

In the first line:

Target[_9]: 9:@:

The 9 refers to the index of the interface, in this case interface Gi3/5.

You should locate the entries MRTG has made in its configuration file that point to Gi0/1 and then comment or delete the rest.

Hope this was helpful. Please rate this post if it was.

With kind regards,

Kevin

224
Views
5
Helpful
4
Replies
CreatePlease login to create content