Maintenance mode via nimalarm (version 2.5)

Document created by chrlu01 Employee on Aug 14, 2017Last modified by chrlu01 Employee on Aug 21, 2017
Version 2Show Document
  • View in full screen mode


- Recently a client had a request to have the possibility to set a server/device in maintenance via a simple "nimalarm" message. (he used to do the same in NSM with a cawto command)

- A second requirement was that in the message he would set the servername and the # of seconds that the device needed to stay in maintenance.

The agreed alarm format was: nimalarm -l 1 "maint_on servername #seconds"


The solution exist in a new custom probe, that need to be installed only on the main UIM hub: probe_maint_on.

A Nas AO profile will trap all alarms starting with "maint_on" an repost them with subject: "maint"

This probe will connect to a user defined attach queue: maint.

For each message we will create a new maintenance calendar and define the server into this calendar. When the definitions ends ok the original maint_on alarm is cleared.

The attached zip contains:

- version 2.5

- doc file

- sql examples how to delete empty and expired maintenance calendars

4 people found this helpful