search cancel

Need to know how to disable “Polling Safety Valve” alarm

book

Article ID: 216836

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

How to disable the 'Polling Safety Valve' event rule with curl

Environment

Dx NetOps Performance Management any version

Resolution

1. In the CAPC UI:

Administration->Monitoed Items Management->Monitoring Profiles
   Select Device Polling Statistics
   Click the "Event Rules" tab
   Mouse over the header Rule Name and click the gear
   Select Columns and check "EventRuleID"

   The rule is "Polling Safety Valve", get the ID form the EvenRuleID column

In a browser:

1. Go to http://<data aggregator>:8581/rest/eventrules/
2. Search for "Polling Safety Valve" .... you will have to scroll up to get the ID .... they should match

An example:


<EventRule version="1.0.0">
<ID>107349</ID>
<Enabled>false</Enabled>
<MetricFamily>{http://im.ca.com/normalizer}NormalizedDevicePollingStatistics</MetricFamily>
<Window>300</Window>
<ClearConditionList>
<ClearCondition>
<ClearOperator>LESS_THAN</ClearOperator>
<ClearValue>1</ClearValue>
</ClearCondition>
</ClearConditionList>
<Duration>300</Duration>
<Severity>MAJOR</Severity>
<AggregateToDevice>false</AggregateToDevice>
<ViolationConditionList>
<ViolationCondition>
<ViolationConditionType>CONSTANT</ViolationConditionType>
<ViolationPerformanceMetric>IsPollingStoppedDueToPriorTimeouts</ViolationPerformanceMetric>
<ViolationOperator>GREATER_THAN_OR_EQUAL_TO</ViolationOperator>
<ViolationValue>1</ViolationValue>
</ViolationCondition>
</ViolationConditionList>
<Item version="1.0.0">
<Name>Polling Safety Valve</Name>
<Description>Polling stopped due to timeouts</Description>
<CreateTime>Tue Apr 21 15:14:37 2020 -0400</CreateTime>
</Item>
</EventRule>

Rule is 107439

 

3. Run the following command: curl -v -H "Content-Type:application/xml" -X PUT http://DA:8581/rest/eventrules/107349 --data "<EventRule version='1.0.0'><Enabled>false</Enabled></EventRule>"

 

The rule is now disabled and this will be retained when the DA is restarted

Additional Information

  • Only modification of <Enabled>false</Enabled> value is supported.
    Do not modify other values.
  • If you need a rule with other values, disable this one and create a new rule that will satisfy the requirements.
  • If you need to delete a rule run the following command:
    curl -v -H "Content-Type:application/xml" -X DELETE http://DA:8581/rest/eventrules/<rule ID>