02-22-2006 03:18 AM
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.
02-22-2006 04:33 AM
Any ideas?
02-22-2006 06:10 AM
Maybe somebody knows how to disable snmp on per interface basis on the switch 2970?
02-22-2006 06:35 AM
Hi,
SNMP is enabled globally and cannot be disabled on a per interface basis.
kind regards,
Kevin
02-22-2006 06:33 AM
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[
SetEnv[
MaxBytes[
Title[
PageTop[
System: | |
Maintainer: | |
Description: | GigabitEthernet3/5 |
ifType: | ethernetCsmacd (6) |
ifName: | Gi3/5 |
Max Speed: | 125.0 MBytes/s |
In the first line:
Target[
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide