disable Operations Screen alerts for some hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nottheadmin
Posts: 53
Joined: Thu Dec 19, 2013 9:51 am
Location: Amsterdam, NL

disable Operations Screen alerts for some hosts

Post by nottheadmin »

Hi there, I am looking for a way to be able to control which hosts (or host groups) present their alerts tot he Operations Screen.

For example, by default, every critical alert pop's up on the Operations Screen.

When i am testing a check or adding a new device, if my initial configuration is not perfect, it triggers critical alerts on the Ops Screen which in turns triggers a human to start worrying that something is wrong.

It would be great if i could set up a host and some checks quietly for testing, without triggering alerts on the main Operations screen.

Does anyone know of a way to do this?

Thanks
matt
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: disable Operations Screen alerts for some hosts

Post by WillemDH »

I've been looking for some time for a way to exclude certain hosts or hostgroups from the open service problems / operations screen, but I did not found a solution. We had several very noisy hosts, eg traffic sensors which are connected by gprs. They kept polluting the open service problems view. In the end I set up a separate Nagios server for these noisy hosts.

Edit: I seemed to have misread your question. Would setting the host in downtime not be a solution for you?
Nagios XI 5.8.1
https://outsideit.net
nottheadmin
Posts: 53
Joined: Thu Dec 19, 2013 9:51 am
Location: Amsterdam, NL

Re: disable Operations Screen alerts for some hosts

Post by nottheadmin »

well, no i think i'm looking for the same thing that you are when i think about it.

There are some clever people on here, hoping that someone has an idea!
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: disable Operations Screen alerts for some hosts

Post by jdalrymple »

Is it too obvious of an answer to create a user whom can only view those specific hosts and use that user for your NOC/Operations Screen?
nottheadmin
Posts: 53
Joined: Thu Dec 19, 2013 9:51 am
Location: Amsterdam, NL

Re: disable Operations Screen alerts for some hosts

Post by nottheadmin »

I didn't know that you could do that, let me try it and i'll post back the results

edit: in Users>Manage Users, i can only see a tick box option to `Can see all hosts and services:`.

Ok i found that by adding a user to the contacts of each host, they are then visible to the user.

However, I have not discovered a way to add a contact to a host group yet, i dont want to go through every single host adding a contact, i have hundreds of hosts.

Where can i add a contact to a hostgroup i wonder?
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: disable Operations Screen alerts for some hosts

Post by jdalrymple »

You can't add a contact to a hostgroup, the constructs don't really interact.

You can add both a hostgroup and a contact to a template then apply that template to many hosts - however that would be a 1 by 1 process anyway.

Bulk modification tool is what you need, although it's an enterprise feature so if you don't have the enterprise license you'll be unable to use it.
nottheadmin
Posts: 53
Joined: Thu Dec 19, 2013 9:51 am
Location: Amsterdam, NL

Re: disable Operations Screen alerts for some hosts

Post by nottheadmin »

Yeah i understand, i've added them all individually, one by one.

The good news is that this pretty much does what i wanted so i guess we can chalk this up as a success.

Thanks for your help and have a great weekend.
Matt
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: disable Operations Screen alerts for some hosts

Post by tgriep »

Can we close this post for you?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked