I set up a custom SNMP probe and when I query using PostGreSQL I can see the field for that value but there is no data in the datapoint table. When I do a status on the map on that device the probe gives me all the correct SNMP values. I just seems to not record any data. The only values that show up are the TX and RX synchronized data. EbNo show up but is zero. Intermapper version is 5.5.2 running on a linux server.
Can any one see what I am doing wrong? Thanks, Scott Here is my probe: <!-- Linkway-TT0x420-Probe probe for InterMapper - http://intermapper.com Copy this text and save as a file named: com.viasat.linkway-modem-probe.txt Then import it using File -> Import -> Probe... This is a custom probe that monitors several variables for InterMapper. ... You can add more commentary if it would be useful ... As you make modifications, be sure to update the Revision history below: Revisions: Monday, September 26, 2011 Generated by Interactive SNMP Probe Builder page, version 1.0a1, at: http://www.intermapper.com/custom-probes-a-snmp/172-probe-builder This is a linkway generic modem probe. MIB objects are obtained by reading the user settable parameters and obtaining the the correct modem/site ID in decimal ----------------------------------------------------------------------------------- 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\Linkway-modem-Probe-0420\p\ modem_id_hex modem_id_dec </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.viasat" "probe_name" = "Linkway-modem-probe-420" "human_name" = "Linkway-modem-Probe-420" "display_name" = "Experimental/Linkway-modem-Probe-0420" "version" = "1.0" "address_type" = "IP,AT" "port_number" = "4700" </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> -- remove parameters for now hard code carriers and terminal numbers -- add back later when ready to make one generic probe "modem_id_hex" = 0x420 "modem_id_dec" = 1056 </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> RxSync1, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.1.1.0, DEFAULT, "RX synchronized" TxSync1, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.1.2.0, DEFAULT, "TX_Syncronized" EbNo1, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.2.1.0, DEFAULT, "EbNo bit energy" RbPower1, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.2.2.0, DEFAULT, "Reference Burst Power" RbAttenuation1, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.2.3.0, DEFAULT, "Reference burst attenuation" BERCar00, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.0.64.1.0, DEFAULT, "Bit Error Rate (carrier 0 terminal 0)" ABSPWR00, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.0.64.2.0, DEFAULT, "Absolute Power (carrier 0 terminal 0)" CRC_errors00, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.0.64.3.0, DEFAULT, "CRC ERRORS (carrier 0 terminal 0)" BERCar10, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.1.1216.1.0, DEFAULT, "Bit Error Rate (carrier 1 terminal 0)" ABSPWR10, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.1.1216.2.0, DEFAULT, "Absolute Power (carrier 1 terminal 0)" CRC_errors10, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.1.1216.3.0, DEFAULT, "CRC ERRORS (carrier 1 terminal 0)" BERCar30, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.3.1024.1.0, DEFAULT, "Bit Error Rate (carrier 3 terminal 0)" ABSPWR30, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.3.1024.2.0, DEFAULT, "Absolute Power (carrier 3 terminal 0)" CRC_errors30, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.3.1024.3.0, DEFAULT, "CRC ERRORS (carrier 3 terminal 0)" BERCar31, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.3.1216.1.0, DEFAULT, "Bit Error Rate (carrier 3 terminal 1)" ABSPWR31, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.3.1216.2.0, DEFAULT, "Absolute Power (carrier 3 terminal 1)" CRC_errors31, 1.3.6.1.4.1.8698.1125449.1.$modem_id_dec.3.3.1216.3.0, DEFAULT, "CRC ERRORS (carrier 3 terminal 1)" </snmp-device-variables> -- The 'autorecord' section specifies the variables that -- will be saved to the InterMapper Database. <autorecord> $ABSPWR00, 'ABSpwr00', "Legend 1", $RxSync1, 'Rsync', "Legend 1", $TxSync1, 'Tsync', "Legend 1", $EbNo1, 'Ebno', "Legend 1", $RbPower1, 'RBpwr', "Legend 1" $RbAttenuation1, 'Rbattn', "Legend 1" $BERCar00, 'BER00', "Legend 1" $CRC_errors00, 'crcerr00', "Legend 1" $BERCar10, 'BERcar10', "Legend 1" $ABSPWR10, 'abspwr10', "Legend 1" $CRC_errors10, 'crcerr10', "Legend 1" $BERCar30, 'BERcar30', "Legend 1" $ABSPWR30, 'ABSpwr30', "Legend 1" $CRC_errors30, 'CRCerr30', "Legend 1" $BERCar31, 'BERcar31', "Legend 1" $ABSPWR31, 'abspwr31', "Legend 1" $CRC_errors31, 'crcerr31', "Legend 1" </autorecord> -- 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> </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\$modem_id_hex\P0\ \4\RxSync:\0\ $RxSync1 \3G\1=True\M0\ \4\TxSync:\0\ $TxSync1 \3G\1=True\M0\ \4\Eb-no:\0\ $EbNo1 \3G\dB\M0\ \4\RbPower:\0\ ${chartable: ##.### :$RbPower1} \3G\dBm\M0\ \4\RbAttenuation:\0\ ${chartable: ##.### :$RbAttenuation1} \3G\dB\M0\ \4\BER_Carrier 0-0 (0x040):\0\ ${chartable: ##.############# :$BERCar00} \3G\BER\M0\ \4\Absolute_power-Carrier 0-0 (0x040):\0\ ${chartable: ####.##### :$ABSPWR00} \3G\dBm\M0\ \4\CRC errors-Carrier 0-0 (0x040):\0\ ${chartable: ######### :$CRC_errors00} \3G\errors\M0\ \4\BER_Carrier1 1-0 (0x740):\0\ ${chartable: ##.############# :$BERCar10} \3G\BER\M0\ \4\Absolute_power-carrier 1-0 (0x740):\0\ ${chartable: ####.##### :$ABSPWR10} \3G\dBm\M0\ \4\CRC errors-carrier 1-0 (0x740):\0\ ${chartable: ######### :$CRC_errors10} \3G\errors\M0\ \4\BER_Carrier1 3-0 (0x740):\0\ ${chartable: ##.############# :$BERCar30} \3G\BER\M0\ \4\Absolute_power-carrier 3-0 (0x740):\0\ ${chartable: ####.##### :$ABSPWR30} \3G\dBm\M0\ \4\CRC errors-carrier 3-0 (0x740):\0\ ${chartable: ######### :$CRC_errors30} \3G\errors\M0\ \4\BER_Carrier1 3-1 (0x740):\0\ ${chartable: ##.############# :$BERCar31} \3G\BER\M0\ \4\Absolute_power-carrier 3-1 (0x740):\0\ ${chartable: ####.##### :$ABSPWR31} \3G\dBm\M0\ \4\CRC errors-carrier 3-1 (0x740):\0\ ${chartable: ######### :$CRC_errors31} \3G\errors\M0\ </snmp-device-display> ---------------------------------------------------------------------- Here is the screenshot of values read when I do a status from the map on the device: Device Status Name: TT-00420Full Probe DNS Name: (Unknown) Address: 192.168.146.3 Status: UP Probe: Linkway-modem-Probe-420 (port 4700 SNMPv1) Up Time: 12 days, 17 hours, 30 minutes Contact: System Administrator Location: <edit location> Availability: 100 % (of 19 hours, 26 minutes, 57 seconds) Packet Loss: 0.0 % (of 5069 total attempts) Short-term Packet Loss: 0.0 % (of 100 last attempts) [Reset] Recent Loss: None Response time: 0 msec Retention Policy: IM46Charts (-2), Exportable 420 RxSync: 1 1=True TxSync: 1 1=True Eb-no: 11.99 dB RbPower: -55.120 dBm RbAttenuation: 3.600 dB BER_Carrier 0-0 (0x040): 0.0000262790250 BER Absolute_power-Carrier 0-0 (0x040): -55.12000 dBm CRC errors-Carrier 0-0 (0x040): 0 errors BER_Carrier1 1-0 (0x740): 0.0029570677000 BER Absolute_power-carrier 1-0 (0x740): -49.47000 dBm CRC errors-carrier 1-0 (0x740): 0 errors BER_Carrier1 3-0 (0x740): 0.0066240802000 BER Absolute_power-carrier 3-0 (0x740): -50.98000 dBm CRC errors-carrier 3-0 (0x740): 0 errors BER_Carrier1 3-1 (0x740): 0.0042896190000 BER Absolute_power-carrier 3-1 (0x740): -50.05000 dBm CRC errors-carrier 3-1 (0x740): 0 errors -------------------------------------------------------------------------- Here is the query and what I get back: SELECT map.name, map.enabled, device.probe, device.probekind, device.name, dataset.tags, dataset.label, dataset.name, datapoint.data_value, datapoint.data_time, dataset.dataset_id, dataset.retentionpolicy_id, retentionpolicy.name, retentionpolicy.raw_expiration, retentionpolicy.hourly_expiration, retentionpolicy.daily_expiration, retentionpolicy.custom_minutes, retentionpolicy.custom_expiration FROM public.map, public.device, public.dataset, public.datapoint, public.retentionpolicy WHERE map.map_id = device.map_id AND map.map_id = dataset.map_id AND dataset.device_id = device.device_id AND dataset.dataset_id = datapoint.dataset_id AND dataset.retentionpolicy_id = retentionpolicy.retentionpolicy_id AND map.name = 'mlw001_remote_sites.map' AND device.name = 'TT-00420Full Probe' AND datapoint.data_time > '04-18-2012 08:40:00' AND dataset.tags != 'RPkL' AND dataset.tags != 'BiRt'; Results (only one row of each SNMP value is shown for brevity): "mlw001_remote_sites.map";t;"Linkway-modem-Probe-420";"snmp";"TT-00420Full Probe";"c003";"EbNo bit energy for TT-00420Full Probe";"c003";0;"2012-04-18 14:35:01+00";3194;-2;"IM46Charts";-1;-1;-1;5;-1 "mlw001_remote_sites.map";t;"Linkway-modem-Probe-420";"snmp";"TT-00420Full Probe";"c001";"RX synchronized for TT-00420Full Probe";"c001";1;"2012-04-18 08:40:19+00";3196;-2;"IM46Charts";-1;-1;-1;5;-1 "mlw001_remote_sites.map";t;"Linkway-modem-Probe-420";"snmp";"TT-00420Full Probe";"c002";"TX_Syncronized for TT-00420Full Probe";"c002";1;"2012-04-18 11:16:24+00";3197;-2;"IM46Charts";-1;-1;-1;5;-1 -------------------- m2f -------------------- Read this topic online here: http://forums.intermapper.com/viewtopic.php?p=4073#4073 ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [email protected]
