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

DefaultProvisionService logs noisily for monitored service having state "N"

    XMLWordPrintable

Details

    • Horizon - July 25th 2018

    Description

      Method DefaultProvisionService.doUpdate(MonitoredService) currently handles only statuses S (suspend polling), R (resume polling), and A (active). For a service with state N (not polled) it logs a WARN-level message Unhandled state: N. This state is not at all uncommon in the real world, so logging at this level about it is just useless noise. We should handle it equivalently to A, which is to say, just break without any logging or action.

      Attachments

        Activity

          People

            jeffg Jeff Gehlbach
            jeffg Jeff Gehlbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: