Document how to test console API settings in pandora_server.conf.

This commit is contained in:
Ramon Novoa 2017-03-08 08:53:35 +01:00
parent 342bcbb4ef
commit 1efd180726
3 changed files with 12 additions and 0 deletions

View File

@ -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 "<console_api_url>?op=get&op2=test&apipass=<console_api_pass>&user=<console_user>&pass=<console_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).

View File

@ -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 "<console_api_url>?op=get&op2=test&apipass=<console_api_pass>&user=<console_user>&pass=<console_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).

View File

@ -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 "<console_api_url>?op=get&op2=test&apipass=<console_api_pass>&user=<console_user>&pass=<console_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).