-
set create_plugin_module fails
I have had success with “get” commands, but not with “set”. When running the following command, it returns “The Id does not exist in database”.
curl –insecure ‘https://pfms.domain.tld/pandora_console/include/api.php?apipass=1234&user=apiuser&pass=pandora&op=set&op2=create_plugin_module&id=exam
ple&other=prueba|0|1|2|0|0||0|0||0|0|127.0.0.1|0||0|300|0|0|0|0|plugin%20module%20from%20api|4|2|admin|pass|-p%20max&other_mode=url_encode_separator_|’
I copied it from the example provided in the docs: External API [current] (pandorafms.com)
apiuser is an “Administrator user”
I have an agent named “example”
This is a brand-new, clean installation:
Version v7.0NG.776 – Community
Current package 776
MR version MR68
BuildPC240314
NAME=”Rocky Linux”
VERSION=”8.9 (Green Obsidian)”