Nagios Delete Specific Messages

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
carlosbuylla
Posts: 3
Joined: Thu Dec 09, 2021 12:53 pm

Nagios Delete Specific Messages

Post by carlosbuylla »

Hello,
I am trying to delete messages from Nagios XI during certain specific hours ( from 2 to 6 am) I would like to know how to create a rule to delete these messages, but without deleting the messages during the rest of the hours because they are important. Is there a specific rule that can be created? How can I manage this situation

Thanks a lot
Carlos
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Nagios Delete Specific Messages

Post by gormank »

I'm not sure what messages you mean. Can you provide examples of what you want to remove?
carlosbuylla
Posts: 3
Joined: Thu Dec 09, 2021 12:53 pm

Re: Nagios Delete Specific Messages

Post by carlosbuylla »

Hi,
The messages we want to delete because they are unnecessary are the following:
***** Nagios XI Alert *****

Nagios has detected a problem with this service.

Notification Type: PROBLEM
ERROR: Alarm signal (Nagios time-out)
We get 2000 of these messages into our Mailbox every day from 02:00 to 06:00. How can we delete only these specific messages or the messages that are sent during these specific hours?

Best
Carlos
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Nagios Delete Specific Messages

Post by gormank »

Emails or texts sent by Nagios are called notifications and you can set when or if they're sent via the notification settings. That said, you probably want to look into why you're getting timeout alerts and resolve that issue.
carlosbuylla
Posts: 3
Joined: Thu Dec 09, 2021 12:53 pm

Re: Nagios Delete Specific Messages

Post by carlosbuylla »

What I would like to do is Scheduling a downtime for specific Host Groups, so that email notifications from these hosts are not sent during night periods. I would like to make it recurrent every day so that they are never sent from a specific time period. How can I manage to do that for a Host Group?

Thanks a lot
Locked