Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How i can configured Auto Email configuration in Nagios? #946

Open
makwanapratikp opened this issue Feb 2, 2024 · 3 comments
Open

How i can configured Auto Email configuration in Nagios? #946

makwanapratikp opened this issue Feb 2, 2024 · 3 comments
Labels

Comments

@makwanapratikp
Copy link

IF any system is in critical / Warning state i should receive email , from Nagios.

@n5047c
Copy link

n5047c commented Feb 2, 2024

Hello, makwanapratikp.
You should configure contacts, contact groups and notification commands. More info here. Examples here

@makwanapratikp
Copy link
Author

want to configure Office365 email in Nagios, so if host in warning stat will email to me.

@makwanapratikp
Copy link
Author

Error :-
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
D9006C0048 486 Wed Feb 7 11:34:55 system@XXXX
(host smtp.office365.com[40.99.31.130] said: 451 5.7.3 STARTTLS is required to send mail [PN2PR01CA0191.INDPRD01.PROD.OUTLOOK.COM 2024-02-07T06:05:06.240Z 08DC26C880F9AD9D] (in reply to MAIL FROM command)) @xxxx

Postfix "main.cf"
relayhost = [smtp.office365.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
#smtp_sasl_tls_security_options = encrypt
smtp_tls_security_level = may
#smtp_generic_maps = hash:/etc/postfix/generic
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
#Enable IPv4, and IPv6 if supported
inet_protocols = ipv4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants