Complex notification challenge

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
mpburton
Posts: 1
Joined: Sat Jun 23, 2012 8:04 am

Complex notification challenge

Post by mpburton »

Setup : I am running Nagios 3. I have up to eight process monitoring services which I am checking on thirty-six hosts. Not all hosts have all services - config example is below.

Problem: Turns out that on host_a, the processes do not run between 10pm and 8 am, which means I need to set custom notifications for the six processes on that single host but still notify if the host itself goes down. Different hosts are servicing different time zones, so I'm going to need to do a lot of customization.

Question: What is the least time-consuming way to set this up? Is it possible to set up a host object to list its associated services and a notification window for services only?

define service {
use module_monitoring
host_name host_a,host_b, host_c, ..., host_n
service_description Process - process1.exe
check_command check_win_process!process1.exe!!1:1!1:1
}

define service {
use module_monitoring
host_name host_A,host_b, host_d, ..., host_n
service_description Process - process2.exe
check_command check_win_process!process2.exe!!1:1!1:1
}
Locked