cdot setup events

#setup smtpserver and sender, smtpserver should be reachable.

event config modify -mailserver -mailfrom

#check your settings

event config show
Mail From:
Mail Server:

#create destination for critical messages. the recipient will receive

#everything sent to the destination

event destination create -name critical_messages -mail

#add message severity to destination. all messages with the

#particular severity will be sent to the destination

event route add-destinations {-severity <=CRITICAL} -destinations critical_messages
#check your settings

event route show -severity <=CRITICAL

#prevent flooding example, the message will be sent once per hour max.

event route modify -messagename bootfs.varfs.issue -timethreshold 3600

set d

event generate -messagename cpeer.unavailable -values "hello"

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.