############################################################################## # Inrange 9801 Generic Channel 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==73' \ # --if-template=interface-ir9801-genchan.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 channel-side # interfaces. All of my channel-side interfaces happen to be escon(73) # so I spec'd 73. If you have a different channel-side interface type, # 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 50000 range are channels. Of course this could change, so YMMV. # # Notes: # I didn't graph every possible channel-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. # # # Version History: # 20021003 - Initial Release # # 20021004 - Corrected target-names (changed ir9801snsWanOutstand to # ir9801snsChanRxCompUncomp, and ir9801snsWanRetrans to # ir9801snsChanRxCompRatio) # # 20030106 - Added GPL Licensing Note # # ############################################################################### # # The count of all detected channel errors. # ir9801snsChanErrors .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.3 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsChanErrors"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: The count of all detected channel errors.
Resource: ir9801snsChanErrors .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.3 (counter)
ECHO } ############################################################################### # # The count of octets received uncompressed. # ir9801snsChanRxOctetsUncompressed .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.4 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsChanRxUncomp"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description:The count of octets received uncompressed.
Resource: ir9801snsChanRxOctetsUncompressed .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.4 (Counter64)
ECHO } ############################################################################### # # The number of octets currently in the driver transmit queue. # ir9801snsChanTxOctetsPending .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.13 # if ($if_ok) { my $target_name = $target_name . "-ir9801snschantxpend"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: The number of octets*8 currently in the driver transmit queue.
Resource: ir9801snsChanTxOctetsPending .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.13 (gauge)
ECHO } ############################################################################### # # Ratio of uncompressed to compressed bytes. # ir9801snsChanRxCompRatio .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.16 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsChanRxCompRatio"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: Ratio of uncompressed to compressed bytes.
Resource: ir9801snsChanRxCompRatio .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.16 (gauge)
ECHO } ############################################################################### # # Actual received bytes*8/sec prior to compression over the sample period. # ir9801snsChanRxOctetsUncompRate .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.18 # # Actual received bytes*8/Sec after compression over the sample period. # ir9801snsChanRxOctetsRate .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.19 # if ($if_ok) { my $target_name = $target_name . "-ir9801snsChanRxCompUncomp"; my $directory_name = $directory_name . ""; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: Actual received bytes*8/sec prior to compression over the sample period.
Actual received bytes*8/Sec after compression over the sample period.
Resource: ir9801snsChanRxOctetsUncompRate .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.18 (gauge)
ir9801snsChanRxOctetsRate .1.3.6.1.4.1.5808.3.1.1.3.1.2.1.1.19 (gauge)
ECHO }