How to create a heartbeat rule on a specific device and ensure that it is instantiated after a restart of a SpectroSERVER

Document ID : KB000029081
Last Modified Date : 14/02/2018
Show Technical Document Details

How to create a heartbeat rule on a specific device and ensure that it is instantiated after a restart of a SpectroSERVER.

Customers may have a requirement to set up a heartbeat rule in order to monitor a device but also to ensure that the heartbeat rule is instantiated again automatically after a SpectroSERVER restart to ensure continuous monitoring.

Below is an example where a device is modeled as a pingable and we will use the event 0x00010301 (which is the event generated once a pingable device becomes contactable again) to instantiate the heartbeat rule:

1.       <!--[endif]-->You need to first identify the model handle for the pingable device you are working with via the attributes tab on the device and searching model_handle.

2.       <!--[endif]-->Then in Event Configuration youll need to create  an event condition so that when event 0x00010301 is generated and the model handle equals the model handle of that specific pingable,  the required heartbeat rule is instantiated.

3.       <!--[endif]-->The Heatbeat Rule needs to have the following criteria: 

a.        <!--[endif]-->Criterion left operand should be event variable type "attribute id" and value 0x129fa.

b.       <!--[endif]-->Operator should be set to "equal to".

c.        <!--[endif]-->Criterion right operand should be event variable type "hex" and value <attribute id of the devices model_handle>.

d.       <!--[endif]-->Save the changes selecting the save icon (disk).

e.        <!--[endif]-->Select the reload list of events icon in Event Configuration (2 circular arrows).

f.         <!--[endif]-->Then from the VNM model / SpectroSERVER control select update event configuration.

g.        <!--[endif]-->Stop and start the SpectroSERVER so that the 0x00010301 event is generated which you can use to instantiate the heartbeat event. 

Below is a screenshot showing the event condition:

21735376.png