Hi All,

Greetings from Tasmania, Australia.
Thanks for the hard work on making Director available.
We are looking to migrate from Icinga1 to Icinga2 instance.
I have Icinga2, Icingaweb2, and Director installed and running OK.

The problem I am having is apply rules  and/or  'assign where' via Director.
I can create Notification and Timeperiod templates and apply rules, but 
struggling with how to 'assign where' as done in a conf file?
I have tried to create a custom field called 'notifcation' and set the value of 
'mail' for a host object, but this results in:

object Host ................etc
    vars.notification = "mail"
    vars.user_groups = "admins-network"
}

How do I achieve the same result through Director as using config files to get 
something like this?
'assign where host.vars.notification.mail'  or 'assign where host.address'

Everything I've tried so far, icinga2.log shows:
':Checkable 'hostxyz!ping4' does not have any notifications'

Thanks in advance for any suggestions,
Dan Hack

Network Administrator
Corporate Information Technology
DPIPWE
p: (03) 6165 4484
f: (03) 6224 1388
e: daniel.h...@dpipwe.tas.gov.au


________________________________

CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to