Commit Graph

214 Commits

Author SHA1 Message Date
Hirofumi Kosaka 1ca151fa03 Fixed get_plugins API that had returned values in wrong order if updated from ver 4.x. 2016-02-18 16:58:01 +09:00
m-lopez-f 2ff36cc245 Add lost variable in funtion 2016-02-09 10:22:40 +01:00
m-lopez-f 3315b732f8 Fixed problems with create syntethic module with API. 2016-02-09 10:20:42 +01:00
mdtrooper c817d96937 Cleaned source code. 2016-01-27 15:58:54 +01:00
mdtrooper fe8300655d Cleaned source code. 2016-01-27 13:08:11 +01:00
fermin831 7eab842adc Blocks nonexistent id_agent when updating modules with api #3191 2016-01-13 18:22:30 +01:00
mdtrooper 1e9f086cae Fixes for the management groups in the API. TICKET: #3119
(cherry picked from commit f9ee9a7032)
2016-01-05 12:17:46 +01:00
m-lopez-f fea29a84a0 Add new function of locate agent in servers. Tiquet: #3119
(cherry picked from commit 4c6451372b)
2015-12-30 13:43:15 +01:00
m-lopez-f e91dc72885 add new function to use in metaconsole
(cherry picked from commit a93ca7ec0e)
2015-12-30 13:17:52 +01:00
m-lopez-f d916ed55ea Add CLI/API new function of create modules synthetic. Tiquet: #3034
(cherry picked from commit c0563a54ed)
2015-12-21 15:42:45 +01:00
Hirofumi Kosaka 2c1fd62374 had planned_downtimes_created API accept date with time for date_from/to params. 2015-12-16 19:37:32 +09:00
m-lopez-f 89fcaec748 Fixed functions of cli/pai of planned downtime. Tiquet: #3020 2015-12-03 11:54:08 +01:00
m-lopez-f 4ef2b08f09 Change form of send dates in planned downtimes 2015-12-02 17:08:42 +01:00
m-lopez-f 4fd6a2a47b Add new functions in API calls about planned downtimes. Tiquet: #3020 2015-12-01 17:15:29 +01:00
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