This support forum board is for support questions relating to
Nagios xi , our flagship commercial network monitoring solution.
eloyd
Cool Title Here
Posts: 2189 Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Post
by eloyd » Fri Apr 23, 2021 7:03 am
So I'm banging my head against this issue and can't find an answer:
Code: Select all
Where does Nagios xi put its mail logs when SMTP is chosen as the mail delivery mechanism?
I know I'm dense and I often forget to take out the trash, but I've grepped the entire file system and can't find what I'm looking for.
gsmith
Posts: 1253 Joined: Tue Mar 02, 2021 11:15 am
Post
by gsmith » Fri Apr 23, 2021 11:03 am
Hi,
If you have SMTP selected, but the Logging checkbox is unchecked like:
Screenshot 2021-04-23 105854.jpg
You will not have any output to a log file. However if you follow this document:
https://support.nagios.com/kb/article.php?id=820
you will be shown how to enable debug logging.
Then you can watch these files:
Code: Select all
/var/log/maillog
/usr/local/nagiosxi /tmp/phpmailer.log
Thanks
You do not have the required permissions to view the files attached to this post.
eloyd
Cool Title Here
Posts: 2189 Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Post
by eloyd » Fri Apr 23, 2021 11:51 am
All these years, I've been thinking that Nagios has been logging SMTP traffic to...you know...syslog all along. Now when I need to go find something, it's not there and I discover this.
Thanks. I would strongly suggest that this be a checkable box in the config GUI rather than having to go edit class files which tend to get overridden during upgrades. It would have been sooooo much easier!
You can close this.
benjaminsmith
Posts: 5324 Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul
Post
by benjaminsmith » Fri Apr 23, 2021 5:18 pm
Hi Eric,
Thanks for the feedback!
We'll close this out.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
Be sure to check out our
Knowledgebase for helpful articles and solutions!