* include/functions_api.php: fixed the call "set_update_agent"
because before the call get the id_server but this data never
was translated to name_server. And added id_server into the call
"get_pandora_servers" in the last position.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: restored the parameter name server in
the api call "set_new_agent", thanks KOSAKA.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added support for 'each_ff' and
'ff_timeout' to 'set add_*_module_policy'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added support for ff_threshold to
'set new_local_component'. Fixed that component id can not be set
correctly by 'set new_local_component'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added support for 'each_ff' and
'ff_timeout' to 'set new_network_component',
'set new_plugin_component' and 'set new_snmp_component'.
Fixed that component id can not be set correctly by
'set new_*_component'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added support for 'each_ff' and
'ff_timeout' to module creation and modifying APIs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added the parameter
"address resolution" to the functions
"api_get_netflow_get_data" and "api_get_netflow_get_stats".
* include/functions_netflow.php: Added the parameter
"address resolution" to the functions "netflow_get_data",
"netflow_get_stats", "netflow_get_summary",
"netflow_get_record" and "netflow_draw_item".
* operation/netflow/nf_live_view.php: Added an option to
apply IP address resolution to the netflow searches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Fixed the function
"get_events_with_user". Fixed the json output format.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added new API function to validate
alerts from PagerDuty notification service
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9704 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed the call "get_total_modules" now
it does not count the pending delete modules. And thanks Cucumber for
to the advise.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added 'plugin_macros' and
'module_macros' to the return column of tree_agents API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added 'module_macros' parameter
to api_set_create_*_modules, api_set_update_*_module, and so
on. Also added 'macros' parameter to plugin module functions.
Fixes: #2398
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed the get events filtered by group.
MERGED FROM THE BRANCH PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed the get events when not found the
agent, before it returned the systems events, now it returns empty
list.
MERGED FROM THE BRANCH PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/events.php
mobile/include/style/main.css: Improve events layout
and fix events validation
* include/functions_events.php
include/functions_api.php: Fix event validation from API
and delete deprecated function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Change the way of store
the event comments (supporting old way)
* include/functions_api.php: Improve API clean process
of the csv output.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed the output of data as csv when
the data have a return carriges.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php, include/functions_graph.php,
include/functions_api.php: fixed a pair of bugs of the api calls.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: added calls to set gis data for agent
"set/gis_agent_only_position" and "set/gis_agent", and for to get
gis data "get/gis_agent".
* include/functions_agents.php: added function "agents_update_gis".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f