Commit Graph

4918 Commits

Author SHA1 Message Date
jsatoh e4d10926cb 2012-02-13 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Changed the plugin_exec to 'gtimeout'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 00:52:03 +00:00
darode 92a469487e 2012-02-10 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_reporting.php,
        include/functions_groups.php: Fixed a problem in Group View that hide empty parent
        groups when their children has agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 14:39:25 +00:00
vgilc 39c73698e7 2012-02-10 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_events.php
	  operation/events/events_list.php
	  operation/events/events_validate: Allowed post a comment 
	without changing the event's state.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 13:57:36 +00:00
mdtrooper 10eac16b37 2012-02-10 Miguel de Dios <miguel.dedios@artica.es>
* * extensions/module_groups.php, include/functions_modules.php,
	godmode/agentes/module_manager_editor_prediction.php: cleaned
	source code style.

	* godmode/agentes/configurar_agente.php: cleaned source code style and fixed
	the duplication of module.
	
	* include/functions_agents.php: fixed the get modules into function
	"agents_get_modules", before the function return ever the policy modules
	without apply filter.
	
	Fixes: #3482260



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 13:23:12 +00:00
ramonn 1b1f434bfc 2012-02-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for regular expressions to
	  the SNMP value filter. Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 11:13:05 +00:00
darode d057c038e7 2012-02-10 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_groups.php: Added links to different sections with
        the suitable filters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 10:52:45 +00:00
vgilc 9b16247b01 2012-02-10 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql: Removed default value of 'value' field to
	tconfig table.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 10:38:41 +00:00
juanmanuelr 3862f47c06 2012-02-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/snmpconsole/snmp_view.php: Added type in snmp alert view
	and added None option in trap type filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 10:36:11 +00:00
vgilc 252fa87d1a 2012-02-10 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Changed type of 'value'
	to tconfig table.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 10:32:05 +00:00
darode 915a63a51b 2012-02-10 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php: Changed module status image for unknown
        status to gray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 10:01:14 +00:00
vgilc 3ffab90a42 2012-02-10 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Added new Event validate given id.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 09:30:21 +00:00
hkosaka e137ad8ba3 2012-02-10 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_agent: Allow filename wildcards to specify
	additional configuration files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 04:40:57 +00:00
juanmanuelr 6c63b2ab1a 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Added colors in name and group
	at creation time and now update button is showed when a filter is
	created.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 19:17:43 +00:00
juanmanuelr a63ec8d9c3 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_field_match_snmp.php
	 include/help/es/help_field_match_snmp.php
	 godmode/snmpconsole/snmp_alert.php: Changed order of fields in this 
	 view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 18:12:50 +00:00
zarzuelo 25000e0bd9 2012-02-09 Sergio Martin <sergio.martin@artica.es>
* godmode/groups/group_list.php: Cleaned old code used in
	policy filter ajax call




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 18:04:26 +00:00
juanmanuelr 513a18f603 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Changed toggle filter in this
	view.
	* operation/netflow/nf_live_view.php: Changed filters of netflow
	to javascript code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 17:55:49 +00:00
juanmanuelr 71fa0b7e83 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* Changelog: I forgot to update Changelog.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 17:09:29 +00:00
juanmanuelr da633eb44c 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/snmpconsole/snmp_alert.php: OID field moved from conf.
	part of the view to filter part.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 17:01:07 +00:00
vgilc a5ce8e4d08 2012-02-09 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php: show 'source' and 'extra id' fields
	in event view when the value is empty.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 17:00:34 +00:00
juanmanuelr 0d0026fcfd 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/snmpconsole/snmp_alert.php: Added 'None' value to trap 
	type filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 16:24:08 +00:00
mdtrooper b174a1064e 2012-02-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: cleaned source code style, and into the
	function "html_print_select" fixed when the data hasn't "optgroup" items.
	
	* include/functions_reports.php: cleaned source code style, and into the
	function "reports_get_report" fixed empty arrays of reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 14:38:57 +00:00
juanmanuelr 82373f34b0 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/snmpconsole/snmp_alert.php: Changed position of tables
	'Alert filters' and 'Alert configuration' in this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 14:15:12 +00:00
ramonn 74e53b41f4 2012-02-09 Ramon Novoa <rnovoa@artica.es>
* operation/events/events_list.php: Removed short tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 12:50:51 +00:00
ramonn 1aa41a3ad7 2012-02-09 Ramon Novoa <rnovoa@artica.es>
* godmode/events/custom_events.php: Aesthetic fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 12:39:11 +00:00
juanmanuelr cc9660be06 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Now id_group and id_name it's 
	keeped when pagination is used in this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 12:33:21 +00:00
juanmanuelr ff39cfbf80 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Now toogle filter is not hide
	when pagination is used in thie view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 12:18:26 +00:00
juanmanuelr 75d27409ff 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_snmp_alert_configuration.php	
	 include/help/es/help_snmp_alert_configuration.php	
	 include/help/en/help_snmp_alert_filters.php
	 include/help/es/help_snmp_alert_filters.php
	 include/help/es/help_field_match_snmp.php	 
	 include/help/en/help_field_match_snmp.php: Added helps for snmp
	 alert editor.

	* include/help/en/help_snmp_alert_custom.php
	 include/help/es/help_snmp_alert_custom.php: Modified helps due to
	 field renamed in thie view.

	* pandoradb.sql
	 pandoradb.postgreSQL.sql
	 pandoradb.oracle.sql
	 extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	 extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	 extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added 
	 id_group_filter in tevent_filter table.

     * operation/events/events_list.php
	 operation/events/events.php
	 godmode/events/event_edit_filter.php
	 godmode/events/event_filter.php: If update button have been pushed 
	 toogle filter is not hide. And added group filter in live filter
	 editor and in filter editor.
       
	* godmode/snmpconsole/snmp_alert.php: Changed position of fields and 
	 added helps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 11:20:28 +00:00
