All notifications not being sent!!!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

All notifications not being sent!!!

Post by BanditBBS »

This is a huge issue! I only noticed this once we went to 5.3.0, thought it may have been a fluke, but more instances of it were caught last night and we are on 5.3.1 now.

XI shows notifications going out to our servicedesk(sd) but they are not received by the sd. The are constantly monitoring the notifications report and comparing to their inbox and last night had some say sent but not show up. sd then emails me and lets me know. I then do my research, I have mail debug on and no errors around that time and no "Message Sent" at the time either, so of course nothing in the maillog file either. Its like phpmailer just isn't being called, like the notification handler is either not being called or not running properly! There is absolutely no pattern to this that I can find.

HELP!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: All notifications not being sent!!!

Post by tmcdonald »

Definitely aware of this, compiling a list of common tickets and threads right now since not everyone is having this issue. Devs think they know what the issue is, likely fix on the way. Stay tuned.
Former Nagios employee
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: All notifications not being sent!!!

Post by jomann »

Are all notifications or just some notifications for certain services in particular? Can you send us your eventman.log with at least a bit of data in it - to see if this is related to the other issues or not.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: All notifications not being sent!!!

Post by BanditBBS »

It is not all, it is completely random.

Code: Select all

[jclark@iss-chi-nag05 nagios]$ cat /usr/local/nagiosxi/var/eventman.log
.......PROCESS EVENT: ID=7410712, SOURCE=2, TYPE=1, TIME=2016-10-28 10:02:17
*** GLOBAL HANDLER...
Array
(
    [event_id] => 7410712
    [event_source] => 2
    [event_type] => 1
    [event_time] => 2016-10-28 10:02:17
    [event_meta] => Array
        (
            [handler-type] => service
            [host] => rvbd-chi-dap02
            [service] => Zombie Processes
            [hostaddress] => 10.160.6.23
            [hoststate] => UP
            [hoststateid] => 0
            [hosteventid] => 3092758
            [hostproblemid] => 0
            [servicestate] => OK
            [servicestateid] => 0
            [lastservicestate] => WARNING
            [lastservicestateid] => 1
            [servicestatetype] => SOFT
            [currentattempt] => 2
            [maxattempts] => 3
            [serviceeventid] => 3629066
            [serviceproblemid] => 0
            [serviceoutput] => PROCS OK: 0 processes with STATE = Z
            [longserviceoutput] =>
            [servicedowntime] => 0
        )

    [logging_enabled] => 1
)
*** GLOBAL HANDLER (snmptrapsender)...
Array
(
    [event_id] => 7410712
    [event_source] => 2
    [event_type] => 1
    [event_time] => 2016-10-28 10:02:17
    [event_meta] => Array
        (
            [handler-type] => service
            [host] => rvbd-chi-dap02
            [service] => Zombie Processes
            [hostaddress] => 10.160.6.23
            [hoststate] => UP
            [hoststateid] => 0
            [hosteventid] => 3092758
            [hostproblemid] => 0
            [servicestate] => OK
            [servicestateid] => 0
            [lastservicestate] => WARNING
            [lastservicestateid] => 1
            [servicestatetype] => SOFT
            [currentattempt] => 2
            [maxattempts] => 3
            [serviceeventid] => 3629066
            [serviceproblemid] => 0
            [serviceoutput] => PROCS OK: 0 processes with STATE = Z
            [longserviceoutput] =>
            [servicedowntime] => 0
        )

    [logging_enabled] => 1
)
SNMP TRAP SENDER NOT CONFIGURED!
.
PROCESSED 1 EVENTS
That is the entire contents of the log
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: All notifications not being sent!!!

Post by jomann »

Ah don't see the error in that log but it's like the cmdsubsys.log and it truncates every minute. Since it's random though it's likely the same issue that we saw in other systems. I'll let Trevor continue to manage this, I believe the fix should resolve this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: All notifications not being sent!!!

Post by WillemDH »

I believe the fix should resolve this
Has this issue been identified and resolved in 5.3.2?
Nagios XI 5.8.1
https://outsideit.net
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: All notifications not being sent!!!

Post by mcapra »

Essentially, events with special characters in their status information were not correctly being serialized when inserted into the database. I'm unsure if this is the exact issue you were facing, but it was an issue that affected several user's notifications and was fixed in 5.3.2.
Former Nagios employee
https://www.mcapra.com/
Locked