Skip to main content

Manual execution

The format of the plugin execution format is as follows:

./pandora_apachepandora_haproxy --urlurls <apacheHAProxy serverendpoint urlURLs comma-separated> --user <apache user nameusername> --password <apache server password> --ssl <serialtrue|false> or--prefix dummy if required<prefix> --transfer_mode <transfer mode namenative|tentacle> --tentacle_ip <tentacle portIP> --tentacle_port <tentacle port> --interval <interval> --allow_list <regex> --deny_list <regex> --monitor_frontends <true|false> --monitor_backends <true|false> --monitor_servers <true|false> --conf <path to configuration file> --string_confconf_targets <path to configurationURLs file>

Examples:

to run inthe simple mode

./pandora_apachepandora_haproxy --urlurls http://192.168.0.1/server10:8404/stats,http://192.168.0.11:8404/stats --user admin --password 12345 --ssl false --transfer_mode tentacle --tentacle_ip 127.0.0.1 --tentacle_port 41121

to run in advanced mode

./pandora_apache --url http://192.168.0.1/server --ssl false --transfer_mode tentaclenative --tentacle_ip 127.0.0.1 --tentacle_port 41121

to run the advanced mode

./pandora_haproxy --conf /file/file.etc/pandora/haproxy.conf --conf_targets /etc/pandora/haproxy_targets.conf

The execution will return an output ina JSON formatoutput with information about the execution,run, and will generate an XML file for eachevery monitored agent (in tentacle mode) that will be sent to the Pandora FMS server byusing the transfer method indicatedconfigured. In native mode the data is exposed in the configuration.monitoring_data field of the JSON output to be consumed by the Discovery server.