Commit Graph

628 Commits

Author SHA1 Message Date
samucarc 344589494a Fixed minor error
Former-commit-id: 56aafe5689d627ac515c80b0158fc998992bd457
2019-01-18 17:33:29 +01:00
samucarc 0c9446fceb Added new functionality in CLI and API to update module counts and alert counts
Former-commit-id: aca543eb33de0dc231d18a4776676a4700b37120
2019-01-18 17:24:32 +01:00
Daniel Rodriguez 92aafb5953 Merge branch '2978-INTRACOM-Funciones-API-traps-y-control-de-acceso-de-aplicacion-externa-Fix-de-código-pisado-2' into 'develop'
Add traps, and other intracom API functions - #2978

See merge request artica/pandorafms!2119

Former-commit-id: 42bf67414f74d373ece3f83b4eecf2e4fd17f049
2019-01-17 12:08:03 +01:00
alejandro-campos e316977d4b Refactorize and add two new fields to api_get_groups api function
Former-commit-id: 2d59091279c284d549c09744ee61c8fee1e33564
2019-01-16 12:23:19 +01:00
manuel.montes aabcf73210 Fixed bug in functions_api
Former-commit-id: 28e5d9cf323dd04432ca5cabcd447e8cbf748706
2019-01-15 16:33:52 +01:00
enriquecd 5ead23014d Add traps, and other intracom API functions - #2978
Former-commit-id: 6f4029434a36030206def701df0d6e66995c6ca3
2019-01-11 12:33:22 +01:00
Enrique Camargo 1865cc954c Revert "Merge branch…"
This reverts merge request !1899

Former-commit-id: e19c3f43ff8a1a416e339f874d73299406d7e57a
2019-01-11 12:12:51 +01:00
enriquecd ae9b595edd Merge branch 'develop' into 2978-Functiones-API-traps-y-control-de-acceso-de-aplicacion-externa-Fix-de-código-pisado
Conflicts:
	pandora_console/include/functions_api.php


Former-commit-id: 5a5debe1ed66000fb8569ec589c84cad8e8dfe63
2019-01-11 12:04:50 +01:00
samucarc 5ecc9276e0 Merge branch 'develop' into 2523-APIListar,-crear,-borrar-y-modificar-Usuarios-desde-la-API-#6167-EUComm
# Conflicts:
#	pandora_console/include/functions_api.php


Former-commit-id: 6ba5a8f0fd2d02daca0d05e08b27981c7137f0bc
2019-01-03 16:25:40 +01:00
alejandro-campos ccb4778217 implemented api functions to create/update/delete/list event filters
Former-commit-id: f6b5c092622d74dee4fd587f259e6c286cd9c180
2018-12-17 18:18:17 +01:00
samucarc a9d3d81757 Fixed api function
Former-commit-id: 9b376941609b04ac13da551e8253d5ed5a8085dc
2018-12-17 17:56:01 +01:00
samucarc 58289e73bc Added new functionality for CLI to delete policy agents.
Former-commit-id: 753f9c47d2a4ffe8e5eb599dbd41d5b851500164
2018-12-17 17:51:30 +01:00
samucarc 632d67095b List alert actions in nodes with CLI and API
Former-commit-id: 11e9a8137a2a37b081fcbac2ee50cac27c2c208b
2018-12-14 17:20:46 +01:00
samucarc 7f99a8f9f4 List and synchronize group of modules of the meta console with CLI
Former-commit-id: 2fc699ee17ac08fe2d60746c0a3d8859a5083f7a
2018-12-11 14:43:27 +01:00
samucarc 484d79d974 Fixed synch error
Former-commit-id: 9b370b64fd24302f76733ca84792d0a57418d688
2018-12-10 16:06:25 +01:00
samucarc 3a80a0467b synchronize group of modules from the meta console
Former-commit-id: 172cd23a0f0f2fa12ad4d37893cae6d22951ee54
2018-12-10 15:55:09 +01:00
samucarc 2bde6ac6ce Create module group API
Former-commit-id: a2da223ae925935bcc449ee151597fd035b453e2
2018-12-07 15:36:13 +01:00
vgilc 1526aa6eee Merge branch '2501-Crear-SO-con-la-API-2' into 'develop'
added success and error messages to api functions api_set_create_os and api_set_update_os

See merge request artica/pandorafms!2043

Former-commit-id: aaa52d060a7e61f1ed3bb3530c5b452db1c0def6
2018-12-05 08:34:56 +01:00
alejandro-campos 795620f90f added success and error messages to api functions api_set_create_os and api_set_update_os 2018-12-04 15:55:39 +01:00
samucarc 517cb85547 Added new features in CLI to create and view alert commands 2018-12-03 17:38:57 +01:00
enriquecd 15c03217db Merge branch 'develop' into 2756-Functiones-API-traps-y-control-de-acceso-de-aplicacion-externa-2
Conflicts:
	pandora_console/include/functions_api.php
2018-11-30 15:04:27 +01:00
vgilc ce8e33ba29 Merge branch '2517-api-listar-y-crear-perfiles-de-usuario-en-meta-6168-eucomm' into 'develop'
2517 api listar y crear perfiles de usuario en meta 6168 eucomm

See merge request artica/pandorafms!1905
2018-11-30 12:22:37 +01:00
vgilc b8b43b33d7 Merge branch 'ent-2520-api-listar-y-crear-repuestas-de-eventos-6165-eucomm' into 'develop'
Ent 2520 api listar y crear repuestas de eventos 6165 eucomm

