I have created a custom SNMP probe for a Wireless Device from Tranzeo. The last hitch on this probe is I am not able to get any statistics on the wireless Interface Link. When I use the snmp traffic probe, I do get statistics on the wireless interface link
Following is the custom probe as I have it. Any input would be greatly appreciated. <!-- Scott Piehn's Tranzeo SNMP probe for InterMapper - http://intermapper.com Import it using File -> Import -> Probe... This is a custom probe that monitors several variables for InterMapper. ----------------------------------------------------------------------------------- Please feel free to use this file as a base for further development. Read the Developer Guide to learn more about InterMapper Probes. The Guide is at: http://dartware.com/go.php?to=intermapper.devguide --> -- The <description> section contains the text that will appear in the Set Probe... window. -- It gives you a chance to describe how the probe works, what the parameters are, and how to -- how to set it up. <description> \gb\tranzeo\p\ Probe for Monitoring Tranzeo 6th Generation Devices. has been Tested with CPQ 19 V4.02 </description> -- -- -- The <header> section determines the probe's unique name, what kind of probe it is, -- its Human Name, and its place in the probe picker hierarchy, and other assorted attributes. <header> "type" = "custom-snmp" "package" = "com.dartware" "probe_name" = "wrls.tranzeo-snmp" "human_name" = "Tranzeo 6th Generation" "display_name" = "Wireless/Tranzeo/6th Generation-snmp" "version" = ".1" "address_type" = "IP,AT" "port_number" = "161" "flags" = "NOLINKS" </header> -- -- -- <snmp-device-properties> are flags that alter the InterMapper probe's behavior. -- You generally do not need to use these, but they can be useful for devices that don't -- work as expected. For more information, see the <snmp-device-properties> section of the -- Developer Guide's at: http://dartware.com/support/docs/index.html <snmp-device-properties> -- none required </snmp-device-properties> -- -- -- Parameters are user-settable values that the probe uses for its comparisons. -- Specify the default values here. The customer can change them and they will be retained for each device. <parameters> LowSignalWarning = "-80" LowSignalCritical = "-85" HighSignalWarning = "-50" </parameters> -- -- -- InterMapper retrieves the <snmp-device-variables> using the OID or -- variable names from the MIB. -- Specify the variable name, the MIB name or OID, the format (usually DEFAULT) -- and a short description. <snmp-device-variables> Type, iso.2.840.10036.3.1.2.1.2.1, DEFAULT, "Antenna Type" Firmware, iso.2.840.10036.3.1.2.1.4.1, DEFAULT, "Firmware" Signal, 1.3.6.1.4.1.24575.1.1.2.0, DEFAULT, "Signal Average" SignalLow, 1.3.6.1.4.1.24575.1.1.1.0, DEFAULT, "Signal Low" SignalHigh, 1.3.6.1.4.1.24575.1.1.3.0, DEFAULT, "Signal High" NoiseAverage, 1.3.6.1.4.1.24575.1.2.2.0, DEFAULT, "Noise Average" NoiseLow, 1.3.6.1.4.1.24575.1.2.1.0, DEFAULT, "Noise Low" NoiseHigh, 1.3.6.1.4.1.24575.1.2.3.0, DEFAULT, "Noise High" TXRate, ifSpeed.1, DEFAULT, "Rate 1" APMAC, 1.3.6.1.4.1.24575.4.2.1, DEFAULT, "AP MAC" WlanMacAddress, iso.2.840.10036.1.1.1.1.1, DEFAULT, "WAN MAC" SSID, iso.2.840.10036.1.1.1.9.1, DEFAULT, "SSID" WLANBytesR, ifInOctets.1, TOTAL-VALUE, "WLAN BytesR" WLANBytesT, ifOutOctets.1, TOTAL-Value, "WLAN BytesT" TXRateMbps, ${TXRate}/1000000, CALCULATION, "" BytesRF, $WLANBytesR >= 1024*1024*1024 ? sprintf("%.2f GB", $WLANBytesR / (1024*1024*1024)) : $WLANBytesR >= (1024*1024) ? sprintf("%.2f MB", $WLANBytesR / (1024*1024)) :$WLANBytesR >= 1024 ? sprintf("%.2f KB", $WLANBytesR / 1024) : sprintf("%d B", $WLANBytesR), CALCULATION, "" BytesTF, $WLANBytesT >= 1024*1024*1024 ? sprintf("%.2f GB", $WLANBytesT / (1024*1024*1024)) : $WLANBytesT >= (1024*1024) ? sprintf("%.2f MB", $WLANBytesT / (1024*1024)) :$WLANBytesT >= 1024 ? sprintf("%.2f KB", $WLANBytesT / 1024) : sprintf("%d B", $WLANBytesT), CALCULATION, "" -- Following is from SNMP Traffic Probe ifInOctets, ifInOctets.1, DEFAULT, "" ifInUcastPkts, ifInUcastPkts.1, DEFAULT, "" ifInNUcastPkts, ifInNUcastPkts.1, DEFAULT, "" ifOutOctets, ifOutOctets.1, DEFAULT, "" ifOutUcastPkts, ifOutUcastPkts.1, DEFAULT, "" ifOutNUcastPkts, ifOutNUcastPkts.1, DEFAULT, "" -- Following are to detect error conditions ifInDiscards, ifInDiscards.1, DEFAULT, "" ifInErrors, ifInErrors.1, DEFAULT, "" ifOutDiscards, ifOutDiscards.1, DEFAULT, "" ifOutErrors, ifOutErrors.1, DEFAULT, "" </snmp-device-variables> -- -- -- The 'autorecord' section specifies the variables that -- will be saved to the InterMapper Database. -- No 'autorecord' variables specified. -- Specify rules for setting the device into Alarm or Warning state. -- The rules are tested top-to-bottom, and stop when one matches. <snmp-device-thresholds> Critical: $SignalStrength <$LowSignalCritical warning: $SignalStrength <$LowSignalWarning warning: $SignalStrength >$highSignalWarning </snmp-device-thresholds> -- -- -- The <snmp-device-display> section specifies the text that will be appended -- to the device's Staus Window. <snmp-device-display> \B5\Ubiquity CPE Details\P0\\4\ (\2U=http://${deviceaddress}\manage\P0\)\4\ Antenna Type:\0\ $Type \MO\\4\ Firmware Version:\0\ $Firmware \MO\\4\ WLAN MACAddress:\0\ $WlanMacAddress \MO\\4\ AP MAC Addredss:\0\ $APMAC \MO\\4\ Signal Average/Low/High:\0\ $Signal $SignalLow $SignalHigh\MO\\4\ Noise Average/Low/High:\0\ $NoiseAverage $NoiseLow $NoiseHigh \MO\\4\ TX Rate Mbps:\0\ $TXRateMbps Mbps\MO\\4\ SSID:\0\ $SSID \MO\\4\ Frequency: WLAN Bytes Received:\0\ $BytesRF \MO\\4\ WLAN Bytes Transmited:\0\ $BytesTF \MO\\4\ ifInOctets:\0\ $ifInOctets \MO\\4\ ifInUcastPkts:\0\ $ifInUcastPkts \MO\\4\ </snmp-device-display> --------------------------------------------- Scott Piehn JCWIFI.com Division Manager Computer Dynamics 451 W. South St Freeport, IL 61032 V 815.233.2641 F 815.233.6225 E [email protected] ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [email protected]
