############################################################################## # Inrange 9801 Generic WAN Interface cfgmaker template v20030106 # Assembled by Greg Volk from the Inrange 9801 mib. # See http://mrtg.gvolk.com for updates and more info about mrtg in general. # # Example Usage: # cfgmaker --subdirs=HOSTNAME '--if-filter=$default && $if_type==69' \ # --if-template=interface-ir9801-genwan.template public@host # # I used the --if-filter option above because I don't want this type of # config to be built for any interfaces except the 9801 WAN-side interfaces. # All of my WAN-side interfaces happen to be fastEtherFX(69) so I spec'd # 69. If you have a different wan-side type interface, then you may want # to change the type number or leave the --if-filter option out entirely. # Be advised that if you leave the filter off all together you will end up # trying to poll these stats on interfaces that don't support them. # # Another possible way to determine what interfaces should be queried # for the OIDs in this file is to go by interface number. From working # with the IR9801's I have noticed that interface instance numbers in # the 30000 range are WAN ints. I don't do it this way myself, and # instance numbering schemes can certainly change, but it might work. # # Notes: # I didn't graph every possible wan-specific counter in the IR9801 mib. # Some of them just didn't look very interesting, and I experimented with # others and decided that they didn't apply to my particular configuration. # There are many additional OIDs that can be gleaned from the mib, and if # you find one that you think may be useful to others, please send it to # me in template form, and I'll add it. # # This template has been tested with the cfgmaker that was packaged with # mrtg-2.9.17. # # # This template is available under the GNU GPL. For more information, please # see http://www.gnu.org/copyleft/gpl.html. # # # Caveats: # When I did my snmpwalk testing, not surprisingly many of the gauge # variables updated very quickly. Because of this, plotting the gauge data # once every five minutes may give misleading results. # # I don't quite understand the numbers that come from the # ir9801snsWanTxAckReceiveAve10 (.1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.19) # gauge variable. The results that I get seem awfully high (~55000ms on # average). 55 seconds seems like an excessively long time to wait for an # ACK to come back. I figure it's either off by an order of magnititude, or # maybe the box really does work like that. # # # Version History: # 20021003 - Initial Release # 20030106 - Added GPL Licensing Note # # # ############################################################################### # # The number of transmitted packets currently awaiting an ACK. # ir9801snsWanTxPacketsAwaitingAck .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.3 # # The number of packets currently queued for delivery to driver. # ir9801snsWanTxPacketsQueued .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.4 # # if ($if_ok) { my $target_name = $target_name . "-ir9801snsWanAckQ"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: The number of transmitted packets currently awaiting an ACK.
The number of packets currently queued for delivery to driver.
Resource: ir9801snsWanTxPacketsAwaitingAck .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.3 (gauge)
ir9801snsWanTxPacketsQueued .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.4 (gauge)
ECHO } ############################################################################### # # The count of retransmit timeouts that occurred while waiting for an ACK. # ir9801snsWanTxTimeoutAcks .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.5 # # The count of 'no data to send' timeouts that occurred while waiting for # transmit data to become available. # ir9801snsWanTxTimeoutIdles .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.6 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsWanTimeouts"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: The count of retransmit timeouts that occurred while waiting for an ACK.
The count of 'no data to send' timeouts that occurred while waiting for transmit data to become available.
Resource: ir9801snsWanTxTimeoutAcks .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.5 (counter)
ir9801snsWanTxTimeoutIdles .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.6 (counter)
ECHO } ############################################################################### # # The count of retransmit requests (NAK) sent. # ir9801snsWanTxNaks .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.7 # # The count of NAKs sent for which no retransmitted packet was received. # ir9801snsWanTxTimeoutNak .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.8 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsWanNAKs"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: The count of retransmit requests (NAK) sent.
The count of NAKs sent for which no retransmitted packet was received.
Resource: ir9801snsWanTxNaks .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.7 (counter)
ir9801snsWanTxTimeoutNaks .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.8 (counter)
ECHO } ############################################################################### # # The count of retransmitted packets received for which a NAK was sent. # ir9801snsWanRxPacketRetransmits .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.12 # # The count of packets retransmitted due to timeouts or received NAKs. # ir9801snsWanTxTimeoutNak .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.13 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsWanRetrans"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: The count of retransmitted packets received for which a NAK was sent.
The count of packets retransmitted due to timeouts or received NAKs.
Resource: ir9801snsWanRxPacketRetransmits .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.12 (counter)
ir9801snsWanTxPacketRetransmits .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.13 (counter)
ECHO } ############################################################################### # # The average value of the maximum number of octets awaiting an ACK over the # last 10 seconds. # ir9801snsWanTxOctetsAveMax10 .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.17 # # The average value of the number of octets awaiting an ACK over the last 10 # seconds. # ir9801snsWanTxAckOctetsAve10 .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.18 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsWanOutstand"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: The average value of the maximum number of octets*8 awaiting an ACK over the last 10 seconds.
The average value of the number of octets*8 awaiting an ACK over the last 10 seconds.
Resource: ir9801snsWanTxOctetsAveMax10 .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.17 (gauge)
ir9801snsWanTxAckOctetsAve10 .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.18 (gauge)
ECHO } ############################################################################### # # The average time, in milliseconds, between a transmit and its received ACK # over the last ten seconds. # ir9801snsWanTxAckReceiveAve10 .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.19 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsWanLatency"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: The average time, in milliseconds, between a transmit and its received ACK over the last 10 seconds.
Resource: ir9801snsWanTxAckReceiveAve10 .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.19 (gauge)
ECHO } ############################################################################### # # Actual transmitted Bytes/Sec over the sample period. # ir9801snsWanTxOctetsRate .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.20 # Actual received Bytes/Sec over the sample period. # ir9801snsWanRxOctetsRate .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.21 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsWanRate"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: Actual Transmitted Bytes*8/Sec over the sample period.
Actual received Bytes*8/Sec over the sample period
Resource: ir9801snsWanRxOctetsRate .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.21 (gauge)
ir9801snsWanTxOctetsRate .1.3.6.1.4.1.5808.3.1.1.3.1.1.1.1.20 (gauge)
ECHO }