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 2020 Rex Consulting, Inc. – All rights reserved