[Help] Can anyone help me to create these two templates ?
Moderators: Developers, Moderators
[Help] Can anyone help me to create these two templates ?
I am currently monitoring ADSL SNR and Attenuation for my Billion 7402VGO ADSL modem/router by using following section in MRTG with RFC1471-MIB,RFC1472-MIB,RFC1473-MIB,RFC1474-MIB,RFC1695-MIB,RFC2493-MIB,RFC2662-MIB loaded, by converting all graphs into cacti I need create template to generate SNR and attenuation in cacti, but I don't have any idea how to create them, can anyone help me on this ? thanks
## ADSL SNR Margin ##
Target[snr]: adslAtucCurrSnrMgn.4&adslAturCurrSnrMgn.4:public@192.168.1.254
MaxBytes[snr]: 640
Factor[snr]: 0.1
YTicsFactor[snr]: 0.1
Title[snr]: SNR
PageTop[snr]: <H1>ADSL Signal to Noise Ratio Margin</H1>
Options[snr]: gauge, nopercent, growright
YLegend[snr]: dB
ShortLegend[snr]: dB
LegendI[snr]: Central SNR Margin
LegendO[snr]: Remote SNR Margin
Legend1[snr]: Central Signal to Noise Ratio Margin
Legend2[snr]: Remote Signal to Noise Ratio Margin
## ADSL Attenuation ##
Target[atn]: adslAtucCurrAtn.4&adslAturCurrAtn.4:public@192.168.1.254
MaxBytes[atn]: 640
Factor[atn]: 0.1
YTicsFactor[atn]: 0.1
Title[atn]: Attenuation
PageTop[atn]: <H1>ADSL Attenuation</H1>
Options[atn]: gauge, nopercent, growright
YLegend[atn]: ADSL Attenuation
ShortLegend[atn]: dB
LegendI[atn]: Central Attenuation
LegendO[atn]: Remote Attenuation
Legend1[atn]: Central Attenuation
Legend2[atn]: Remote Attenuation
## ADSL SNR Margin ##
Target[snr]: adslAtucCurrSnrMgn.4&adslAturCurrSnrMgn.4:public@192.168.1.254
MaxBytes[snr]: 640
Factor[snr]: 0.1
YTicsFactor[snr]: 0.1
Title[snr]: SNR
PageTop[snr]: <H1>ADSL Signal to Noise Ratio Margin</H1>
Options[snr]: gauge, nopercent, growright
YLegend[snr]: dB
ShortLegend[snr]: dB
LegendI[snr]: Central SNR Margin
LegendO[snr]: Remote SNR Margin
Legend1[snr]: Central Signal to Noise Ratio Margin
Legend2[snr]: Remote Signal to Noise Ratio Margin
## ADSL Attenuation ##
Target[atn]: adslAtucCurrAtn.4&adslAturCurrAtn.4:public@192.168.1.254
MaxBytes[atn]: 640
Factor[atn]: 0.1
YTicsFactor[atn]: 0.1
Title[atn]: Attenuation
PageTop[atn]: <H1>ADSL Attenuation</H1>
Options[atn]: gauge, nopercent, growright
YLegend[atn]: ADSL Attenuation
ShortLegend[atn]: dB
LegendI[atn]: Central Attenuation
LegendO[atn]: Remote Attenuation
Legend1[atn]: Central Attenuation
Legend2[atn]: Remote Attenuation
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
When running a windows system, I'd definitively have a look at ethereal at http://www.ethereal.com/. Don't forget the winpcap. When starting the trace, it will ask you for a filter option. Use the string port 161.dust2k wrote:Ooops, this is the first time to use TCPDump, I downloaded microldap's windows tcpdump, but I am not sure which command line just can capture certain dst IP (192,168.1.254) with port 161 and all SNMP packages, can you give me some hints ?
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
dust2k wrote:Just try to make things simple, what's command line options to catpure all packages point to 192.168.1.254:161 ?
Code: Select all
tcpdump host 192.168.1.254 port 161
Reinhard
There is only one network interface card so don't need point the interface, but your command gives parse error, I will try to read manual to get it right bit lazy yesterday.lvm wrote:if you're using a special interface (e.g. bond0) you'll have to prepend -i bond0Code: Select all
tcpdump host 192.168.1.254 port 161
Reinhard
Finally done the capture with ethereal, the file is here, the capture filter is "host 192.168.1.254 and port 161" . I am currently monitor four interfaces (ppp-1, wireless bridge and ethernet) plus uptime, SNR and ATT.
The order from MRTG .cfg file is Ethernet interface , bridge, wireless, Uptime, SNR, Attenuation , ADSL. I believe the captured package are following the same order, so second last and third last will be the OIDs I need for querying the device.
thanks lvm.
The order from MRTG .cfg file is Ethernet interface , bridge, wireless, Uptime, SNR, Attenuation , ADSL. I believe the captured package are following the same order, so second last and third last will be the OIDs I need for querying the device.
thanks lvm.
- Attachments
-
- 7402.zip
- (715 Bytes) Downloaded 604 times
Who is online
Users browsing this forum: No registered users and 1 guest