Good morning
Since version 2.3, external tools no longer work, except for one.
I use external tools quite a bit and apart from the one based on explorer.exe, none of them work anymore since the latest updates.
I kept a machine with console v 2.2.3 and the tools are OK.
Here's what I have:
In this list when I launch the tool:
Explorer works
Notepad++: error message
The others: nothing happens
Any ideas?
[RESOLVED] V 2.3.0.13505: External Tools Not Working
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Good morning,
The reasons could be:
Remarks :
the settings are now at "Mustache" format (that is, with double curly braces) {{ ip }} instead of {ip}
(for information on Mustache:) https://blog.synopse.info/?post/2014/04 ... phi-part-2 )
The old {ip} notation is still supported for the few parameters that existed in that form:
{ip} is replaced by {{ main_ip}}
{uuid} replaced by {{ uuid }}
{computer_fqdn} replaced by {{computer_fqdn}}
Now all columns of the inventory grid data are usable in external commands. (This is indicated in parentheses by right-clicking on the column headers in the grid.)
Mustache is a template language also used in the console for HTML views (equipment inventory, audit). Clicking "Edit template" displays it and allows customization.
The reasons could be:
- that the executables do not have a full path.
- The command requires a shell (a CMD) to display something. This is the case with ping. In this case, put cmd.exe in the executable and start the arguments with /C
- cmd.exe should also be used as an executable if you need to expand environment variables, for example.
Remarks :
the settings are now at "Mustache" format (that is, with double curly braces) {{ ip }} instead of {ip}
(for information on Mustache:) https://blog.synopse.info/?post/2014/04 ... phi-part-2 )
The old {ip} notation is still supported for the few parameters that existed in that form:
{ip} is replaced by {{ main_ip}}
{uuid} replaced by {{ uuid }}
{computer_fqdn} replaced by {{computer_fqdn}}
Now all columns of the inventory grid data are usable in external commands. (This is indicated in parentheses by right-clicking on the column headers in the grid.)
Mustache is a template language also used in the console for HTML views (equipment inventory, audit). Clicking "Edit template" displays it and allows customization.
Tranquil IT
-
julien.guyonnet
- Messages: 12
- Registration: Apr 21, 2021 - 10:38
Good morning,
For my part, I added a link to the 'user' and 'computer' pages in GLPI
Executable = cmd
Arguments =
Executable = cmd
Arguments =
For my part, I added a link to the 'user' and 'computer' pages in GLPI
Executable = cmd
Arguments =
Code: Select all
/c start "" "https://glpi.domain.local/front/user.php?is_deleted=0&as_map=0&browse=0&itemtype=User&criteria%5B0%5D%5Blink%5D=AND&criteria%5B0%5D%5Bfield%5D=view&criteria%5B0%5D%5Bsearchtype%5D=contains&criteria%5B0%5D%5Bvalue%5D={{connected_users.0}}"Arguments =
Code: Select all
/c start "" "https://glpi.domain.local/front/computer.php?criteria%5B0%5D%5Blink%5D=AND&criteria%5B0%5D%5Bfield%5D=1&itemtype=Computer&criteria%5B0%5D%5Bsearchtype%5D=contains&criteria%5B0%5D%5Bvalue%5D={{computer_name}}"