See merge request artica/pandorafms!1896
2018-11-30 10:50:59 +01:00
samucarc dc7176585e new API get_all_alerts_command 2018-11-29 16:57:17 +01:00
samucarc f0ff20fda1 Add commands alert 2018-11-28 21:38:02 +01:00
fbsanchez b2ed4a9d2c standby software agent while disabling 2018-11-16 14:26:11 +01:00
vgilc c7a54182a3 Merge branch '6219_Comprobacion_Paradas_planificadas_CLI_2' into 'develop'
Added check for the creation of planned downtimes by pandora manage

See merge request artica/pandorafms!1936
2018-11-07 08:48:48 +01:00
samucarc a80c7e493e Added check for the creation of planned downtimes by pandora manage 2018-11-06 16:42:03 +01:00
fbsanchez 8fe82add30 ondemand pluginTools, pandora_df inodes, cde functions_api cluster options 2018-10-30 17:53:57 +01:00
fermin831 c7a624000e Added API function set delete_user_profile_info 2018-10-29 13:34:30 +01:00
fermin831 bf7cdcc7ff Added API function set update_user_profile_info 2018-10-29 12:45:03 +01:00
fermin831 4f02d72630 Added API function set create_user_profile_info 2018-10-29 12:22:08 +01:00
fermin831 c211433321 Added API function get user_profiles_info 2018-10-29 11:02:43 +01:00
enriquecd 7634a41e04 Api meta functions new,update,delete,get users - #2523 2018-10-25 20:01:04 +02:00
enriquecd 2849d62faa Add generic API functions set access control and traps functions - #2978 2018-10-25 19:48:23 +02:00
daniel 0b0bad8a73 Merge remote-tracking branch 'origin/develop' into 2221-Actualizacion_de_Pandora_a_version_7_de_PHP
Conflicts:
	pandora_console/extras/mr/22.sql
	pandora_console/include/chart_generator.php
	pandora_console/include/functions_graph.php
	pandora_console/include/functions_reporting.php
	pandora_console/include/functions_reporting_html.php
	pandora_console/include/graphs/fgraph.php
2018-10-25 17:43:28 +02:00
fermin831 d70969e6e9 Merge branch 'develop' into ent-2520-api-listar-y-crear-repuestas-de-eventos-6165-eucomm
Conflicts resolved:
	pandora_console/include/functions_api.php
2018-10-25 15:45:16 +02:00
fermin831 f831e59ac3 Added documentation and minor fixes related with API event responses functions 2018-10-25 15:42:45 +02:00
fermin831 8cc68185d9 Added set delete_event_response to API 2018-10-25 15:34:02 +02:00
fermin831 1bd492307a Added set update_event_response to API 2018-10-25 15:25:27 +02:00
fermin831 6b93cba119 Added set create_event_response to API 2018-10-25 15:03:07 +02:00
vgilc 3c548f1c98 Merge branch '6219_Comprobacion_paradas_planificadas' into 'develop'
Fixed problems in scheduled downtime CLI

See merge request artica/pandorafms!1806
2018-10-25 13:03:17 +02:00
vgilc 4b317b573b Merge branch '2708-API-metaconsola-function-get_agent-no-devuelve-nada' into 'develop'
Added code for function api_get_agent_alias for the API of the metaconsole - #2708

See merge request artica/pandorafms!1816
2018-10-25 12:11:16 +02:00
vgilc 48395acfaa Merge branch '2730-Fallo-políticas-desde-la-meta' into 'develop'
Fixed bug in deleted policies from the metaconsole

See merge request artica/pandorafms!1774
2018-10-25 12:03:24 +02:00
fermin831 c0afbf0b6f Added get event_responses to API 2018-10-25 11:49:39 +02:00
vgilc 5a551da1f8 Merge branch '2759-crear-iso-precargada-enterprise-para-demos' into 'develop'
Minor fix in cde cluster api methods

See merge request artica/pandorafms!1864
2018-10-25 10:34:39 +02:00
alejandro-campos aaa2c6aa10 fixed bug: calling api method create event not inserting agent name 2018-10-22 10:31:10 +02:00
daniel ffc7734ebc delete flash_charts and library pchart 2018-10-19 11:31:06 +02:00
fbsanchez 7a44f9dcdd Minor fix in cde cluster api methods 2018-10-17 13:26:41 +02:00
daniel 16be9488c8 Merge remote-tracking branch 'origin/develop' into 2221-Actualizacion_de_Pandora_a_version_7_de_PHP
Conflicts:
	pandora_console/include/functions_graph.php
2018-10-11 13:06:17 +02:00
enriquecd 3d6451d64b Fix returnData - #2881 2018-10-09 20:03:49 +02:00
enriquecd 2083733329 Fix id for agent status - #2881 2018-10-09 16:33:07 +02:00
enriquecd f7700874a5 api function api_get_all_agents for meta - #2881 2018-10-08 16:45:44 +02:00
enriquecd 112b4e3097 Add get_group_id_by_name and get_timezone to api functions - #2756 2018-10-05 17:01:11 +02:00
enriquecd c0dd2bcab6 Add status data to get_all_agents API response - #2881 2018-10-05 12:57:25 +02:00
daniel e2f7157545 fixed php7 2018-10-04 11:43:08 +02:00
vgilc d9a8e30229 Merge branch '2138-En-la-API-se-esta-usando-el-nombre-del-agente-para-filtrar-en-lugar-del-alias' into 'develop'
Agent filtering by alias

