Table of Contents |
---|
Prerequisites
...
To add a new notification method, you will need to copy the example Perl code which is in the distribution, which should be at /usr/local/nmis8/lib/Notify/mylog.pm, this is a functional notification method. If you wanted to add something called NetSMS you would copy that tile file to NetSMS.pm, so
Code Block |
---|
$ cp /usr/local/nmis8/lib/Notify/mylog.pm /usr/local/nmis8/lib/Notify/NetSMS.pm |
...
You have access to the following data.
Sample Contact Details
Field | Description |
---|---|
Contact | The contact ID or name |
DutyTime | The on duty string for this contact |
The email address for this contact | |
Location | The location of this contact |
Mobile | Mobile number can be used for SMS alerting |
Pager | Pager value (does anyone still have these?) |
Phone | The phone number |
TimeZone | Timezone offset from GMT |
Sample NMIS Event Details
Depending on your system and what features you have enabled, there may be more values, but at a minimum you will have the following
Field | Description |
---|---|
ack | Has the event been acknowledged or not? |
details | The details associated with the event |
element | The element associated with the event, e.g. interface name |
escalate | What level is the escalation at |
level | Criticality of the event |
node | The node the event is related to. |
time | The time the event was generated |
notify | Who was notified about the event. |
Feedback
We would love you get your feedback, please let us know if you had any problems or would like more information at contact@opmantek.com