Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6626

If the HostResourceSwRunMonitor fails because of a timeout, the reason does not reflect it.

    XMLWordPrintable

    Details

      Description

      For example, the HostResourceSwRunMonitor is giving misleading information when the poll times out. Many of the other monitors indicate the difference between a poll failed, timeout over a not found.

      crond outage identified on interface 1.1.1.1 with reason code: HostResourceSwRunMonitor service not found, addr=1.1.1.1, service-name=~^(cron[d]{0,1})$.
      
      SNMP outage identified on interface 1.1.1.1 with reason code: SNMP poll failed, addr=1.1.1.1 oid=.1.3.6.1.2.1.1.2.0.
      
      Load Average outage identified on interface 1.1.1.1 with reason code: SNMP poll failed, addr=1.1.1.1 oid=.1.3.6.1.4.1.2021.10.1.5.3.
      

      To reproduce the behavior, replace the community string and wait for the outage:

      $ ./poller-test -i 172.20.1.135 -s Skype -P example1
      Checking service Skype on IP 172.20.1.135
      Package: example1
      Monitor: org.opennms.netmgt.poller.monitors.HostResourceSwRunMonitor
      Parameter service-name : Skype
      Available ? false (status Down[2])
      Reason: HostResourceSwRunMonitor service not found, addr=172.20.1.135, service-name=Skype
      

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: