z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Enable notifications for specific contact groups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.

Re: Enable notifications for specific contact groups

Postby aylesworth » Mon Mar 21, 2022 11:45 am

@gsmith , @ssax ,

Any update on this? Thanks!
aylesworth
 
Posts: 31
Joined: Mon Mar 22, 2021 12:57 pm

Re: Enable notifications for specific contact groups

Postby gsmith » Tue Mar 22, 2022 1:04 pm

Hi

I received the PM showing the example notification, but I never received a PM with
your System Profile. I really need that System Profile so I can take a look at your
groups, notifications, etc.

1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then reply to this post to bring it up in the queue.


Thanks
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Enable notifications for specific contact groups

Postby aylesworth » Thu Mar 24, 2022 12:19 pm

gsmith wrote:Hi

I received the PM showing the example notification, but I never received a PM with
your System Profile. I really need that System Profile so I can take a look at your
groups, notifications, etc.

1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then reply to this post to bring it up in the queue.


Thanks


Just sent it again, my PM's show that it was sent the first time on 3/10.

Thanks!
aylesworth
 
Posts: 31
Joined: Mon Mar 22, 2021 12:57 pm

Re: Enable notifications for specific contact groups

Postby gsmith » Fri Mar 25, 2022 4:11 pm

Hi

I spot checked some hosts, services, contacts and contact groups and they looked fine to me.

If you want to be bulletproof you could backup your Prod system and install it on a Test server.
Nagios XI License Policy
With every purchase we offer 3 separate activation of XI licenses. One for production, one for testing, and one for
high availability. We always recommend upgrading on a test server first before making changes to the production server.

Nagios License Entitlements
https://support.nagios.com/kb/article.php?id=145



Then you could simulate all your contacts by changing their emails to a Google email address. You could create
multiple gmail accounts, or just one and differentiate them by using "+" and "." characters as shown in this article:
https://gmail.googleblog.com/2008/03/2-hidden-ways-to-get-more-from-your.html

It would be a ton of work since you have 49 contacts and 24 contact groups, and you'd have to be cognizant of the fact
that if you add/remove/change contacts on Prod that you would need to do it manually (or via a script) on your test server.
A script would probably be best...updating the email address in the db to use the gmail account mentioned above and
appending "+<username>" to it after you backup Prod and restore to the Test server.

Let me know if this helps you out. We are moving to a new ticketing system so you should probably open an account there
for future inquiries.

If you are satisfied with this answer please let me know so I can those this out. :)

Thanks!

We're moving to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Enable notifications for specific contact groups

Postby aylesworth » Mon Mar 28, 2022 11:21 am

Thanks!

I guess the next question is how do I enable notifications for these groups? Currently everything is turned off except for my account, which I have applied a template to so that it receives all notifications. I just want to make sure that when I enable notifications for those 24 groups that they don't get every single notification and only the ones that they're assigned to receive.

Thanks!
aylesworth
 
Posts: 31
Joined: Mon Mar 22, 2021 12:57 pm

Re: Enable notifications for specific contact groups

Postby gsmith » Wed Mar 30, 2022 1:53 pm

Hi



Go to Configure, Core Config Manager. Hit the blue "Services" box.

Edit one (the wrench icon under Actions) and send me a screenshot of the Check Settings tab and the Alert Settings tab.

Also on the Alert Settings tab open the Manage Contacts and Manage Contact Groups boxes.

Drill down in each and show me the contact and their assigned email address.

Also send me screenshots of the template you set up to limit the notifications (one screenshot for each of its tabs)

Thanks
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Enable notifications for specific contact groups

Postby aylesworth » Thu Mar 31, 2022 1:15 pm

gsmith wrote:Hi



Go to Configure, Core Config Manager. Hit the blue "Services" box.

Edit one (the wrench icon under Actions) and send me a screenshot of the Check Settings tab and the Alert Settings tab.

Also on the Alert Settings tab open the Manage Contacts and Manage Contact Groups boxes.

