Run nagios queries on the secondary if available

See https://github.com/Work4Labs/work4us/pull/3078