Hello all dears,
I am new with icinga. I want to monitor how many ip address to web server ?
please help recommend
Hi and welcome,
there a diffrent ways to do that:
- there is a parallel thread about Monitor multiple ip addresses: Check multi IP
- if you are using or want to use the director it’s a combination with this two docs
first create an Array: https://icinga.com/docs/director/latest/doc/14-Fields-example-interfaces-array/
after create an apply for rule: https://icinga.com/docs/director/latest/doc/15-Service-apply-for-example/ - if you don’t want to use the director and you want to write everything with the icinga dsl:
here you create also an Array: https://icinga.com/docs/icinga2/latest/doc/17-language-reference/#array and after you create an apply for rule: https://icinga.com/docs/icinga2/latest/doc/17-language-reference/#apply-for
3 Likes