NagiosXI Sporadic Notifications
Re: NagiosXI Sporadic Notifications
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)
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)
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI Sporadic Notifications
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
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.logRe: NagiosXI Sporadic Notifications
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
[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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI Sporadic Notifications
Lets create that
Code: Select all
touch /usr/local/nagiosxi/tmp/phpmailer.log
chown nagios.nagios /usr/local/nagiosxi/tmp/phpmailer.logRe: NagiosXI Sporadic Notifications
ok, now we wait.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXI Sporadic Notifications
Ya you will have to wait for it to generate some notificationsblariv wrote:ok, now we wait.
Re: NagiosXI Sporadic Notifications
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.
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
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.
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NagiosXI Sporadic Notifications
attached
Last edited by tgriep on Tue Jul 17, 2018 8:42 am, edited 1 time in total.
Reason: Profile removed and shared with the other Techs
Reason: Profile removed and shared with the other Techs
Re: NagiosXI Sporadic Notifications
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
[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