nagios core not sending mails

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mariog
Posts: 3
Joined: Tue Dec 30, 2014 7:17 am

nagios core not sending mails

Post by mariog »

Hello,
I have been troubleshooting without results.

since sunday 8am nagios core do not send email/notifications anymore.
i send custom notification via de web interface and nothing is sent, nothing appears on the mail.log
i see the notificatons appear on nagios.log

when I send via the command line. the mails arrive ok. it is just the mails send by the nagios process that are not being sent.

nothing has normally changed on the server.


any idea?

thank you.
mariog
Posts: 3
Joined: Tue Dec 30, 2014 7:17 am

Re: nagios core not sending mails

Post by mariog »

in the meantime I solved this... after 4 hours of trying.

I stopped nagios core and run in the foreground and it appears to be a problem with the permissions on /var/tmp the sticky bit was not set anymore..

I wonder why this was not written in the mail.log or in the nagios.log

hope it helps someone.

btw the core is installed on a solaris 10 virtual machine.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: nagios core not sending mails

Post by abrist »

mariog wrote:I stopped nagios core and run in the foreground and it appears to be a problem with the permissions on /var/tmp the sticky bit was not set anymore..
Glad this is resolved. If you have new issues, open a new thread. Cheers!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked