i am new in nagios and i want to group of "services states" in different host in only one alarm. For example, i have three hosts with the service httpd (ONLY ONE SERVICE) and i want to generate one alarm considering the different case:
- IF host1(ok) and host2 (ok) and host3(ok) --> generate ONLY ONE alarm in nagios to notify that the service httpd is ok.
- IF host1(ok) and host2 (critical) and host3(ok) --> generate ONLY ONE alarm in nagios to notify that the service httpd is warning with one host critical.
- IF host1(critical) and host2 (critical) and host3(critical) --> generate ONLY ONE alarm in nagios to notify that the service httpd is critical.
i was reading different forum, but in the most of case... they are using nagios to monitorize the service for each host, not to group service in one check.
aditional note: hots1, host2 and host3 belongs to the same hostgroup.