How can I get notified by e-mail in Nagwin ?
Nagwin has blat smtp mailer included. The first step is to let blat save your smtp server settings for later use:
bin/blat -SaveSettings -f from-address -server your.smtp.server -u login -pw password
- You need also to specify your e-mail address for the contact nagiosadmin in etc/nagios/nagwin/contacts.cfg:
define contact{ |
- As a last step, You need to update smtp server information in two notification commands etc/nagios/nagwin/commands.cfg:
# 'notify-host-by-email' command definition # 'notify-service-by-email' command definition |
Replace smtp.server by name/ip of your smtp server (your Exchange server for example). Make sure that your smtp server is configured to accept smtp requests from Nagwin machine.
- Restart the Nagwin_Nagios service to apply changes.
You can issue the command below to test if your mail notification works:
echo "Test message" | bin\blat - -to mail@address -f from@address -subject "Test mail" -server smtp.server
Release news
-
2023-03-21
-
2023-03-20
-
2023-03-20
-
2023-03-10
-
2023-03-09
-
2023-03-04
-
2023-03-02
-
2023-02-28
-
2023-03-07