> On 25 Nov 2015, at 00:32, Madhusmita Gochhait <[email protected]> wrote:
>
> Hi ,
>
> I was wondering if it is possible to add icinga level macros/variables 
> through icinga2 API , which is accessible globally .

Global attributes can be assigned to the Icingaapplicakion object since 2.4 (as 
custom attribute).

Try accessing them as $icinga.<attributename>$ then.

Kind regards,
Michael

>
> Thanks,
> mgochhait
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Michael Friedrich, DI (FH)
Senior Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** OSDC 2016 - April - netways.de/osdc **
** OSBConf 2016 - September - osbconf.org **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to