Page 1 of 1

Personalize button of "Quick actions"

Posted: Thu Nov 15, 2012 8:02 am
by morabanc
Hi guys,

We have a problem with the "Quick Actions" buttons of services.
I personalize a new button (admin --> Manage Components --> actions --> settings --> new button)

The caracteristics of the button is:
- object type: any
- host: /.*/
- service: /.*/
- Action type: Command
- url/command: /usr/bin/php /usr/local/nagios/libexec/script_mapes_servei.php %service%
- action text: Mapes Servei

The problems is that it not translate the variable %service% to a 'service name' and when you click the link appear the next:

- Running: /usr/bin/php /usr/local/nagios/libexec/script_mapes_servei.php %service%

But if you change the variable %service% to %host%, then works !!!!

Thanks in advance :)

Re: Personalize button of "Quick actions"

Posted: Thu Nov 15, 2012 12:26 pm
by scottwilkerson
Yep that was a bug.

Attached is a new version you can install through
Admin -> Manage components

Re: Personalize button of "Quick actions"

Posted: Fri Nov 16, 2012 4:01 am
by morabanc
Thank you scottwilkerson, it works perfect :D