...
Notification syntax
There are 4 6 types of notifications that can be added. email: syslog
, json
, email
, ccopy
, pager
and netsend
.
syslog
sends a syslog message to the given syslog server (using the default syslog port 514 and protocol UDP). json
saves a dump of the event in JSON format in a new file in /usr/local/nmis8/logs/json
.
email
and ccopy
(Carbon Copy) are almost identical: both send emails to the contact's address, but ccopy
has a fixed mail priority of "Normal" and the mail message is slightly different.
...
Code Block |
---|
netsend:WKS1:WKS2,email:Contact1,syslog:otherbox.somewhere.com |
In this example the notifications of type netsend
will go to destinations WKS1
and WKS2
, while email
notifications will be sent only to Contact1
's email address(es). Finally, a syslog message of the event would also be sent to otherbox.somewhere.com
.
UpNotify
- When UpNotify is "true", for any "down" message which is sent an UP notification will be sent when the node or element comes up, then lets you know the event is "resolved".
- When set to "false", no notification will be sent when the node or element comes up.
...