From 1efd180726a69b35300a538eab9bc2f11e073414 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 8 Mar 2017 08:53:35 +0100 Subject: [PATCH] Document how to test console API settings in pandora_server.conf. --- pandora_server/FreeBSD/pandora_server.conf.new | 4 ++++ pandora_server/conf/pandora_server.conf.new | 4 ++++ pandora_server/conf/pandora_server.conf.windows | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/pandora_server/FreeBSD/pandora_server.conf.new b/pandora_server/FreeBSD/pandora_server.conf.new index 9dbbb2ef53..af51a7ce6b 100644 --- a/pandora_server/FreeBSD/pandora_server.conf.new +++ b/pandora_server/FreeBSD/pandora_server.conf.new @@ -516,6 +516,10 @@ console_api_url http://localhost/pandora_console/include/api.php console_user admin # console_pass: Console password (pandora by default) +# To make sure console_api_url, console_api_pass, console_user and console_pass are properly configured run: +# curl "?op=get&op2=test&apipass=&user=&pass=" +# It should return a string similar to: +# OK,{VERSION},{BUILD} console_pass pandora # Passphrase used to generate the key for password encryption (PANDORA FMS ENTERPRISE ONLY). diff --git a/pandora_server/conf/pandora_server.conf.new b/pandora_server/conf/pandora_server.conf.new index 1190bea0c3..80068492cb 100644 --- a/pandora_server/conf/pandora_server.conf.new +++ b/pandora_server/conf/pandora_server.conf.new @@ -510,6 +510,10 @@ console_api_url http://localhost/pandora_console/include/api.php console_user admin # console_pass: Console password (pandora by default) +# To make sure console_api_url, console_api_pass, console_user and console_pass are properly configured run: +# curl "?op=get&op2=test&apipass=&user=&pass=" +# It should return a string similar to: +# OK,{VERSION},{BUILD} console_pass pandora # Passphrase used to generate the key for password encryption (PANDORA FMS ENTERPRISE ONLY). diff --git a/pandora_server/conf/pandora_server.conf.windows b/pandora_server/conf/pandora_server.conf.windows index 3caa9beb00..94b764de40 100644 --- a/pandora_server/conf/pandora_server.conf.windows +++ b/pandora_server/conf/pandora_server.conf.windows @@ -484,6 +484,10 @@ console_api_url http://localhost/pandora_console/include/api.php console_user admin # console_pass: Console password (pandora by default) +# To make sure console_api_url, console_api_pass, console_user and console_pass are properly configured run: +# curl "?op=get&op2=test&apipass=&user=&pass=" +# It should return a string similar to: +# OK,{VERSION},{BUILD} console_pass pandora # Passphrase used to generate the key for password encryption (PANDORA FMS ENTERPRISE ONLY).