Regex for Names

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
FrontlineIT
Posts: 94
Joined: Tue Jul 26, 2016 8:46 am

Regex for Names

Post by FrontlineIT »

We have nodes in AWS that will rotate out as immutable infrastructure. Does Nagios XI support regex for names or do we need to hit specific IPs? The reason I ask is because these are built with an Immutable Infrastructure philosophy and the nodes behind the Load Balancer can rotate out at any time or expand.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Regex for Names

Post by lmiltchev »

This is a challenging question... The only way (i think) it could be done is to make the hosts "self-register", other words, send passive check results to the Nagios XI server. Then, you would be receiving the passive check results in the "Unconfigured Objects". You could enable "auto-configuration" of the "Unconfigured Objects" (Enable Auto Import & Apply Configuration). This way, the "new" hosts would be added as the results come in.

Of cause, you would have some "old" hosts that would need to be removed, so you could set up the "Deadpool" to auto-remove them.

There may be another/better way of achieving your goal but I can't think of anything else that may work. I hope other people who tried to solve similar issues would chime in. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked