SPECTRUM Process Stop alarms unexpected after configuration of Process Monitor
book
Article ID: 52045
calendar_today
Updated On:
Products
Spectrum
Issue/Introduction
SPECTRUM Process Stop alarms unexpected after configuration of Process Monitor
After configuring the following process monitor, an alarm was asserted when a process stopped. The expectation was the alarm would only be asserted if there were less than 1 and more than 100 of the processes running:
Process Name - mongrel_rails Parameters - None Descriptive Name - mongrel process No. Running - 40 Alarm on Stop - true Alarm on Start - false Alarm if Count < - 1 Alarm if Count > 100 Rule Owner - CRG_PROD_CIA_APP
Environment
Release: 20.2.x Component: SPCAPP - Process Monitoring
Cause
The "Alarm on Stop" is set to True
Resolution
Set "Alarm on Stop" to False.
Additional Information
Reference the "Process Monitoring" section of the documentation for ore information.
In some situations, processes may spawn child processes that run for a short period of time and then exit. In cases like this the 'Process Stop' option being enabled (checked) can alarm on the exit of the child process while the main process continues to alarm. It is suggested to uncheck the 'Process Stop' option and set the 'Process Count less than' option to 1 so that an alarm is raised if there are no instances running.