Search found 24 matches
- Fri Dec 20, 2019 6:37 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
I ran chmod 777 -R on the /var/spool/clientmqueue directory and now custom host notifications are working.
- Fri Dec 20, 2019 6:00 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
in my nagios.log I am getting: [1576881875] EXTERNAL COMMAND: SEND_CUSTOM_HOST_NOTIFICATION;ALPBACKSRV2008;3;Nagios Admin;test [1576881875] HOST NOTIFICATION: nagiosadmin;ALPBACKSRV2008;CUSTOM (UP);notify-host-by-email;PING OK - Packet loss = 0%, RTA = 0.69 ms;Nagios Admin;test [1576881875] wproc: N...
- Fri Dec 20, 2019 5:51 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
If I use the command: [root@nagios objects]# /usr/sbin/sendmail -s jason.payne@payneintheit.com test . then i get an email sent to jason.payne@payneintheit.com from root<spatchephunk@gmail.com> because I am using smtp.gmail.com and authenticating as spatchephunk@gmail.com HOWEVER, Nagios sends the c...
- Thu Dec 19, 2019 1:51 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
I placed the 'contact_groups admins'
inside my service funtion and not just my host function.. and I am still not getting the alert. Somewhere my Nagios configuration is broken.
inside my service funtion and not just my host function.. and I am still not getting the alert. Somewhere my Nagios configuration is broken.
- Thu Dec 19, 2019 11:46 am
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
Here is my contacts.cfg define contact { contact_name nagiosadmin ; Short name of user use generic-contact ; inherit from above alias Nagios Admin ; Full name of user email jason.payne@payneintheit.com ; your email } Here is my nagios.cfg # OBJECT CONFIGURATION FILE(S) # These are the object configu...
- Thu Dec 19, 2019 11:38 am
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
Ok I will check on the permissions in sendmail forums. Yes I can send emails using telnet and sendmail commands and receive them. If Nagios tries to send the email I get the following below: It thinks the Recipient is nagios.apifw.com ?? Action: failed Status: 5.1.1 Remote-MTA: DNS; [127.0.0.1] Diag...
- Wed Dec 18, 2019 8:49 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
What does this mean? Now something is wrong with Nagios but no longer sendmail.... ----- Transcript of session follows ----- 553 5.1.3 Alert:... List:; syntax illegal for recipient addresses ... while talking to [127.0.0.1]: >>> DATA <<< 550 5.1.1 <Host@nagios.apifw.com>... User unknown 550 5.1.1 Ho...
- Wed Dec 18, 2019 8:39 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
[root@nagios mail]# /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/sbin/sendmail -s "** $NOTIFICATIONTYPE$ Host Alert: ...
- Wed Dec 18, 2019 8:16 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
OK I can send an email by telnet 25, I can also send an email by sendmail -v [email protected]...
However, I am not receiving alerts from Nagios.
However, I am not receiving alerts from Nagios.
- Wed Dec 18, 2019 8:08 pm
- Forum: Open Source Nagios Projects
- Topic: sendmail and Nagios Core Alerting
- Replies: 28
- Views: 21770
Re: sendmail and Nagios Core Alerting
I am realizing that smtp-relay.gmail.com is used for G Suite accounts which I do not have. I switched it back to smtp.gmail.com and was able to successfully send a test email to myself.