For those of our hosts, which have a public IP-address, we define a custom attribute in the host-definition: _PADDR:

define host {
        address 10....
        _paddr  53....

Can we then -- without creating specific groups or other entries -- limit a service check only to those of the hosts, which have the custom attribute defined?

Using Icinga-1.13.3.

  • Which version are you using? – gf_ Oct 31 '17 at 0:06
  • 1
    Icinga 2.x support this. 1.x likely not – uSlackr Oct 31 '17 at 17:29
  • 1
    I'm with @uSlackr here.. – gf_ Nov 1 '17 at 0:11
  • 1
    @uSlackr, why don't you turn your comment into an answer so I can formally accept it and close this question? – Mikhail T. Nov 2 '17 at 16:46

Icinga 2.x supports this. I don't believe v1 does. See the documentation here. Look specifically at the Apply, Assign Where, and Custom Attributes

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.