Hello,
I config'ed my mail setting to SMTP. I'd like to know where to find log of mail/notification.
Tiger
Where to find local mail log for SMTP
Re: Where to find local mail log for SMTP
Code: Select all
/var/log/maillogYou could also refer to "nagios.log" - here you will see checks, notifications, external commands, and events:
Code: Select all
/usr/local/nagios/var/nagios.logBe sure to check out the Knowledgebase for helpful articles and solutions!
Re: Where to find local mail log for SMTP
I just reset password for a test user with 'Email User New Password:' checked. The email has received, but I cannot find any record on both log files (monitored with tail -f command).
BTW, Is there way config the timestamp of records in nagios.log. The default one (Unix timestamp is not readable)
BTW, Is there way config the timestamp of records in nagios.log. The default one (Unix timestamp is not readable)
Re: Where to find local mail log for SMTP
Anything useful in /usr/local/nagiosxi/tmp/phpmailer.log?tigerpeng wrote:I just reset password for a test user with 'Email User New Password:' checked. The email has received, but I cannot find any record on both log files (monitored with tail -f command).
There is not, it will throw a lot of things that rely on those timestamps off if they are changed.tigerpeng wrote:BTW, Is there way config the timestamp of records in nagios.log. The default one (Unix timestamp is not readable)
Former Nagios Employee.
me.
me.
Re: Where to find local mail log for SMTP
No record of mail sending in /usr/local/nagiosxi/tmp/phpmailer.log. There is a SMTP failure error (I used wrong email address for sending email).
It seems the place to log the mailing information. Is there any configuration to set up the log level?
It seems the place to log the mailing information. Is there any configuration to set up the log level?
Re: Where to find local mail log for SMTP
Not without editing the php mailer, which I believe is not open source. Did fixing the sending email address resolve anything? I believe that file only logs when attempts to send are unsuccessful, and ignore successful sends.
Former Nagios Employee.
me.
me.
Re: Where to find local mail log for SMTP
It seems I need sometime to familiar the Naigos XI.
BTW, Do you know what XI stand for? 11?
BTW, Do you know what XI stand for? 11?
Re: Where to find local mail log for SMTP
That's what we're here fortigerpeng wrote:It seems I need sometime to familiar the Naigos XI.
Extended Interface.tigerpeng wrote:BTW, Do you know what XI stand for? 11?
Former Nagios Employee.
me.
me.