Notifications sent to all but one person
Notifications sent to all but one person
I had a user contact me stating they received the notification that the system was ok but never received the alert that there was a problem. The user was jgettelf and I can see that Nagios sent out the OK but not the DOWN for this user.
You do not have the required permissions to view the files attached to this post.
Re: Notifications sent to all but one person
Does that user receive notifications for other host and services when they go down?
Can you go in to Core Config Manager > Contacts for that user, copy the settings for that user by clicking on the Floppy Icon and post the settings here?
Thanks
Can you go in to Core Config Manager > Contacts for that user, copy the settings for that user by clicking on the Floppy Icon and post the settings here?
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications sent to all but one person
Code: Select all
define contact {
contact_name jgettelf
alias Joe Gettelfinger
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period jgettelf_notification_times
service_notification_period jgettelf_notification_times
host_notification_options d,u,r
service_notification_options c,r,s
email [email protected]
use xi_contact_generic
} Re: Notifications sent to all but one person
Check to see if you have multiple instances of nagios running:Does that user receive notifications for other host and services when they go down?
Code: Select all
ps -ef | grep bin/nagiosIf you are using ram disk, the path could be different, i.e. "/var/nagiosramdisk/objects.cache".
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications sent to all but one person
Code: Select all
ps -ef | grep bin/nagios
root 32868 27599 0 06:57 pts/0 00:00:00 grep bin/nagios
nagios 33984 1 4 Dec10 ? 00:44:29 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 33986 33984 0 Dec10 ? 00:00:50 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33987 33984 0 Dec10 ? 00:00:53 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33988 33984 0 Dec10 ? 00:00:52 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33989 33984 0 Dec10 ? 00:00:48 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33990 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33991 33984 0 Dec10 ? 00:00:51 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33992 33984 0 Dec10 ? 00:00:50 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33993 33984 0 Dec10 ? 00:00:51 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33994 33984 0 Dec10 ? 00:00:51 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33995 33984 0 Dec10 ? 00:00:50 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33996 33984 0 Dec10 ? 00:00:51 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33997 33984 0 Dec10 ? 00:00:52 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33998 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 33999 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34000 33984 0 Dec10 ? 00:00:50 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34001 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34002 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34003 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34004 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34005 33984 0 Dec10 ? 00:00:50 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34006 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34007 33984 0 Dec10 ? 00:00:50 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34008 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34009 33984 0 Dec10 ? 00:00:49 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 34054 33984 0 Dec10 ? 00:00:05 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Code: Select all
define timeperiod {
timeperiod_name jgettelf_notification_times
alias Notification Times for jgettelf
sunday 00:00-23:59
monday 00:00-23:59
tuesday 00:00-23:59
wednesday 00:00-23:59
thursday 00:00-23:59
friday 00:00-23:59
saturday 00:00-23:59
}
define contact {
contact_name jgettelf
alias Joe Gettelfinger
service_notification_period jgettelf_notification_times
host_notification_period jgettelf_notification_times
service_notification_options r,c,s
host_notification_options r,d,u
service_notification_commands xi_service_notification_handler
host_notification_commands xi_host_notification_handler
email [email protected]
minimum_importance 0
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
}
Re: Notifications sent to all but one person
Is this consistent behavior?
Former Nagios Employee.
me.
me.
Re: Notifications sent to all but one person
I don't know we don't usually have this notifications get fired off. I would say no but I am no 100%
Re: Notifications sent to all but one person
Does that user receive notifications for other host and services when they go down?
In the Nagios XI GUI, can you select that host from the Home > Host Details screen, click on the Advanced tab and Send a custom notification and see if that user receives it?
In the Nagios XI GUI, can you select that host from the Home > Host Details screen, click on the Advanced tab and Send a custom notification and see if that user receives it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications sent to all but one person
You can close this. I spoke to the user and he had custom notification times. Apparently you can't have notification times for email and a different notification time for SMS? Could this be submitted as a feature request if it isn't already?
It would be nice to get email notifications 24x7 but only get SMS notifications during off hours 1800-0600 or something like that.
It would be nice to get email notifications 24x7 but only get SMS notifications during off hours 1800-0600 or something like that.
Re: Notifications sent to all but one person
Ok, thanks for the update.
You could technically achieve that by creating two users per contact, one for email with 24x7 timeperiod and one for sms with custom timeperiod.
You could technically achieve that by creating two users per contact, one for email with 24x7 timeperiod and one for sms with custom timeperiod.