Commit Graph

200 Commits

Author SHA1 Message Date
Hirofumi Kosaka 6bc0928c32 Added {critical,warning}_inverse to return values of get_tree_agents and get_module_properties APIs. 2015-12-01 16:06:31 +09:00
Hirofumi Kosaka 157abf68d2 Added new params {critical,warning}_inverse to set {create,update}_{network,plugin,data}_module APIs. 2015-12-01 15:52:09 +09:00
Hirofumi Kosaka 587f4c98c9 Fixed to allow empty descripcion/module_macros at create/update plugin/data/network modules APIs. 2015-12-01 15:25:43 +09:00
m-lopez-f c4af25cf34 Add to API/CLI new function: Create planned downtimes and items to this planned. Fixed error in creation items. Tiquet: #2972 2015-11-23 09:21:35 +01:00
Arturo Gonzalez Diaz add2e74e2b Added new function in functions_api to set cache agent value. 2015-08-28 15:57:53 +02:00
mdtrooper 3498e9e1e7 Killing some unicorns and magic numbers. 2015-06-29 16:49:48 +02:00
Alejandro Gallardo Escobar 3b037caf32 Merge remote-tracking branch 'origin/develop' into features/oracle 2015-06-18 20:02:01 +02:00
mdtrooper 7574f6ed09 Clean the source code style. 2015-06-08 13:13:09 +02:00
mdtrooper 89cac169f4 Clean the source code style. 2015-06-08 11:05:19 +02:00
Alejandro Gallardo Escobar c95f70dde7 Error fixes related with the improved oracle compatibility 2015-05-04 18:27:23 +02:00
mdtrooper 2798b2230a Fixed. Added lost result message in the api call create tag 2015-03-10 12:35:31 +01:00
Alejandro Gallardo Escobar e32e563447 Minor changes on the module_graph function 2015-02-06 14:09:57 +01:00
Alejandro Gallardo Escobar d3151557f7 Now the api can return a string with a module graph encoded in base64 2015-02-06 13:48:59 +01:00
Hirofumi Kosaka 1fe60927b0 Added new APIs: get_module_properties and get_module_properties_by_name.
These functions share the field name tables with get_tree_agents.
2015-02-05 14:44:23 +09:00
m-lopez-f 0956132e39 changed the way of returning the data in the all_agents api function. 2015-01-19 13:24:51 +01:00
mdtrooper 95873d9356 Added api for metaconsole. Ticket: #1474 2014-12-15 19:39:05 +01:00
mdtrooper d78461a92c Working in the improvements. Incident#1574 2014-12-12 15:01:50 +01:00
mdtrooper 8633186b0e Working in the improvements. Incident#1574 2014-12-12 15:00:21 +01:00
mdtrooper 303b4f148f Added feature to set bbcode links in agents description and custom fields. Ticket #1404 2014-12-02 16:38:07 +01:00
hkosaka 4f3a9c4187 Added new API (delete_module_template_by_names). 2014-11-05 17:35:08 +09:00
hkosaka 89a5f3dee1 Updated get tree_agents API to get group_description, group_contact and group_other. 2014-10-14 11:42:39 +09:00
hkosaka 723e68a9ed Updated that add_event API can support newline literally. 2014-10-07 15:23:49 +09:00
hkosaka 88e2ca3a46 Changed update_group's parameters in the same order of 'create_group'. 2014-10-03 15:56:23 +09:00
hkosaka a17c13981d Added new API 'update_group'. 2014-10-03 14:17:37 +09:00
Ramon Novoa 36c0f3a7b7 Added a function to test the connection to the event replication DB. 2014-09-30 16:15:33 +02:00
Vanessa Gil b02e994701 Removed wildcards '%' from querys where its filtered by tag. Ticket #1363. 2014-09-30 15:11:20 +02:00
jsatoh 9fcc2c76a5 2014-08-21 Junichi Satoh <junichi@rworks.jp>
* include/functions_api.php: Added a function to add an event comment.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10439 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-21 01:04:00 +00:00
mdtrooper a6197fccb2 2014-07-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php, include/functions_graph.php,
	include/db/postgresql.php, include/db/oracle.php,
	include/functions_api.php, extensions/agents_alerts.php,
	operation/search_main.php, operation/search_agents.getdata.php,
	operation/agentes/status_monitor.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/ver_agente.php,
	operation/search_modules.getdata.php, operation/search_results.php,
	operation/events/events_list.php,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/configure_alert_template.php,
	godmode/modules/manage_network_components_form.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php: tiny fixes for the improve the
	support of postgreSQL databases.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-31 14:27:43 +00:00
mdtrooper 091ed258dd 2014-07-10 Miguel de Dios <miguel.dedios@artica.es>
* 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
2014-07-10 09:32:14 +00:00
mdtrooper 700f0a8055 2014-07-10 Miguel de Dios <miguel.dedios@artica.es>
* 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
2014-07-10 09:10:30 +00:00
hkosaka 22521eec3d 2014-07-08 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Fixed that 'set enable_module'
	had not worked.

	MERGED FROM BRANCH 5.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-08 03:50:42 +00:00
jsatoh 34d4abede6 2014-06-24 Junichi Satoh <junichi@rworks.jp>
* 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
2014-06-24 02:35:46 +00:00
jsatoh 3690344dec 2014-06-24 Junichi Satoh <junichi@rworks.jp>
* 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
2014-06-24 01:54:23 +00:00
jsatoh bd500a0da9 2014-06-22 Junichi Satoh <junichi@rworks.jp>
* 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
2014-06-22 03:46:27 +00:00
jsatoh 95bb70615d 2014-06-21 Junichi Satoh <junichi@rworks.jp>
* 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
2014-06-21 14:37:04 +00:00
zarzuelo b8afeec545 2014-06-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Add doc info to pagerduty
	webhook option



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-13 08:57:59 +00:00
alexhigh f734ea00f6 2014-06-09 Alejandro Gallardo <alejandro.gallardo@artica.es>
* 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
2014-06-09 18:23:36 +00:00
alexhigh 90a846e2cc 2014-05-20 Alejandro Gallardo <alejandro.gallardo@artica.es>
* 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
2014-05-20 14:44:07 +00:00
jsatoh bd7a3c7e60 2014-04-29 Junichi Satoh <junichi@rworks.jp>
* include/functions_api.php: Added new API functions to manage
	special days.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-29 02:17:58 +00:00
zarzuelo 33ba6ee953 2014-04-02 Sergio Martin <sergio.martin@artica.es>
* 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
2014-04-02 16:23:38 +00:00
mdtrooper 1ab0555617 2014-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the function "get_module_name".
	Thanks Cucumber.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9501 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-04 16:51:30 +00:00
mdtrooper 6d579568a9 2014-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the function "api_get_policies".
	Thanks Cucumber.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-04 14:39:19 +00:00
mdtrooper 66c459e425 2014-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the function
	"api_get_tactical_view". Thanks Cucumber.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-04 10:53:09 +00:00
mdtrooper 468d49df9e 2014-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the function "api_get_gis_agent".
	Thanks Cucumber.
	
	* include/functions_io.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-04 09:57:31 +00:00
mdtrooper 6f266063ca 2014-03-03 Miguel de Dios <miguel.dedios@artica.es>
* 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
2014-03-03 17:06:31 +00:00
hkosaka 2c47ecec58 2013-12-27 Hirofumi Kosaka <kosaka@rworks.jp>
* 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
2013-12-27 09:44:57 +00:00
hkosaka 71c7271707 2013-12-27 Hirofumi Kosaka <kosaka@rworks.jp>
* 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
2013-12-27 07:22:57 +00:00
mdtrooper e7f7bc5746 2013-12-05 Miguel de Dios <miguel.dedios@artica.es>
* 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
2013-12-05 15:10:57 +00:00
mdtrooper f30a3708dd 2013-12-05 Miguel de Dios <miguel.dedios@artica.es>
* 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
2013-12-05 14:00:51 +00:00
zarzuelo 6dfc476f8a 2013-11-26 Sergio Martin <sergio.martin@artica.es>
* 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
2013-11-26 13:08:27 +00:00