Comment 0 for bug 1588553

Revision history for this message
Sundaresan Rajangam (srajanga) wrote : Alarm doesn't show all match conditions

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 doesn't show contrail-topology in the match list.