Managing Host Removals in Nagios XI

A client recently asked me what is the best way to remove Nagios XI object definitions for hosts that have been retired. Well there’s a few ways to accomplish this:

  1. Script using the excellent Nagios XI  REST API to do the removals + hooks into their Puppet configuration management system. The documentation for the Nagios XI REST API is built into Nagios XI itself. Just log into your XI instance, click Help and look under the “Developer Docs” section.
  2. Nagios Deadpool processor.
  3. Manual keyboard work.

I recommend #1, the API script + configuration management integration. The Nagios Deadpool processor is great for systems that have not converted to DevOps, but I think a more controlled process is better. If you have any questions on how to implement this, please let us here at Rex know and we would be happy to help you.

© Copyright 2019 Rex Consulting, Inc. - All rights reserved

From an early age, Chris Paul moved frequently because his dad was in the US Air Force. Born in Germany, then moved to Alabama, then Maryland, then Naples, Italy, then California since high school, with many Christmas seasons spent in Pittsburgh, PA, the home of his grandparents.

Leave a Reply

Your email address will not be published. Required fields are marked *