Drill down in each and show me the contact and their assigned email address.

Also send me screenshots of the template you set up to limit the notifications (one screenshot for each of its tabs)

Thanks


Just sent a .zip via PM. Everything looks good for the most part so far as I can tell, everything is set to "skip" as you'll see in the screenshots, like notifications are globally disabled. Additionally, for every notification I'm getting an "UP" notification, even if it contains no other info other than the server is up. I've included the text from one of those below, is there a way to not receive this UP notification every time a problem comes through?

***** Nagios XI Alert *****

Nagios has detected a problem with this host.

Notification Type: PROBLEM
Host: XXSERVERNAMEXX
State: UP
Address: X.X.X.201
Info: OK - X.X.X.201 rta 34.816ms lost 0%
Date/Time: 2022-03-31 13:59:38

Respond: http://url
Nagios URL: http://X.X.X.X/nagiosxi/
aylesworth
 
Posts: 31
Joined: Mon Mar 22, 2021 12:57 pm

Re: Enable notifications for specific contact groups

Postby gsmith » Fri Apr 01, 2022 10:33 am

Hi

Please compare the settings you have for the host that is sending you "up" notifications to the
screen capture I have attached of the host configuration I have set up, since it is not sending out
the "up" notification.

Let me know if this helps.

Thanks
You do not have the required permissions to view the files attached to this post.
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Enable notifications for specific contact groups

Postby aylesworth » Tue Apr 12, 2022 10:16 pm

Hello sorry for the delay I was out of the office, I went over one of my hosts compared to yours and all of the settings are the same. Is it possible that I'm receiving the UP notifications because I have deployed a notification template to my account that contains all alerting options (this is for testing purposes only and will not reflect the normal 24x7 template).

Thanks!
aylesworth
 
Posts: 31
Joined: Mon Mar 22, 2021 12:57 pm

Re: Enable notifications for specific contact groups

Postby gsmith » Wed Apr 13, 2022 9:42 am

Hi

In your email from Nagios:
Nagios has detected a problem with this host.

Notification Type: PROBLEM
Host: XXSERVERNAMEXX
State: UP
Address: X.X.X.201
Info: OK - X.X.X.201 rta 34.816ms lost 0%
Date/Time: 2022-03-31 13:59:38

Respond: http://url
Nagios URL: http://X.X.X.X/nagiosxi/


the Notification Type is PROBLEM.

When this occurs in a shell on your Nagos XI server:
cd /usr/local/nagiosxi/var
then
vi eventman.log

go to the bottom of the eventman.log and you should see something like:
Code: Select all
*** GLOBAL HANDLER (snmptrapsender)...
Array
(
    [event_id] => 928
    [event_source] => 2
    [event_type] => 1
    [event_time] => 2022-04-13 09:35:05
    [event_meta] => Array
        (
            [handler-type] => service
            [host] => localhost
            [service] => Memory Usage
            [hostaddress] => 127.0.0.1
            [hoststate] => UP
            [hoststateid] => 0
            [hosteventid] => 0
            [hostproblemid] => 0
            [servicestate] => WARNING
            [servicestateid] => 1
            [lastservicestate] => WARNING
            [lastservicestateid] => 1
            [servicestatetype] => HARD
            [currentattempt] => 4
            [maxattempts] => 4
            [serviceeventid] => 169
            [serviceproblemid] => 68
            [serviceoutput] => WARNING - 6526 / 7768 MB (84%) Free Memory, Used: 1238 MB, Shared: 9 MB, Buffers + Cached: 526 MB
            [longserviceoutput] =>
            [servicedowntime] => 0
        )

    [logging_enabled] => 1
)
SNMP TRAP SENDER NOT CONFIGURED!
..................
PROCESSED 2 EVENTS
....................


This will tell you what the problem with the server is.

Let me know what you find.

Thanks
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

PreviousNext

Return to Nagios XI

Who is online

Users browsing this forum: Fess [Nagios Bot] and 15 guests