Dynamic server monitoring in Nagios? (Non persistent VDI servers)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
riahc3
Posts: 79
Joined: Thu Apr 05, 2018 9:36 am

Dynamic server monitoring in Nagios? (Non persistent VDI servers)

Post by riahc3 »

Hello

Out of curiosity, is there a way to dynamically remote servers? We have non persistent VDI servers which spin up/down, get created/destroyed/etc, with a set pattern (CTXVDI## : CTXVDI01, CTXVDI02, etc.) and we would like to monitor them when they get created and then unmonitor them when they get destroyed, and do this automatically.
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: Dynamic server monitoring in Nagios? (Non persistent VDI servers)

Post by DoubleDoubleA »

Hi @riahc3,

For this I would use the Nagios XI API.

In the server build, include NCPA, and a script in your favorite scripting language to make calls to the XI API to set up the host and services. Make the call to remove the host and services as part of the decom process. API documentation is in the interface. Here's a video as well: https://support.nagios.com/kb/article/n ... i-713.html

Aaron
Post Reply