Page 2 of 3
Re: NagiosXI Sporadic Notifications
Posted: Thu Jul 12, 2018 8:47 am
by blariv
ah, my misunderstanding. there are no crashes or anything in the log.
is there anyway to debug mail? I ran a tail on the maillog but I am not sure what to look for.
Jul 12 09:44:47 nagiosxi postfix/qmgr[1668]: ED4CF601EDAA: from=<
[email protected]>, size=825, nrcpt=1 (queue active)
Jul 12 09:44:47 nagiosxi postfix/qmgr[1668]: EF212601EDB9: from=<
[email protected]>, size=662, nrcpt=1 (queue active)
Re: NagiosXI Sporadic Notifications
Posted: Thu Jul 12, 2018 12:33 pm
by scottwilkerson
This is going to depend on your settings in Admin -> Manage Email Settings
There is a debug checkbox there if you are using SMTP the log location is at the following location if you turn it on
Code: Select all
/usr/local/nagiosxi/tmp/phpmailer.log
Re: NagiosXI Sporadic Notifications
Posted: Thu Jul 12, 2018 2:15 pm
by blariv
we are using SMTP and I have the debug checked. there isnt even a log file being generated.
[root@nagiosxi ~]# tail -f /usr/local/nagiosxi/tmp/phpmailer.log
tail: cannot open ‘/usr/local/nagiosxi/tmp/phpmailer.log’ for reading: No such file or directory
Re: NagiosXI Sporadic Notifications
Posted: Thu Jul 12, 2018 2:44 pm
by scottwilkerson
Lets create that
Code: Select all
touch /usr/local/nagiosxi/tmp/phpmailer.log
chown nagios.nagios /usr/local/nagiosxi/tmp/phpmailer.log
Re: NagiosXI Sporadic Notifications
Posted: Thu Jul 12, 2018 2:57 pm
by blariv
ok, now we wait.
Re: NagiosXI Sporadic Notifications
Posted: Thu Jul 12, 2018 3:45 pm
by scottwilkerson
blariv wrote:ok, now we wait.
Ya you will have to wait for it to generate some notifications
Re: NagiosXI Sporadic Notifications
Posted: Mon Jul 16, 2018 12:34 pm
by blariv
just an update.
there are no entries in the phpmailer.log
we have alerts going into servicenow to generate auto tickets and that is also sporadic as our 24/7 team sees the Critical on the operations screen but no mail.
Re: NagiosXI Sporadic Notifications
Posted: Mon Jul 16, 2018 4:28 pm
by tgriep
Can you post or PM me your System Profile?
To get your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to the post or PM it to me.
Re: NagiosXI Sporadic Notifications
Posted: Tue Jul 17, 2018 6:34 am
by blariv
attached
Re: NagiosXI Sporadic Notifications
Posted: Tue Jul 17, 2018 8:16 am
by blariv
debugging started working after I recycled. getting this error.
[07-17-2018 09:15:07] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=mail-relay.na.hasbro.com;port=25;smtpauth=true;security=none), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email