NagiosXI Sporadic Notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: NagiosXI Sporadic Notifications

Post 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)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI Sporadic Notifications

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: NagiosXI Sporadic Notifications

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI Sporadic Notifications

Post by scottwilkerson »

Lets create that

Code: Select all

touch /usr/local/nagiosxi/tmp/phpmailer.log
chown nagios.nagios /usr/local/nagiosxi/tmp/phpmailer.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: NagiosXI Sporadic Notifications

Post by blariv »

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

Post by scottwilkerson »

blariv wrote:ok, now we wait.
Ya you will have to wait for it to generate some notifications
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: NagiosXI Sporadic Notifications

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NagiosXI Sporadic Notifications

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: NagiosXI Sporadic Notifications

Post by blariv »

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
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: NagiosXI Sporadic Notifications

Post 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
Locked