See merge request artica/pandorafms!1627
2018-10-01 12:30:09 +02:00
tatiana.llorente@artica.es 9977f1ddf9 Added code for function api_get_agent_alias for the API of the metaconsole - #2708 2018-10-01 09:51:58 +02:00
vgilc 4d2413b39b Merge branch '2501-Crear-SO-con-la-API' into 'develop'
added methods to api (metaconsole and node) to create and update operating systems

See merge request artica/pandorafms!1654
2018-09-28 10:26:47 +02:00
fermin831 22b46e41f1 Added standby mode on disabled token of API function set update_agent 2018-09-25 15:59:33 +02:00
samucarc cc5104024d Fixed problems in scheduled downtime CLI 2018-09-25 13:33:10 +02:00
manuel.montes d0e7b86112 Fixed bug in deleted policies from the metaconsole 2018-09-18 09:41:05 +02:00
enriquecd f4551faff0 Add intracom generic functions - #2541 2018-09-03 18:02:18 +02:00
alejandro-campos 87296eb472 added methods to api (metaconsole and node) to create and update operating systems 2018-08-01 14:35:05 +02:00
daniel 9236285a98 remove functions api to api enterprise because policies is enterprise 2018-07-23 17:04:07 +02:00
manuel.montes f1938a0fdb Agent filtering by alias 2018-07-23 11:52:17 +02:00
daniel f05ba656e1 add functions api for policies node 2018-07-23 08:59:08 +02:00
fermin831 223d13edd5 Change the policy agents to work on serialized way 2018-07-18 14:50:09 +02:00
daniel 4c7c248671 Merge remote-tracking branch 'origin/develop' into 2226-Analisis_de_causa_raiz_en_alertas_mediante_los_servicios 2018-07-09 09:44:33 +02:00
vgilc 8d639b031e Merge branch 'ent-2405-recuento-y-paginado-vista-agent-detail' into 'develop'
Fixed filter count in agent detail.

See merge request artica/pandorafms!1591
2018-07-06 09:40:15 +02:00
danielmaya b186c82a7b Fixed json in functions_api 2018-07-04 15:57:08 +02:00
fermin831 d1eaef6f6d Fixed filter count in agent detail. 2018-07-03 13:22:23 +02:00
daniel 1b1bc4aa2e add new column evaluate_sla into table tservice 2018-06-28 13:34:55 +02:00
daniel 84f1cf95eb Merge remote-tracking branch 'origin/develop' into 2075-Proteccion_en_cascada_de_servicios
Conflicts:
	pandora_console/godmode/agentes/configurar_agente.php
2018-06-26 13:44:16 +02:00
daniel 92fbc86ed9 add cascade protection in services 2018-06-22 14:59:17 +02:00
fermin831 1ccd7d1fd7 Modified set create_snmp_module to permit create remote_snmp_proc modules 2018-06-20 17:07:13 +02:00
nramon cf38c82653 Merge branch '2294-requisitos-api-cluster' into 'develop'
Minor fixes in api responses

See merge request artica/pandorafms!1560
2018-06-20 13:03:11 +02:00
fbsanchez d0796a3e09 Minor fixes in api responses 2018-06-20 12:58:46 +02:00
slerena 5efc2d220e Merge branch '2294-requisitos-api-cluster' into 'develop'
Fixed some acl issues in cluster api methods

See merge request artica/pandorafms!1557
2018-06-20 12:33:27 +02:00
fbsanchez 1f06a15d7c Fixed get_cluster_status 2018-06-20 12:20:34 +02:00
fbsanchez b75ee89397 Fixed some acl issues in cluster api methods 2018-06-20 11:49:15 +02:00
fermin831 85f84f4211 [API ACL] Fixed meta create_event 2018-06-20 11:46:57 +02:00
fermin831 56042f596d [ACL API] Fixed groups in event validations 2018-06-19 19:53:54 +02:00
fermin831 0d2ee35e0f [API ACL] Fixed the rest of reopened node API ACL fails 2018-06-19 17:05:23 +02:00
fermin831 2fc6b86251 [ACL API] Undo refix 2018-06-19 16:14:25 +02:00
fermin831 c11a8b3d2e Merge branch 'develop' into 2290-seguridad-en-la-api-3 2018-06-19 13:38:13 +02:00
fermin831 a5112929fd [API ACL] Fixed get agent_module_last_value (and related) and get policies 2018-06-19 13:37:37 +02:00
fbsanchez e0fa002cd2 Modified functions api 2018-06-18 21:11:53 +02:00
fermin831 d3c0b0473f Fixed module functions ACL check 2018-06-14 16:04:50 +02:00
daniel 9ecc770519 remove only average for all graphs and add zoom for sparse graph in stat-win and stat-win-interfaces 2018-06-13 11:02:58 +02:00
enriquecd fd368aec86 Add mode 1 and empty ip on create agent by API new_cluster, and get cluster items by API - #2294 2018-06-12 12:08:57 +02:00
vgilc fdbe03ef83 Merge branch 'ent-639-add-user-defined-timezones' into 'develop'
Add user defined timezones

See merge request artica/pandorafms!1462
2018-06-12 10:20:31 +02:00
fermin831 2150f58ec0 [API ACL] Metaconsole functions 2018-06-11 18:39:19 +02:00
Alejandro Gallardo Escobar f6184b52da Merge branch 'develop' into ent-639-add-user-defined-timezones 2018-06-11 17:42:02 +02:00
Alejandro Gallardo Escobar fac3e21829 Added a lot of fixes to the dates stored as strings without timezone information to made them use the user timezone 2018-06-11 16:40:10 +02:00
fermin831 c949ab3dc7 Merge branch 'develop' into 2290-seguridad-en-la-api
Conflicts:
	pandora_console/include/functions_api.php
2018-06-11 15:55:48 +02:00
fermin831 e3fbef309b [API ACL] Added ACL to set functions 2018-06-11 15:39:58 +02:00
fermin831 eda5898031 [API ACL] More setters 2018-06-08 15:20:15 +02:00
Fermin 9bf6102ac6 [ACL API] Added ACL in some set functions 2018-06-07 19:45:54 +02:00
Fermin 054b915846 [ACL API] Fixed get planned_downtimes_items and added ACL to more the rest of get functions 2018-06-07 13:11:40 +02:00
Fermin 2e1bb2ac9c Merge branch 'develop' into 2290-seguridad-en-la-api
Conflicts:
	pandora_console/include/functions_api.php
2018-06-07 11:38:37 +02:00
fermin831 b3bdd5d492 [API ACL] More get functions (2) 2018-06-06 19:39:57 +02:00
fermin831 7f2d583f63 [API ACL] More get functions 2018-06-06 19:04:06 +02:00
daniel 867e00c50d fixed minor error 2018-06-06 18:00:44 +02:00
daniel ea6f96e96b fixed minor error api 2018-06-06 17:53:52 +02:00
daniel d7da009804 fixed errors in graphs 2018-06-06 17:23:32 +02:00
fermin831 0afd436cea [ACL API] Added ACL to some get api calls and refactorized agent count 2018-06-06 15:04:30 +02:00
daniel badfd83b0d Merge remote-tracking branch 'origin/develop' into 1827-Graficas_TIP_eje_x_no_mantiene_ratio
Conflicts:
	pandora_console/include/functions_graph.php
	pandora_console/include/graphs/fgraph.php
2018-06-06 11:57:02 +02:00
vgilc b620c1e7d9 Merge branch '2016-plugin-monitorizacion-con-docker-swarm' into 'develop'
Minor fix in plugintools api_methods

See merge request artica/pandorafms!1484
2018-06-04 10:19:56 +02:00
vgilc 900f6ba609 Merge branch '2294-Requisitos-API-cluster-2' into 'develop'
Add cluster and API get functions - #2294

See merge request artica/pandorafms!1495
2018-06-04 10:13:28 +02:00
daniel a8b8f309e6 fixed graphs 2018-05-30 17:45:17 +02:00
enriquecd dbafab2ae7 Add cluster and API get functions - #2294 2018-05-23 19:13:47 +02:00
fbsanchez a82299f1cf PluginTools minor changes
API cluster minor changes
2018-05-21 18:08:36 +02:00
fbsanchez 2ab45d28b8 Added api_get_agent_id (API) updated plugintools 2018-05-21 14:42:27 +02:00
fermin831 8a1f5c87ec [Rebranding] Open API 2018-05-10 18:56:59 +02:00
enriquecd d92dc1a2b0 Change API and flags in cluster manager - #2007 2018-04-27 11:06:29 +02:00
enriquecd b4b6852e27 Change id_os number refence and add get_cluster status function in api and CLI - #2007 2018-04-23 13:52:16 +02:00
enriquecd 676835ddc8 Merge branch 'develop' into 2007-Monitorizacion-de-cluster-fase-2-API
Conflicts:
	pandora_console/include/functions_api.php
2018-04-20 10:10:33 +02:00
enriquecd 9bb7ba475e Fix api collection function include - #2110 2018-03-26 18:34:52 +02:00
enriquecd dcb33e08b7 Merge branch 'develop' into 983-API-CLI-posibilidad-de-aplicar-templates-componentes-a-un-agente
Conflicts:
	pandora_server/util/pandora_manage.pl
2018-03-22 11:11:01 +01:00
enriquecd d21ca7eb5f Add API cluster functions - #2007 2018-03-21 18:20:59 +01:00
daniel c8118c2e08 fixed minor error 2018-03-12 19:31:24 +01:00
daniel 1f3b95f6d1 check problems migration 2018-03-08 12:09:03 +01:00
enriquecd 3ee2f8615f API and CLI apply template components - #983 2018-02-26 19:10:53 +01:00
vgilc 61ce7237c3 Merge branch '1688-Error-en-API-al-habilitar-alertas' into 'develop'
Add new function enable alert by alias - #1688

See merge request artica/pandorafms!1177
2018-01-29 13:25:54 +01:00
danielmaya c2a467064e Added string graph in mail 2018-01-12 13:17:57 +01:00
vgilc 6ac8571b2d Merge branch '979-CLI/API-Para-sincronizar-la-metaconsola' into 'develop'
Metaconsole synchronization for api - #979

See merge request artica/pandorafms!1057
2017-12-21 11:00:09 +01:00
enriquecd e4cc09e09c Add new function enable alert by alias - #1688 2017-12-13 13:57:38 +01:00
enriquecd 2f9f2ddf90 Metaconsole synchronization for api - #979 2017-11-13 16:37:08 +01:00
Daniel Maya 5a2a97e94c Fixed function api_set_disable_alert 2017-10-27 12:25:00 +02:00
daniel 8a7b0a0f79 fixed errors in new macro graph treshold 2017-09-08 13:55:03 +02:00
daniel c29d8a4fdb Revert "merge develop"
This reverts commit 8232911713, reversing
changes made to f5da86ac0a.
2017-08-23 09:35:17 +02:00
vgilc 901a163c84 Merge branch '1108-bad-api-and-cli-request-in-meta-with-events-dev' into 'develop'
Fixed meta event table in cli and api functions

See merge request !665
2017-08-18 12:50:19 +02:00
daniel 6e45b3cd9e add threshold graph send for mail 2017-08-02 11:48:37 +02:00
Daniel Maya dd5cb8088c added service functions in the API 2017-08-01 10:39:02 +02:00
vgilc 6dba0a5040 Merge branch 'develop' into '713-Asignar-políticas-a-grupos-dev'
# Conflicts:
#   pandora_console/extras/mr/4.sql
2017-07-18 12:24:49 +02:00
Daniel Maya f0e43e252c New feature: Add groups to policies 2017-07-18 12:06:57 +02:00
Arturo Gonzalez bec023dc4d Fixed meta event table in cli and api functions 2017-07-18 11:36:57 +02:00
daniel 9b1338b4c2 fixed autovalidate event in pandora_revent with extra_id 2017-06-27 10:51:35 +02:00
daniel d3a0c4b52b fixed errors in pandora revent 2017-06-21 14:34:06 +02:00
vgilc c78711ba6f Merge branch '539-encrypt-agent-custom-fields-in-pandora-console-dev' into 'develop'
539 encrypt agent custom fields in pandora console dev

See merge request !520
2017-06-14 11:42:51 +02:00
daniel d85ec51220 fixed errors caase sensitive servername 2017-06-13 12:42:21 +02:00
Arturo Gonzalez 463c393c00 Added changes to encrypt custom values with a new token 2017-05-29 11:48:50 +02:00
daniel e5c0440d0b fixed errors in mail module_graph 2017-03-09 08:58:53 +01:00
Daniel Maya d1302731b6 Added alias when creating and modifying agent 2017-03-07 15:36:04 +01:00
Daniel Maya 4b8ec8e5ae Added alias in api 2017-03-07 10:31:23 +01:00
m-lopez-f 0b943fcf08 Remove debug traces 2017-03-03 13:27:02 +01:00
fermin831 ec515db179 Fixed get module_data to get url_encode_separator 2017-03-01 15:30:40 +01:00
Arturo Gonzalez 938dc40f77 Fixed api get module data. Ticket #385 2017-02-27 14:58:40 +01:00
Arturo Gonzalez fc7e2f69b7 Fixed exception in datetime object. Functions api get_module_data. Ticket #378 2017-02-27 11:05:23 +01:00
Arturo Gonzalez cb7ab827d2 Fixed module type chart selected in conf. Ticket #345 2017-02-21 16:36:46 +01:00
Arturo Gonzalez 3c8bc86ab7 Added cascade protection by module (agent, massive and api). Ticket #187 2017-01-25 13:59:14 +01:00
Arturo Gonzalez 196da4098e Added new options to api module data function. Ticket #4283 2016-12-22 15:58:45 +01:00
Daniel Maya d9b60534b6 added function db_uncompress_module_data 2016-11-30 16:01:22 +01:00
daniel 653da41402 Ticket integria:3621 fixed image in mail #75 2016-09-19 16:43:46 +02:00
Hirofumi Kosaka 0cc2ffa928 Added new API 'delete_group'. 2016-09-02 12:55:16 +09:00
fbsanchez b644f15d00 Ticket Integria: 3951 Changed workaround to generate api module graphs #31
(cherry picked from commit 95b162f63a)
2016-08-25 20:22:11 +02:00
Daniel Maya b63567bf3b Modified error messages and warnings. Ticket #3206. 2016-08-24 15:32:29 +02:00
Hirofumi Kosaka 3a7e5fcf2f Added the handling of agent's address list at new_agent/update_agent API call. 2016-07-21 17:15:22 +09:00
Hirofumi Kosaka 9abcfbf1b3 Fixed that API couldn't create snmp module with module group id > 17. 2016-06-30 17:39:00 +09:00
Ramon Novoa 98420e4c06 Fixed a regexp in functions_api.php. Sometimes img tags are not properly
closed!

(cherry picked from commit c22ea46899)
2016-06-27 13:38:37 +02:00
Daniel Maya 5c713e15f7 New feature domain names. Ticket #3130. 2016-06-21 16:15:57 +02:00
Daniel Maya 0035b74f47 new macro in CLI and API get_module_id. Ticket #3525. 2016-06-17 08:50:30 +02:00
Daniel Maya 0696bccdcd policy_linked in set_update_*_module added. Ticket #3292. 2016-06-15 10:15:14 +02:00
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
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
zarzuelo 5aaed435b8 2013-11-07 Sergio Martin <sergio.martin@artica.es>
* 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
2013-11-07 16:37:43 +00:00
mdtrooper 53e2b98415 2013-11-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the validate event with the
	new validation form.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-07 15:47:17 +00:00
zarzuelo b2652d8750 2013-11-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Fix create event typo 
	errors in api. Fix sent by tomas in incident #347



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-06 12:17:09 +00:00
hkosaka 8af1214b13 2013-10-31 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added some parameters to
	'create_group' API function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-31 11:50:06 +00:00
mdtrooper 7b5b0e0635 2013-10-30 Miguel de Dios <miguel.dedios@artica.es>
* 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
2013-10-30 15:00:46 +00:00
mdtrooper 2125245841 2013-10-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the get events filtered by the
	group in the parameters.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-23 12:30:11 +00:00
mdtrooper 3462a1717e 2013-10-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: applied the path from
	"http://sourceforge.net/p/pandora/bugs/2395/", thanks Jorge Loza.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8939 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-21 07:37:03 +00:00
mdtrooper 09e5a830aa 2013-10-11 Miguel de Dios <miguel.dedios@artica.es>
* 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
2013-10-11 11:33:07 +00:00
Ramon Novoa ebfb062743 2013-09-09 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  include/ajax/events.php,
	  include/functions_api.php,
	  include/functions_events.php,
	  include/javascript/pandora_events.js,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Added support for event custom data (via CLI
	  and API).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-09 16:21:45 +00:00
mdtrooper c77a285a97 2013-09-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed typing bugs...yes I wrote a lot
	of them, sorry.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-03 10:37:50 +00:00
mdtrooper 967e978fea 2013-08-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: added supoport for disabled unknown
	events modules, components and policies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-29 07:48:10 +00:00
mdtrooper 3d6d479574 2013-08-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php,
	include/functions_snmp_browser.php, include/functions_api.php: fixed
	PHP warnings and PHP notices.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-23 06:24:42 +00:00
mdtrooper 04afb4615d 2013-08-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/servers.build_table.php, include/functions_db.php,
	include/functions_servers.php, index.php: improved the source code
	style.
	
	* include/functions_api.php: added the call to update the agent.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-21 12:37:37 +00:00
mdtrooper 00c554f0b4 2013-08-20 Miguel de Dios <miguel.dedios@artica.es>
* 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
2013-08-20 13:13:52 +00:00
hkosaka 7e461eb008 2013-08-19 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Small Fix. Corrected error message.

	MERGED FROM branch4.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-19 08:00:31 +00:00
hkosaka c09b4e6591 2013-08-01 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added new API function
	'api_set_enable_disable_agent'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-01 12:34:00 +00:00
mdtrooper c7e78e0190 2013-07-30 Miguel de Dios <miguel.dedios@artica.es>
* mobile/operation/networkmap.php, godmode/users/user_list.php,
	include/javascript/pandora.js,
	include/javascript/openlayers.pandora.js,
	include/functions_snmp_browser.php, include/api.php,
	include/functions_api.php, operation/snmpconsole/snmp_browser.php,
	operation/agentes/networkmap.dinamic.php: improved the source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-30 10:25:49 +00:00
mdtrooper d343cc4c38 2013-07-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: a lot of tiny fixes.
	
	* extensions/api_checker.php: some fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-29 17:13:52 +00:00
zarzuelo a1655972a6 2013-07-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Changed the way of encode
	data configuration in create/update config form API



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-02 15:38:49 +00:00
mdtrooper 85413ab82b 2013-04-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/tag/tag.php: fixed the column for large list of emails,
	now it shows a dialog.
	
	Fixes: #3611472
	
	* include/functions_api.php, operation/snmpconsole/snmp_browser.php,
	extensions/ssh_gateway.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 11:02:18 +00:00
darode 1706c1f9fd 2013-04-02 Dario Rodriguez <dario@artica.es>
* include/functions_api.php: New function to create a tag
        via API.
        * include/functions_tags.php: Create tag only if not exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-02 16:49:43 +00:00
hkosaka 86efc9c40e 2013-03-15 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Improved performance of
	get_tree_agents() API by omitting unnecessary data copies and
	queries when output fields are explicitly specified.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 06:30:26 +00:00
mdtrooper a9c29eb474 2013-03-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_netflow.php,
	include/help/ja/help_snmp_trap_types.php,
	include/functions_extensions.php,
	include/functions_snmp_browser.php, include/functions_events.php,
	include/functions_api.php: improved the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 14:41:26 +00:00
darode ef8efa9938 2013-02-28 Dario Rodriguez <dario@artica.es>
* include/functions_api.php: Added new API function to
        create custom field and to get custom field ID by name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 14:41:26 +00:00
mdtrooper 696700f0ef 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: added code to set the config options
	for the history actions.
	
	Fixes: #3606285
	
	* include/functions_api.php: improved the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 09:46:39 +00:00
darode f6f7bbcaeb 2013-02-27 Dario Rodriguez <dario@artica.es>
* include/functions_events.php: Added new fields to events_create_event 
	function: critical warning and unknown instructions, source and tags.
	* include/functions_api.php: Reimplemented api_create_event API function, 
	the behaviour was completly wrong from documented and events_create_event
	function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 16:03:22 +00:00
mdtrooper 5413b96d55 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_general.php, godmode/setup/setup_netflow.php,
	godmode/setup/setup.php, godmode/setup/performance.php,
	godmode/setup/setup_visuals.php, include/functions_config.php: added
	check of update the options in the setup and show the message to
	success or not the operation for the user.
	
	Fixes: #3605972
	
	* include/functions_api.php,
	operation/agentes/estado_generalagente.php: fixed the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 14:25:24 +00:00
mdtrooper 5b6c2a43fb 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, include/functions_api.php:
	improved the source code style.
	
	* operation/agentes/estado_generalagente.php: fixed the set name
	style for the agent.
	
	Fixes: #3606134




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 10:22:51 +00:00
mdtrooper de78e7da9d 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/agent_manager.php: updated the code to module
	constants.
	
	* include/javascript/pandora_modules.js: fixed the set the
	module_data from to the json.
	
	* include/functions_api.php: cleaned source code style.
	
	* include/constants.php: addded lost constant for the module
	prediction.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 09:51:48 +00:00
mdtrooper eb145f1d29 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, operation/agentes/alerts_status.php:
	improved the style code.
	
	* include/functions_alerts.php: in function "get_group_alerts" fixed
	the get all alerts, sometimes set empty the return array.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 13:21:24 +00:00
mdtrooper 24e1fe692e 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form_common.php,
	godmode/massive/massive_edit_modules.php,
	include/functions_api.php: improved the form of modules the part
	of critical and warning widgets.
	
	Fixes: #3605482




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 10:29:52 +00:00
mdtrooper 43d7cac813 2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/functions_agents.php,
	include/functions_config.php, include/ajax/reporting.ajax.php,
	include/functions_snmp_browser.php,
	operation/agentes/status_monitor.php: improved code style.
	
	* include/functions_graph.php, include/graphs/fgraph.php,
	include/graphs/flot/jquery.flot.pie.js,
	include/graphs/flot/jquery.flot.pie.min.js,
	include/graphs/flot/pandora.flot.js,
	include/graphs/functions_flot.php: fixed the pie graphs, added the
	expanded version of flot pie js file with some changes for the
	last version of jQuery.
	
	Fixes: #3604555




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:35:04 +00:00
zarzuelo 9becfa4231 2013-02-14 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Fixed the macros of the
	default plugin MySQL

	* include/functions_groups.php
	include/functions_api.php
	include/functions_ui.php
	include/functions_agents.php
	include/functions_modules.php
	include/constants.php
	operation/agentes/estado_ultimopaquete.php
	godmode/db/db_sanity.php
	godmode/agentes/agent_template.php
	godmode/agentes/configurar_agente.php
	godmode/servers/plugin.php: Create a function to disable
	modules fixing the status counts and replace the old way of
	do it in all the console. Fixin a lot of old way of create 
	and delete modules too to use the centralized function and 
	dont break counts. BUG 3604463



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 12:55:53 +00:00
mdtrooper 3b22a943a8 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php, include/ajax/events.php,
	include/functions_api.php: improved the style code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 18:03:08 +00:00
vgilc bf84c30269 2013-01-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added 'agent_name' and
	'module_name' in option 'create_event'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 15:55:50 +00:00
zarzuelo 7e6afb0696 2013-01-16 Sergio Martin <sergio.martin@artica.es>
* include/ajax/events.php
	include/functions_graph.php
	include/functions_events.php
	include/javascript/pandora_events.js
	include/functions_config.php
	operation/events/events_list.php
	operation/events/events.php: Create a new
	event visor to metaconsole history events

	* include/functions_api.php: Added a new API function
	to create netflow filters



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 12:57:11 +00:00
vgilc 95b2d22285 2013-01-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Change 'add comments' and
	'owner user' in create events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 12:33:45 +00:00
juanmanuelr 478de7caf3 2012-12-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Added new column email to ttag table.


	* include/styles/pandora.css: Fixed loading class.

	* include/functions_api.php: Fixed get_all_agents api function. 
	 
	* include/functions_ui.php
	include/javascript/pandora.js: Improvement in agent_autocomplete
	function.
	
	* operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Fixes in report
	viewer for metaconsole.
	
	* godmode/tag/tag.php
	godmode/tag/edit_tag.php: Added email fields in editors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-31 08:01:28 +00:00
hkosaka 9a6378f694 2012-12-19 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added function
	'api_get_pandora_servers'.

        * include/functions_servers.php: Fixed a type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-19 08:48:12 +00:00
mdtrooper 276dc53b02 2012-12-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/alert_list.builder.php,
	operation/messages/message_edit.php, include/functions_api.php,
	operation/reporting/reporting_xml.php,
	godmode/reporting/graph_builder.graph_editor.php: cleaned source
	code style.
	
	* include/functions_io.php: improved the function "__" for to hook
	the translations from metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 16:50:38 +00:00
Ramon Novoa 57ed0d5362 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Further improved netflow
	  performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 11:04:12 +00:00
mdtrooper 2b0bcb6846 2012-11-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.
	
	* include/functions_api.php: fixed typo error that stoped the
	execution of api.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-12 14:53:33 +00:00
zarzuelo c9d7920e6b 2012-10-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/ajax/events.php
	include/functions_api.php
	godmode/alerts/alert_commands.php: Fix some
	event viewer bugs and command editor little
	aesthetic issues

	* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql: Delete ttag_event table




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 11:48:28 +00:00
hkosaka 0e91645349 2012-10-30 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: added 'description' parameter to
	'create_group' API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 07:59:55 +00:00
Ramon Novoa 0841750413 2012-10-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  include/javascript/pandora_modules.js,
	  include/functions_network_components.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extensions/resource_registration.php,
	  extensions/plugin_registration.php,
	  operation/menu.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php,
	  godmode/servers/plugin.php,
	  godmode/menu.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_templates.php,
	  godmode/modules/manage_network_components_form_wmi.php,
	  godmode/modules/manage_network_components.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Added support for
	  custom timeout and retries to remote modules.

	* operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_report_item.php,
	  godmode/netflow/nf_report.php,
	  godmode/netflow/nf_report_form.php,
	  godmode/netflow/nf.php: Deleted from repository. Netflow reports are
	  now integrated into custom reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 10:13:49 +00:00
mdtrooper 16324125b9 2012-10-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the function
	"api_set_apply_all_policies".
	
	Fixes: #3576289
	
	* include/functions.php, include/functions_filemanager.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-26 17:37:57 +00:00
vgilc 9cb42fd9f4 2012-10-15 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added function validate_event_
	by_id.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-15 08:44:40 +00:00
Ramon Novoa 7007a261e3 2012-10-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php: Small fixes to netflow reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 15:52:26 +00:00
Ramon Novoa 3e884c74b8 2012-10-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php:  Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 10:53:22 +00:00
vgilc a0fd16a060 2012-10-03 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Changed function create
	event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 13:04:56 +00:00
Ramon Novoa f545851b20 2012-10-02 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php: Added XML netflow reports and many
	  changes to enable metaconsole integration.

	* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Updated
	  migration scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:11:58 +00:00
mdtrooper f24f80c3b4 2012-09-20 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_api.php: cleaned
	source code style. And erased deprecated functions.
	
	* include/functions_ui.php: I hope that is finished the changes for
	the function "ui_print_agent_autocomplete_input" (at the moment) and
	added a huge header doc on the function.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-20 13:45:23 +00:00
vgilc 8772c67f13 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added function: tactical
	view.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 15:28:15 +00:00
mdtrooper 31b78d9121 2012-09-19 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php, extensions/system_info.php,
	extensions/update_manager/lib/libupdate_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_list.list.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_edit_modules.php,
	godmode/servers/manage_recontask.php,
	godmode/setup/setup_visuals.php, include/functions_api.php,
	include/functions_graph.php, include/functions_messages.php,
	include/graphs/functions_flot.php,
	include/graphs/flot/pandora.flot.js, operation/tree.php,
	operation/agentes/status_events.php,
	operation/agentes/ver_agente.php, operation/events/events_list.php,
	operation/events/events_marquee.php,
	operation/events/events_rss.php: cleaned source code style.
	
	* godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php, include/ajax/agent.php: continue to change
	to the new function "ui_print_agent_autocomplete_input" to make more
	easy (and standar) the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:45:59 +00:00
vgilc 9508511faf 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added functions: event_info
	and create_event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 11:28:57 +00:00
vgilc 70fdf849e7 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added new
	functions to API.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 13:32:54 +00:00
vgilc a4e76728ac 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Fixed bug creating
	new agent.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:08:21 +00:00
mdtrooper 8afc508476 2012-09-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/incidents/incident_detail.php,
	operation/agentes/exportdata.php, operation/events/events_list.php,
	operation/events/events.php, godmode/events/event_edit_filter.php,
	godmode/massive/massive_edit_agents.php, include/functions_api.php,
	include/constants.php, include/javascript/pandora.js,
	include/functions_ui.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 17:47:21 +00:00
vgilc 4a6653a89d 2012-06-31 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added functions to api.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-31 08:44:10 +00:00
mdtrooper 44ac0709ba 2012-08-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: fixed when the metaconsole is
	not set.
	
	* godmode/reporting/reporting_builder.php: cleaned source code
	style.
	
	* include/functions_reports.php: fixed into the function
	"reports_get_reports" to get reports in All group for users of
	others groups.
	
	* include/functions_api.php: fixed the confused error messages when
	there is data events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 15:28:55 +00:00
mdtrooper be61f4454a 2012-08-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the error messages althought you
	have event data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 11:39:25 +00:00
zarzuelo 982e5c0906 2012-08-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Force the static graphs in the 
	last added function to api



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-10 09:04:52 +00:00
zarzuelo 70c05df8d8 2012-08-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Add the missed function api_get_graph_module_data
	and update it to work with last graph system



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-10 08:33:48 +00:00
mdtrooper 3646e7b843 2012-08-02 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql, include/functions_config.php: fixed the
	"list_ACL_IPs_for_API" update.
	
	* operation/events/events_marquee.php, godmode/setup/setup.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/configure_alert_special_days.php,
	include/functions_api.php, include/functions_ui.php,
	include/functions_netflow.php, include/functions_alerts.php,
	include/functions_menu.php, include/functions_messages.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 12:48:09 +00:00
zarzuelo 0c685638d4 2012-08-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Improve returns of 
	conf file operation to give more info



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-02 11:38:31 +00:00
zarzuelo f8833bb217 2012-08-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Fixed broken return of
	the get module from conf function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-02 10:46:43 +00:00
zarzuelo 7c56996a3a 2012-08-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Change the return of the
	functions recently added to numeric values to be 
	easily checkable



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-02 09:19:05 +00:00
zarzuelo 990da2e5f2 2012-07-31 Sergio Martin <sergio.martin@artica.es>
* pandora_console/include/functions_api.php: Added 
	a safe_input to fix entities problems in last feature



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 16:28:15 +00:00
zarzuelo d12c23c21c 2012-07-31 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Added API function to 
	get the module data info from the agent conf file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 15:58:35 +00:00
zarzuelo 3fc02a0571 2012-07-31 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Fix a unclosed key



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 10:34:33 +00:00
zarzuelo c818b53e01 2012-07-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Added to API the actions:
	add, update and delete module in agent config file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 10:24:01 +00:00
mdtrooper b967940c41 2012-07-16 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_modules.php, extensions/users_connected.php,
	extensions/agents_alerts.php,
	operation/visual_console/render_view.php,
	operation/visual_console/public_console.php,
	operation/agentes/networkmap.groups.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/networkmap.topology.php, general/header.php,
	godmode/db/db_refine.php, godmode/agentes/configurar_agente.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/setup/setup_visuals.php, godmode/snmpconsole/snmp_alert.php,
	godmode/modules/manage_network_components_form_wmi.php,
	include/functions_config.php, include/functions_api.php,
	include/functions_agents.php, include/functions_forecast.php:
	cleaned source code style and change magic numbers for time
	constants.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 09:24:04 +00:00