Personalize button of "Quick actions"
Posted: Thu Nov 15, 2012 8:02 am
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
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