You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
If I'm using the "Host Action" button in /front/host.php, it redirects me to /front/host_action.php, which did not exist (neither in 0.85+1.3 nor in 0.85+1.0).
The text was updated successfully, but these errors were encountered:
To complete this post I search in code to understand the purpose of this button.
In PluginMonitoringDisplay class, function showHostsBoard :
Button is generated by searching in table glpi_plugin_monitoring_commands for command_name like 'host_action' in the list of commands then uses command_line field to generated the link.
Ex :
By default command named 'Host Action' has 'host_action' as field. So the link generated is host_action.php.
If I change command_line by 'echo', link will be echo.php.
But I still don't understand what to configure in this field.
The idea behind this is to allow executing a PHP script for an host ... the default script is host_action.php that you must install on your server. On my configuration is use this script to create a new job in the Fusion Inventory plugin ... but you may do whatever you want with it.
If I'm using the "Host Action" button in
/front/host.php
, it redirects me to/front/host_action.php
, which did not exist (neither in 0.85+1.3 nor in 0.85+1.0).The text was updated successfully, but these errors were encountered: