How to configure mail on nagios xi on server side
To configure email notifications on Nagios XI on the server side, you'll need to follow these steps:
Step 1: Enable Email Notifications
- Log in to your Nagios XI web interface as an administrator.
- Click on Settings > Notification > Notification Settings.
- In the Notification Settings page, scroll down to the Email section.
- Check the box next to Enable Email Notifications.
- Click Save to save your changes.
Step 2: Configure Email Server Settings
- In the Notification Settings page, scroll down to the Email Server section.
- Enter the following information:
- SMTP Server: The hostname or IP address of your email server (e.g.,
mail.example.com
). - SMTP Port: The port number used by your email server (e.g.,
25
or587
). - SMTP Username: The username to use when connecting to your email server (e.g.,
nagios
). - SMTP Password: The password to use when connecting to your email server (e.g.,
nagiospassword
).
- SMTP Server: The hostname or IP address of your email server (e.g.,
- Click Save to save your changes.
Step 3: Configure Email Notification Templates
- In the Notification Settings page, scroll down to the Email Notification Templates section.
- Click on the Edit button next to the Default Email Notification Template.
- In the Email Notification Template page, you can customize the email template to your liking. You can add or remove fields, and modify the email body and subject.
- Click Save to save your changes.
Step 4: Configure Contact Groups
- In the Notification Settings page, scroll down to the Contact Groups section.
- Click on the Edit button next to the Default Contact Group.
- In the Contact Group page, you can add or remove contacts and configure their notification settings.
- Click Save to save your changes.
Step 5: Test Email Notifications
- Go to the Notifications page and click on the Test Email button.
- Enter the email address you want to test the notification with.
- Click Send Test Email to send a test email.
- Check your email inbox to verify that the email was sent successfully.
That's it! With these steps, you should now have email notifications configured on your Nagios XI server.