Cybersecurity
DevOps Cloud
IT Operations Cloud
How to configure NNMi to send out email notifications, when deployed on RHEL Linux, or other Unix distribution.
As a pre-requisite, software package for email notifications must be installed. Usually shipped with standard, RHEL distribution, but if not available, can be installed via yum:
$ yum install mailx
When defining the incident action in NNMi, use type ScriptOrExecutable and define it's parameters.
Example command for Node Down event:
Full list of variables, could be found in the NNMi documentation portal, chapter: Configure an action for an incident
The mailx arguments are also customizable:
-v Verbose mode. The details of delivery are displayed on the user's terminal. (optional, if more debug info is needed)
-s subject Specify subject on command line (only the first argument after the -s flag is used as a subject; be careful to quote subjects containing spaces).
172.10.0.6
adsl-172-10-0-6.global.net
NodeDown
@
Mon Apr 13 15:04:05 IST 2020
NNMi auto message