Customize Robot Inactive Alarm message with a NAS Pre-processing script
search cancel

Customize Robot Inactive Alarm message with a NAS Pre-processing script

book

Article ID: 371179

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Robot Inactive Alarm message needs to be modified as shown below.

"Heartbeat robot <robotname> is inactive"

How can this message be changed?

Environment

Any UIM version

Resolution

1. Launch IM and add the script below in NAS Config ->Auto Operator->Scripts and save. Example heartbeatrobotmessage

event.level = 5
event.message = "Heartbeat robot "..event.robot.." is inactive"
return event

2. Click on Pre-processing rules and add the rule as shown below with /.*Robot.*.is\sinactive.*/ in the Message string and Click OK to save the change.