logmon command is breaking output into multiple alarm suppressions
search cancel

logmon command is breaking output into multiple alarm suppressions

book

Article ID: 269076

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Have a profile that is running and when it generates the alarm and breaks up the output into an alarm and successive alarm count under the same alarm.

Environment

Release: 20.4
Component: logmon

Cause

Format Rules have not been applied to handle the output.

Resolution

A way to deal with this in the case where you do not know what a given output may return (number of rows, ending statement, etc..), you can append a line to the command output like the following example:

/usr/bin/systemctl status nimbus.service; echo "end of output";

this added a carriage return and 'end of output' at the end of the command output:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=RgxiAG8jLH9aQh8eNLDTCA==

Then I set my format rules like this:

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=L2VpDC0SpmCarbELx500WQ==

The result is the complete output with 'end of output' tagged to the end in a single alarm.