I am trying to register a simple plugin that runs a command and does not include a script file. The following plugin_definition.ini works, but it includes the file (test.pl) and the plugin command looks like this:
my command /var/www/html/pandora_console/attachment/plugin/test.pl
[plugin_definition]
name = Test Plugin
description = "A test plugin"
timeout = 20
filename = test.pl
execution_command = my command
execution_postcommand =
parameters = -a _field1_
plugin_type = 0
total_modules_provided = 0
total_macros_provided = 1
[macro_1]
hide = 0
description = "Agent name (obligatory)"
help = "The name of the agent for the modules discovered"
value =
I would like to be able to eliminate the test.pl file and have the command be simply "my command".
If "filename=" or is omitted, the plugin fails to register.
Version v7.0NG.776 - Community
Rocky Linux 8.9
