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

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
Paul133
Posts: 2
Joined: Fri Aug 17, 2012 7:23 pm

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

Post 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!
Last edited by Paul133 on Mon Aug 20, 2012 12:17 pm, edited 1 time in total.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: How Does Nagios do Host Up/Down Checks

Post 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).
Paul133
Posts: 2
Joined: Fri Aug 17, 2012 7:23 pm

Re: How Does Nagios do Host Up/Down Checks

Post 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.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

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

Post by agriffin »

No problem, glad you got it figured out!
Locked