Regex for Names
-
FrontlineIT
- Posts: 94
- Joined: Tue Jul 26, 2016 8:46 am
Regex for Names
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.
Re: Regex for Names
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!
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!