vgilc ea8e9d3362 2012-02-09 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/module_manager_editor_common.php: Fixed behavior combo
	tag selected.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 10:53:32 +00:00
vgilc b1e17887b1 2012-02-09 Vanessa Gil <vanessa.gil@artica.es>
* godmode/events/custom_events.php: Changed combo box update.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 10:15:03 +00:00
vgilc 0de8a8335b 2012-02-08 Vanessa Gil <vanessa.gil@artica.es>
* godmode/events/custom_events.php: Added default fields button.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 17:56:32 +00:00
vgilc 153adfce9f 2012-02-08 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Removed 'criticity_alert'
	to tevento table.
 
	 * godmode/events/custom_events.php: Modify fields selection to
	show events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 17:21:16 +00:00
mdtrooper 3a0bf10eb3 2012-02-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php: added a check for user ACL groups in
	the list of alerts.
	
	Fixes: #3484959



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5520 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 15:15:20 +00:00
juanmanuelr 3abc499307 2012-02-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/events/custom_events.php: Changed 'sec' link parameter
	in this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 13:12:46 +00:00
juanmanuelr be7a82bf7c 2012-02-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/skin/skin_default/include/styles/menu.css
	 include/styles/menu.css: Added godmode events icon in menu.

	* include/functions_events.php: Added functions to support custom 
	event filters. 

	* pandoradb.sql
	 pandoradb.postgreSQL.sql
	 pandoradb.oracle.sql
	 extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	 extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	 extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added table 
	 tevent_filter.
      
	* operation/events/events_list.php
	 operation/events/events.php: Added event filters 'live' editor.

	* general/shortcut_bar.php: Fixed some bugs due to ACLs.
	
	* general/header.php: Removed trace.

	* godmode/menu.php: Added event godmode section.
	 
	* godmode/events/event_edit_filter.php
	 godmode/events/custom_events.php
	 godmode/events/events.php
	 godmode/events/event_filter.php: Added files: Entry point in event
	 godmode section, events filter editor and event custom fields view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 13:04:18 +00:00
vgilc 08274f0d96 2012-02-08 Vanessa Gil <vanessa.gil@artica.es>
* godmode/events/custom_events.php
	* operation/events/events_list.php: Added criticity alert to event view.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 11:27:36 +00:00
vgilc de53544d42 2012-02-08 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added 'criticity_alert'
	to tevento table.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5515 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 10:25:57 +00:00
vgilc 1db6a0f47a 2012-02-08 Vanessa Gil <vanessa.gil@artica.es>
* godmode/events/custom_events.php: Remove comments.

	* operation/events/events_list.php: Show criticity only for
	  alerts.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 09:50:36 +00:00
vgilc 476fcb0ae0 2012-02-07 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql
	  godmode/agentes/module_manager_editor_common.php
	  godmode/events/custom_events.php
	  operation/events/events_list.php: Modify fields selection to
	show events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5513 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 18:11:12 +00:00
ramonn 85fb03b2d2 2012-02-07 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Convert tentacle_timeout to milliseconds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 16:58:06 +00:00
ramonn 928f8c4bf9 2012-02-07 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Added a timeout to the tentacle
	  client execution.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 16:33:01 +00:00
darode c43cafdf67 2012-02-07 Dario Rodriguez <dario.rodriguez@artica.es>
* include/graphs/functions_pchart.php: Fixed a problem charting lineal
	and area graph with negative values in static mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 16:13:03 +00:00
ramonn e80b4f0c92 2012-02-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added new SNMP alert fields and macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 15:50:19 +00:00
darode b234f31cff 2012-02-07 Dario Rodriguez <dario.rodriguez@artica.es>
* pandoradb.sql,
	extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: Fixed an error with 
	weight field of custom graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 09:47:51 +00:00
ramonn 0a858f2924 2012-02-06 Ramon Novoa <rnovoa@artica.es>
* operation/netflow/nf_live_view.php: Fixed filter load ACL check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 17:25:00 +00:00
mdtrooper c478cc18e4 2012-02-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed into function "get_events__with_user"
	when try get list events when empty list of groups for user.
	
	* include/api.php: fixed the auth.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5499 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 17:21:11 +00:00
ramonn a42bacb5be 2012-02-06 Ramon Novoa <rnovoa@artica.es>
* operation/netflow/nf_live_view.php: Added ACL checks for filter
	  creation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 17:16:38 +00:00
mdtrooper 85e6fd471b 2012-02-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: only added a comment for to explain
	the reason because the modules from predictionserver is erased for the
	creation policies modules. The reason is because there aren't the table
	tmodule_synth and some code to apply this kind modules in policy too.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 14:05:25 +00:00
vgilc a1a1e24363 2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Removed field
	unique_id to tevento table.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 12:25:40 +00:00
vgilc 2198c0dba3 2012-02-06 Vanessa Gil <vanessa.gil@artica.es>
* godmode/events/custom_events.php
	  operation/events/events_list.php: Show all groups in
	event view.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 12:18:03 +00:00
darode dde71dfaac 2012-02-06 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.pl: Fixed a problem with new version of perl
	with threads::all, also fixed a concatenation error in a string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 12:06:01 +00:00