Personalize button of "Quick actions"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
morabanc
Posts: 199
Joined: Tue Jul 10, 2012 8:14 am

Personalize button of "Quick actions"

Post 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 :)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Personalize button of "Quick actions"

Post by scottwilkerson »

Yep that was a bug.

Attached is a new version you can install through
Admin -> Manage components
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
morabanc
Posts: 199
Joined: Tue Jul 10, 2012 8:14 am

Re: Personalize button of "Quick actions"

Post by morabanc »

Thank you scottwilkerson, it works perfect :D
Locked