Page 1 of 1

How Does Nagios do Host Up/Down Checks [Resolved]

Posted: Fri Aug 17, 2012 7:28 pm
by Paul133
Hey everyone, first post. I've inherited Nagios at my new job, and have been picking it up at a pretty good pace! Up until now, that is.

I cannot, for the life of me, figure out how Nagios knows who to alert when a host goes down. For any service, I can very quickly see how Nagios determines who to contact, but for host checks, no clue. Can anyone fill me in?

Thanks in advance!

Re: How Does Nagios do Host Up/Down Checks

Posted: Mon Aug 20, 2012 10:18 am
by agriffin
Hosts are handled the same as services in this case. Every host is assigned contacts and contact groups to notify. If you don't see that in your host definitions, check the templates that it uses (or the templates that those use).

Re: How Does Nagios do Host Up/Down Checks

Posted: Mon Aug 20, 2012 12:17 pm
by Paul133
Hey agriffin, thanks for the reply.

I actually figured this out, after hours of scouring our configs. Our configs are a little spaghetti-strung. We have a system that auto-creates host files for servers that we know about, and ties those hosts to a generic-host.cfg template.

Thanks again.

Re: How Does Nagios do Host Up/Down Checks [Resolved]

Posted: Mon Aug 20, 2012 4:56 pm
by agriffin
No problem, glad you got it figured out!