Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a satellite modem I'm monitoring via Nagios, and the way it's set up now, Nagios reports the router on the other side of the satellite link as down when the modem has no signal. I'd like to make the router dependent on the service that checks the satellite signal. I could just make a second satellite host that only checks the signal, but that seems a little hacky.

share|improve this question
up vote 3 down vote accepted

This would ordinarily be implemented in nagios as a parent (modem)/ child (router) host relationship rather than a service or host dependency.

However, in your case that won't work based on the way you view--and have defined--your host check for the modem. The nagios philosophy is that for things whose purpose is to pass traffic (e.g., switch, router, modem) they are alive (up) if they are passing traffic.

share|improve this answer

The short answer is no. But how about the define router with check_command is check_signal, something like this:

define service{
    use                     generic-service
    host_name               modem
    service_description     satellite_signal
    check_command           check-signal
    contacts                admin

define host {
    use                     generic-router
    host_name               router
    check_command           check-signal
    contacts                admin
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.