send notification service to non listed person

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

send notification service to non listed person

Post by paltel »

hi
I have a problem in notification by Email, the notification Received to person that not contain in the list that must received to him,
I tried to delete the host then added it again but the same problem the notification received to him :o :o :o :o
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: send notification service to non listed person

Post by mcapra »

Are you able to share a full system profile? You should be able to upload it as an attachment to your forum post. You can gather a system profile via Admin -> System Profile -> Download Profile.

My suspicion is that this user may be part of an included contact group, but a profile will help provide some additional information.
Former Nagios employee
https://www.mcapra.com/
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: send notification service to non listed person

Post by bwallace »

In addition to mcapra's post, I noticed that the notification type the your email screenshot is a RECOVERY notification. I don't think these types of notifications are enabled be default or, these users haven't chosen to be notified on RECOVERY.

You can check by going to:
Contact view config.jpg
When you click the 'view config' button you'll see all the notification options that are enabled for each user. Use the following to verify these contacts are to receive notifications on recoveries:

host_notification_options :

This directive is used to determine when notifications for the host should be sent out. Valid options are a combination of one or more of the following:
d = send notifications on a DOWN state,
u = send notifications on an UNREACHABLE state,
r = send notifications on recoveries (OK state),
f = send notifications when the host starts and stops flapping, and
s = send notifications when scheduled downtime starts and ends.
If you do not specify any notification options, Nagios will assume that you want notifications to be sent out for all possible states.

Example: If you specify d,r in this field, notifications will only be sent out when the host goes DOWN and when it recovers from a DOWN state.



service_notification_options

This directive is used to determine when notifications for the service should be sent out. Valid options are a combination of one or more of the following:

w = send notifications on a WARNING state,
u = send notifications on an UNKNOWN state,
c = send notifications on a CRITICAL state,
r = send notifications on recoveries (OK state),
f = send notifications when the service starts and stops flapping, and
s = send notifications when scheduled downtime starts and ends.

If you do not specify any notification options, Nagios will assume that you want notifications to be sent out for all possible states.

Example: If you specify w,r in this field, notifications will only be sent out when the service goes into a WARNING state and when it recovers from a WARNING state.
You do not have the required permissions to view the files attached to this post.
Be sure to check out the Knowledgebase for helpful articles and solutions!
paltel
Posts: 64
Joined: Wed Jul 22, 2015 3:47 am

Re: send notification service to non listed person

Post by paltel »

mcapra wrote:Are you able to share a full system profile? You should be able to upload it as an attachment to your forum post. You can gather a system profile via Admin -> System Profile -> Download Profile.

My suspicion is that this user may be part of an included contact group, but a profile will help provide some additional information.
thanks for replay
kindly find the system profile in attached file

BR
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: send notification service to non listed person

Post by lmiltchev »

You have some crashed tables in the DB...

Code: Select all

...
161206  8:40:01 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_notifications' is marked as crashed and should be repaired
...
Let's start with repairing the database - run:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
then check the mysqld.log to make sure you don't have any more errors:

Code: Select all

tail /var/log/mysqld.log
Next, stop/start services:

Code: Select all

service nagios stop
killall nagios
service ndo2db stop
service ndo2db start
service nagios start
Let us know if this solved your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked