3 Replies Latest reply on Jan 27, 2009 3:53 PM by bwiechman

    Universal Device Poller Variables

    bwiechman

      What variables are typically populated for UnDP alerts? I've been trying to troubleshoot a couple alerts that aren't always providing the information that I was looking for so I dumped out all the variables that the docs list as valid for a custom node poller but the results below are typical. As you can see only a small subset of the information is actually populated. According to the docs Rate/Status/RawStatus/Total will be populated differently depending on the MIB Value Type, but I don't get any useful information from any of those variables either.

      Alert Email:

      ${Nodename} is tracking less than 4 satellites. ${Datetime}
      ${CR}
      Status ${Status}${CR}
      Rate ${Rate}${CR}
      Raw Status ${RawStatus}${CR}
      Total ${Total}${CR}
      Poller Type ${PollerType}${CR}
      Assignment Name ${AssignmentName}${CR}
      Assgn ID ${CustomPollerAssignmentID}${CR}
      int id ${InterfaceID}${CR}
      Node id ${NodeID}${CR}
      poller id ${PollerID}${CR}
      time unit id ${DefaultDisplayTimeUnitID}${CR}
      desc ${Description}${CR}
      ena ${Enabled}${CR}
      format ${Format}${CR}
      group ${GroupName}${CR}
      history ${IncludeHistoricalStatistics}${CR}
      last change ${LastChange}${CR}
      last utc ${LastChangeUTC}${CR}
      mib ${MIB}${CR}
      prx ${NetObjectPrefix}${CR}
      oid ${OID}${CR}
      parser ${ParserID}${CR}
      pollerid ${PollerID}${CR}
      poller type ${PollerType}${CR}
      get type ${SNMPGetType}${CR}
      time unit id ${TimeUnitID}${CR}
      time unit quan ${TimeUnitQuantity}${CR}
      name ${UniqueName}${CR}
      units ${Unit}${CR}

       

       

      Output:

      Status Unknown

      Rate ${Rate}

      Raw Status ${RawStatus}

      Total ${Total}

      Poller Type ${PollerType}

      Assignment Name rbGPSNumberOfRxSatellites on Long Prairie Modular BTS

      Assgn ID c5f15189-8001-4abc-8bac-c1e693aabae6

      int id 95

      Node id 95

      poller id f269eb8f-ed67-49eb-baad-170c90e130fa

      time unit id ${DefaultDisplayTimeUnitID}

      desc ${Description}

      ena ${Enabled}

      format ${Format}

      group ${GroupName}

      history ${IncludeHistoricalStatistics}

      last change ${LastChange}

      last utc ${LastChangeUTC}

      mib ${MIB}

      prx ${NetObjectPrefix}

      oid ${OID}

      parser ${ParserID}

      pollerid f269eb8f-ed67-49eb-baad-170c90e130fa

      poller type ${PollerType}

      get type ${SNMPGetType}

      time unit id ${TimeUnitID}

      time unit quan ${TimeUnitQuantity}

      name ${UniqueName}

      units ${Unit}

       

      I have dumped the same information from several different UnDP with the same results. I am especially interested in the actual polled value, which you can see I do not get.

       

      Does Orion log fired alerts somewhere, especially for snmp trap or syslog alerts. I haven't found a way to test snmp alerts so when there are issues it is difficult to determine what went wrong.

        • Re: Universal Device Poller Variables
          bwiechman

          Apparently this is a bug... no ETA on a fix...

          Does anyone have a workaround? I've tried a custom SQL query to dig up the last polled value, but the poller id or other variables that are populated are not expanded within a SQL query. With 200 nodes and a couple hundred universal device pollers configuring an alert that would accurately retrieve the last polled values per poller is not a valid option...

          Does anyone have any suggestions?

            • Re: Universal Device Poller Variables
              casey.schmit

              I'm not sure what the bug is, but I just created a 'Custom Node Poller' alert and was able to get the value.

              In this case, I just set up a poller to get data from ifNumber and set the alert to trigger if the value was greater than 3. 

              Here's my trigger condition: "Numeric Status is greater than 3"

              I created a NetPerfMon Event Log action and I set the message to be: "The value is: ${CustomPollerStatus.RawStatus}"

              To get this value, I used the "Insert Variable" button below the message field and selected my fields.  I tried a selection from CustomPollers and CustomPollerStatus sections and there appeared to be no problems.

              Does the above not work for you?  Is there something different you are doing?