[Mainline:#2734] Alarm doesn't show all match conditions

Bug #1588553 reported by Sundaresan Rajangam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
New
High
Nikhil Bansal

Bug Description

When I stopped the contrail-snmp-collector service; the following alarm was raised

{
    "analytics-node": [
        {
            "name": "a6s9",
            "value": {
                "UVEAlarms": {
                    "alarms": [
                        {
                            "ack": false,
                            "rules": [
                                {
                                    "rule": [
                                        {
                                            "condition": {
                                                "operand1": "NodeStatus.process_info.process_state",
                                                "operand2": "\"PROCESS_STATE_RUNNING\"",
                                                "operation": "!=",
                                                "vars": [
                                                    "NodeStatus.process_info.process_name"
                                                ]
                                            },
                                            "match": [
                                                {
                                                    "json_operand1_value": "\"PROCESS_STATE_STOPPED\"",
                                                    "json_vars": {
                                                        "NodeStatus.process_info.process_name": "\"contrail-topology\""
                                                    }
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ],
                            "severity": 3,
                            "timestamp": 1464906160112135,
                            "token": "eyJ0aW1lc3RhbXAiOiAxNDY0OTA2MTYwMTEyMTM1LCAiaHR0cF9wb3J0IjogNTk5NSwgImhvc3RfaXAiOiAiMTAuODQuMTMuOSJ9",
                            "type": "ProcessStatus"
                        }
                    ]
                }
            }
        }
    ]
}

However, when I stopped the contrail-topology service, the alarm did not show contrail-topology in the match list.

Tags: analytics
description: updated
Changed in juniperopenstack:
assignee: nobody → Nikhil Bansal (nikhilb-u)
milestone: none → r3.1.0.0-fcs
summary: - Alarm doesn't show all match conditions
+ [Mainline:#2734] Alarm doesn't show all match conditions
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.