Page 1 of 2

notification-problem

Posted: Mon Nov 07, 2016 6:02 am
by bashar.abed
hi,
i am administrator at Nagios XI version 5.3.2 VM,i added service (log files) to server ,when this logfile happen in this server the notification generate as attached file (SMS and Email) on Nagios Service Notifications ,the employee received email (alarm and ok after it is working ) but he is received on his mobile just ok and he didn't receive alarm error normal case he received alram then ok on mobile and email

Re: notification-problem

Posted: Mon Nov 07, 2016 12:32 pm
by avandemore
Would it be possible for you to upgrade to 5.3.2? There were several notification issues fixed in this version. You can find instructions here:

How to Manually Update Nagios XI

EDIT: Oops misread that at 5.3.0.

Please post a screenshot of XI > Admin > Manage Email Settings

Re: notification-problem

Posted: Tue Nov 08, 2016 3:05 am
by bashar.abed
Hi,

i sent to you my version Nagios XI is 5.3.2 last update ,the problem is SMS no email but i attached you Email sitting ,

i think there is problem in Service Management(common settings,check settings,alert settings,misc settings) on this server ,all services Managements are ok and running in other servers and hosts

My case is :- when check the status of service in Service Status Detail>View service notification ,the service generated Service Problem then Service Recovery(when the service run again) so after that the Nagios sent to employee email service Problem/service Recovery and send SMS Just Service Recovery without Service Problem !!

Re: notification-problem

Posted: Tue Nov 08, 2016 10:08 am
by rkennedy
Can you PM over your /usr/local/nagios/var/objects.cache file, along with the name of the host / service name that is NOT sending service warning / critical notifications?

It sounds like you just need to enable notifications for warning / critical states, but the config will help to see for sure.

Re: notification-problem

Posted: Thu Nov 10, 2016 7:01 am
by bashar.abed
EDIT: Please use code tags for output

Hi,

please see the below objects.cache result

Code: Select all

define service {
        host_name       APP2
        service_description     Antispam RGS Expired
        display_name    Antispam RGS Expired
        check_period    xi_timeperiod_24x7
        check_command   check_logfile!-a "--logfile=D:\Traces\RoamGateService\\`date +%y%m%d_%H`.txt --criticalthreshold=1 --critic
alpattern=Expired type=simple --noprotocol"!!!!!!!
        contact_groups  smsc
        notification_period     xi_timeperiod_24x7
        initial_state   o
        importance      0
        check_interval  5.000000
        retry_interval  1.000000
        max_check_attempts      1
        is_volatile     0
        parallelize_check       1
        active_checks_enabled   1
        passive_checks_enabled  1
        obsess  1
        event_handler_enabled   1
        low_flap_threshold      0.000000
        high_flap_threshold     0.000000
        flap_detection_enabled  1
        flap_detection_options  a
        freshness_threshold     0
        check_freshness 0
        notification_options    a
        notifications_enabled   1
        notification_interval   5.000000
        first_notification_delay        0.000000
        stalking_options        n
        process_perf_data       1
        retain_status_information       1
        retain_nonstatus_information    1
        }

Re: notification-problem

Posted: Thu Nov 10, 2016 3:18 pm
by rkennedy

Code: Select all

        notification_options    a
This is good, let's take a look at the contact. Could you please post the contact definition for the person that did not receive the notifications now?

Re: notification-problem

Posted: Thu Nov 10, 2016 3:27 pm
by bashar.abed
Hi,
how can send you in private email or how can send this case to '[email protected]'

thanks

Re: notification-problem

Posted: Thu Nov 10, 2016 5:41 pm
by tgriep
If you want to move this issue in to out ticketing system, all you would have to do is to is send an email to [email protected] and reference this post and we can continue on troubleshooting this there.

Re: notification-problem

Posted: Tue Nov 22, 2016 6:32 am
by bashar.abed
Hi tgriep,

i send you the contact definition by using private email for you ,please see them and send me your comments

Thanks

Re: notification-problem

Posted: Tue Nov 22, 2016 9:30 am
by tgriep
Thanks for the screen capture but I will need more information.
Can you co to the Core Config Manager > Contacts menu and click on the Floppy Icon for that contact, copy the settings for that user and post them here so we can see all of the options for that user?