Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2733

Alert Creation Wizard (Port disabled entity)

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Professional Edition
    • Web Interface
    • None

    Description

      Since the new alert wizard got public we are facing an error while creating port associations with the ifAdminStatus entity.

      I was able to debug it and found out that it's currently following alert code

      {"condition":"AND","rules":[{"id":"device.os.free","field":"device.os","type":"string","input":"text","operator":"equals","value":"ironware"},{"id":"entity.disabled","field":"entity.disabled","type":"integer","input":"select","operator":"equals","value":0},{"condition":"OR","rules":[{"id":"entity.ifType","field":"entity.ifType","type":"string","input":"text","operator":"equals","value":"ethernetCsmacd"},{"id":"entity.ifType","field":"entity.ifType","type":"string","input":"text","operator":"equals","value":"ieee8023adLag"}]}],"valid":true}
      

      instead of

      {"condition":"AND","rules":[{"id":"device.os.free","field":"device.os","type":"string","input":"text","operator":"equals","value":"ironware"},{"id":"entity.disabled","field":"ports.ifAdminStatus","type":"integer","input":"select","operator":"equals","value":"up"},{"condition":"OR","rules":[{"id":"entity.ifType","field":"entity.ifType","type":"string","input":"text","operator":"equals","value":"ethernetCsmacd"},{"id":"entity.ifType","field":"entity.ifType","type":"string","input":"text","operator":"equals","value":"ieee8023adLag"}]}],"valid":true}

      Attachments

        Issue Links

          Activity

            [OBS-2733] Alert Creation Wizard (Port disabled entity)

            Ok, fixed in r9353.

            landy Mike Stupalov added a comment - Ok, fixed in r9353.

            Yes, the ifAdminStatus field does not exists. I thought that "Port Disabled" will it be, but it does not look like

            dklimek Denis Klimek added a comment - Yes, the ifAdminStatus field does not exists. I thought that "Port Disabled" will it be, but it does not look like

            Ahh, you mean not exist entity field ifAdminStatus

            landy Mike Stupalov added a comment - Ahh, you mean not exist entity field ifAdminStatus

            Than I not fully understand issue..

            landy Mike Stupalov added a comment - Than I not fully understand issue..

            Already using the rolling version to be up to date :/

            dklimek Denis Klimek added a comment - Already using the rolling version to be up to date :/

            Already fixed in rolling, pls tempory use trunk/rolling or wait for some time while stable will synched.

            landy Mike Stupalov added a comment - Already fixed in rolling, pls tempory use trunk/rolling or wait for some time while stable will synched.

            People

              landy Mike Stupalov
              dklimek Denis Klimek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: