Page 1 of 1
Is there a way to monitor / alert on Host or Service Groups?
Posted: Thu Aug 25, 2016 1:03 pm
by JakeHatMacys
And what I mean by the title is if I have 30 devices attached to a host group with each configured with 2 services is there a way in Nagios XI to send one alert per group with a detail of which hosts or services are down?
This way instead of 30 tickets I'd have one with a list of down devices. It'd basically be a composite monitor in Sitescope.
Thoughts?
Re: Is there a way to monitor / alert on Host or Service Gro
Posted: Thu Aug 25, 2016 1:53 pm
by lmiltchev
Unless someone finds a better solution, the only thing that I can come up with is to use check_multi.
https://exchange.nagios.org/directory/P ... ti/details
You could set up different configs, based on hostgroups, what not. You should get one notification, and the check will let you know which services are in non-ok state.
Example:
From the CLI:
Code: Select all
[nagios@localhost libexec]$ ./check_multi -f check_multi_config
CRITICAL - 3 plugins checked, 1 critical (Uptime-Centos-NRPE), 2 ok
[ 1] Uptime-Windows7 System Uptime - 7 day(s) 5 hour(s) 47 minute(s)
[ 2] Uptime-Centos-NRPE Uptime CRITICAL: 0 day(s) 23 hour(s) 2 minute(s)
[ 3] Uptime-localhost Uptime OK: 1 day(s) 6 hour(s) 20 minute(s) |check_multi::check_multi::plugins=3 time=0.042525 Uptime-Windows7::check_nt::uptime=10427 Uptime-Centos-NRPE::check_nrpe::uptime=1382.000000;5.000000;10.000000; Uptime-localhost::check_uptime::uptime=1820.000000;;;
In the GUI:
example01.PNG