Thank you! Checked the variables and we're all good now, notifications are coming through.
Thank you so much for all your help!
Search found 16 matches
- Mon Apr 08, 2019 1:31 pm
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
- Fri Apr 05, 2019 1:07 pm
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
Re: Contacts/email configuration
Ok, one last issue (I hope): The command works in the terminal, but no notifications are sent. What do I need to add to the commands/host config to make that happen?
- Fri Apr 05, 2019 12:49 pm
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
Re: Contacts/email configuration
That fixed it! Thank you! I am typographically challenged, apparently!
- Thu Apr 04, 2019 10:41 am
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
Re: Contacts/email configuration
Also here's what I get back when I run the command:
Code: Select all
Apr 04 08:37:46 HOSTNAME sendEmail[15088]: ERROR => Connection attempt to stmp.gmail.com:587 failed: IO::Socket::INET6: getaddrinfo: Name or service not known
- Thu Apr 04, 2019 10:40 am
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
Re: Contacts/email configuration
Ok, got sendemail to work with gmail, but still no luck running the notification command. Here's what it currently looks like, post-tinkering to make it match my working example gmail test email: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: ...
- Fri Mar 29, 2019 12:19 pm
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
Re: Contacts/email configuration
Thanks, tried that and am having issues connecting to the gmail stmp, which I'm assuming is not a Nagios issue? Will report back if there are further difficulties once I get it to connect.
- Wed Mar 27, 2019 2:35 pm
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
Re: Contacts/email configuration
Ok, fixed the /usr/local/bin/sendEmail, the one that really exists is /usr/bin/sendEmail.
Also fixed the email to reflect the Gmail STMP configuration, which I forgot to fix.
Have added in the contact stuff in the host definition on a test machine, still no notification. What else should I try?
Also fixed the email to reflect the Gmail STMP configuration, which I forgot to fix.
Have added in the contact stuff in the host definition on a test machine, still no notification. What else should I try?
- Wed Mar 27, 2019 1:11 pm
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
Re: Contacts/email configuration
Sure thing, attached.
- Tue Mar 26, 2019 2:16 pm
- Forum: Open Source Nagios Projects
- Topic: Contacts/email configuration
- Replies: 16
- Views: 5340
Contacts/email configuration
Hello, I'm trying to configure Nagios Core to send me emails when the services and hosts go down. I've set up sendEmail, and I think all the values in the contacts and commands config files are correct, but it's not working so presumably I'm missing something. Here is my contact definition: define c...
- Wed Feb 27, 2019 1:27 pm
- Forum: Open Source Nagios Projects
- Topic: Host unreachable Windows 10
- Replies: 13
- Views: 4213
Re: Host unreachable Windows 10
Got it working, just had to get the machine onto the right network. Thank you for your help!