Visit The New, Modern Unix Linux Community

Cut down notifications from Nagios

Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring Cut down notifications from Nagios
# 1  
Cut down notifications from Nagios

I am currently monitoring about 40 hosts using NsClient. Each host has between 5-8 services running on each of them. I was trying to find a way to get less notifications because I'm currently getting about 200 a week. Is there anyway for if one service goes down on a host to make nagios do a check of all the services and just send one email saying which ones are down rather than sending 6 separate emails if there is a blip in internet connection. If anyone knows how to do this or has any other ideas on how to cut down the amount of emails but make sure I don't miss anything it would be really useful.
Thank you very much,
# 2  
The way we have done in our environment is use service dependencies with this we have reduced the alert count drastically you can go through nagios doc to configure it
# 3  

You could look at using and configuring the check_multi plugin for Nagios.
# 4  
I've tried to set up service dependencies but they don't seem to work. I still recieved all of the emails. Any ideas what I did wrong?

define servicedependency{
    dependent_service_description     Uptime
    host_name            3cx
    hostgroup_name            servers
    service_description        NSClient++ Version
    inherits_parent            [0/1]
    execution_failure_criteria    o,w,u,c,p,n
    notification_failure_criteria    o,w,u,c,p,n

With check multi I'm not sure if it will help in my case as I only use check_nt.

Thanks for the help Smilie
# 5  
You can use the following
inherit parent is not required in your case .I have given an example
define servicedependency{
   hostgroup_name                 servers
   host_name                      3cx
   service_description            NSClient++ Version
   dependent_service_description  Disk - C:,Load Average,Memory Usage,Uptime
   execution_failure_criteria     w,c,u,p

Please let me know this helps thanks sorry for replying late
This User Gave Thanks to iron_michael86 For This Post:
# 6  
Thank you so much, it works perfectly! Smilie
You've saved me so many more hours searching around on how exactly it works!

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #513
Difficulty: Easy
Most programming languages are not case sensitive.
True or False?

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

Disabling New Badge Notifications

Finally got around to this. Have added a UserCP option to disable "new badge" alerts in the user profile "options" area so anyone who finds the alerts annoying, feel free to disable them (since the are primary designed for new users): ... (0 Replies)
Discussion started by: Neo
0 Replies

2. UNIX for Beginners Questions & Answers

No SMS notifications once ppp up

Hi all, I have an Siemens IoT2020 with a Sim7000e cellular board that I connect via USB to the board and connect to Telstra Cat-M1 network. I can send and receive SMS and do so using Node-Red but can also do with Minicom etc. When connected I get : root@iot2000:~# dmesg | grep USB ACPI:... (0 Replies)
Discussion started by: antc
0 Replies

3. Infrastructure Monitoring

Notifications not coming through

Issue: I'm not receiving notifications I can succesfully receive an e-mail if I do this on the command line: /usr/bin/mail -s "NAGIOS HOST ALERT on $HOSTNAME$" but, my command.cfg configuration below, refuses to send an e-mail when I set a service to a critical... (3 Replies)
Discussion started by: rgouette
3 Replies

4. Infrastructure Monitoring

Nagios check dependent on second nagios server

We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side. I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies

5. Infrastructure Monitoring

How to limit the amout of Nagios SMS notifications?

Hi all, I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04. I monitor approx. 50 hosts (mixture of Windows Servers, Switches, Firewalls) by PING only. Down hosts are notified to me via email and SMS at the moment. What I would like to so is limit the amount of SMS... (0 Replies)
Discussion started by: Yoshi17
0 Replies

6. Post Here to Contact Site Administrators and Moderators

Servers, email notifications

Hi. On 09-05-2007 Neo posted that new servers were on their way. 1) It would be nice to hear of occasional progress. As far as I can tell, there has not been much of a change. The notice that is posted every now and then talks about a new server "this week". (In fact as I was previewing... (1 Reply)
Discussion started by: drl
1 Replies

7. Solaris

Solaris E-Mail Notifications ?!

Hi , I need to have a monitoring system also I wanna have E-Mail Notification .or SMS notification to be on touch with my System : ) ... Regards Adel (1 Reply)
Discussion started by:
1 Replies

8. Post Here to Contact Site Administrators and Moderators

trying to turn email notifications off

I'm trying to disable the email notifications; despite going into my control panel and selecting NO next to Use 'Email Notification' by default? I keep getting email notifications anyway! And I know I've never selected the checkbox next to Email Notification: emails sent to you whenever someone... (2 Replies)
Discussion started by: oombera
2 Replies

Featured Tech Videos