Page 1 of 1

NagiosXI - User Macros api ...

Posted: Mon Jun 18, 2018 5:40 am
by vishfx
Hi There,

Is there a way to create & manage User Macros ( eg: $USER12$ , $USER13$ ) using rest api's ?

Regards,
Vish.

Re: NagiosXI - User Macros api ...

Posted: Mon Jun 18, 2018 12:52 pm
by cdienger
Not in the moment, but in our quest to make everything doable via the REST API, it is on the list.

Re: NagiosXI - User Macros api ...

Posted: Tue Jun 19, 2018 3:15 am
by vishfx
Can you suggest any alternate method if not by REST api to manage User Macros ?

Also, is there a way to create custom User Macro names such as $myuser1$ or $myuser2$ ?

Regards,
Vish.

Re: NagiosXI - User Macros api ...

Posted: Tue Jun 19, 2018 9:00 am
by scottwilkerson
vishfx wrote:Can you suggest any alternate method if not by REST api to manage User Macros ?
With a text editor on the server
vishfx wrote:Also, is there a way to create custom User Macro names such as $myuser1$ or $myuser2$ ?
No, however you can create custom variable macros per host/service/contact, see the following toward the bottom of the page
https://assets.nagios.com/downloads/nag ... acros.html

https://assets.nagios.com/downloads/nag ... tvars.html

Re: NagiosXI - User Macros api ...

Posted: Fri Jun 22, 2018 2:15 am
by vishfx
Thanks Scott.

Re: NagiosXI - User Macros api ...

Posted: Fri Jun 22, 2018 8:06 am
by scottwilkerson
vishfx wrote:Thanks Scott.
Locking