[icinga-users] Adding runtime global custom variables through API

Michael Friedrich Michael.Friedrich at netways.de
Wed Nov 25 09:17:50 CET 2015


> On 25 Nov 2015, at 00:32, Madhusmita Gochhait <mgochhait at juniper.net> 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
> icinga-users at lists.icinga.org
> 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 | Michael.Friedrich at netways.de

** OSDC 2016 - April - netways.de/osdc **
** OSBConf 2016 - September - osbconf.org **


More information about the icinga-users mailing list