Commit Graph

2801 Commits

Author SHA1 Message Date
slerena 445ab2691e 2010-08-04 Sancho Lerena <slerena@artica.es>
* DEBIAN/control,
        pandora_agent.spec: Added unzip to dependencies (for file
        collection management).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:51:05 +00:00
Ramon Novoa 8855493ec9 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Free the collection if it can not
          be added to the list.

        * Makefile.am: Use -static-libgcc to remove the dependency on
          libgcc_s_sjlj-1.dll.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:47:44 +00:00
zarzuelo d20c2fcde5 2010-08-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed the get_agent_module_info function
	for avoid to show the disabled modules information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:26:17 +00:00
zarzuelo e49c1f8ddf 2010-08-04 Sergio Martin <sergio.martin@artica.es>
* images/status_sets/default/module_no_data_ball.png: Added a image
	to modules without data



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:20:16 +00:00
mdtrooper d700b6664f 2010-08-04 Miguel de Dios <miguel.dedios@artica.es>
* pandora_agent_daemon: fixed user of daemon, it is root, not dario.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:56:54 +00:00
darode 12eecb341f 2010-08-04 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/collections: Added collections directory.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:45:59 +00:00
Ramon Novoa 6edb348195 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Run action commands through cmd.exe.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:28:25 +00:00
darode 1cd9608ae3 2010-07-30 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/installer/pandora.mpi: Added collections directory in the windows 
	installer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:17:31 +00:00
slerena 3f8343443c 2010-08-04 Sancho Lerena <slerena@artica.es>
* pandora_server.redhat.spec: Specific spec for redhat/centos.

        * util/pandora_count.sh: Script to measure how fast dataserver
        process XML files.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 15:01:09 +00:00
slerena 48d137cd7f 2010-08-04 Sancho Lerena <slerena@artica.es>
* win32/bin/util/df_percent.vbs: New VBS plugin to detect all 
        hardrives and return free disk on %.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 14:57:56 +00:00
Ramon Novoa 1df39b4c9d 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Changed sscanf format strings. They did
          not seem to work well in native Windows.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 12:38:42 +00:00
zarzuelo 67dffe5a70 2010-08-04 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/functions_reporting.php
	include/functions_ui.php
	include/functions_db.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_agente.php
	operation/agentes/bulbs.php
	operation/agentes/estado_monitores.php
	operation/agentes/group_view.php
	images/status_sets/default/module_no_data.png
	images/status_sets/default/alert_fired.png
	images/status_sets/default/agent_no_monitors.png
	images/status_sets/default/alert_fired_ball.png
	images/status_sets/default/agent_no_monitors_ball.png
	images/status_sets/default/agent_down_ball.png
	images/status_sets/default/agent_down.png: Fixed several modules
	and agents list status to use the new unknown status. Some images was
	changed too for show the same colour than the visual and network maps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 11:08:16 +00:00
Ramon Novoa 1e9ee5dbc2 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Select uninitialized keep alive modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 10:44:29 +00:00
zarzuelo 1373cd132b 2010-08-03 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/functions_db.php: Fixed the networkmaps to do not shows
	the not init modules and get the new unknown status



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-03 11:46:16 +00:00
zarzuelo 8b4627103a 2010-08-03 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_ultimopaquete.php: Fixed log4x modules
	check from old id value 30 to new id value 24



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-03 11:25:37 +00:00
zarzuelo 30053e9fcc 2010-08-03 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a id_policy_module
	field into agente_modulo table for future use



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-03 11:23:16 +00:00
jsatoh 362e20688c 2010-08-03 Junichi Satoh <junichi@rworks.jp>
* godmode/alerts/alert_list.list.php: Fixed a problem alert filtering
	by priority does not work.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3086 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-03 02:53:07 +00:00
Ramon Novoa 619b30004f 2010-08-02 Ramon Novoa <rnovoa@artica.es>
* include/pchart_graph.php, include/fgraph.php: Removed title from
          image charts. Show min, max and avg as part of the image.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-02 14:38:52 +00:00
Ramon Novoa 612c8cae05 2010-08-02 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php, include/fgraph.php,
          include/functions_fsgraph.php, operation/agentes/stat_win.php: Moved
          min, max and avg information into the chart to make it available to
          reports an custom graphs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-02 12:15:33 +00:00
mdtrooper e335bc1762 2010-08-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: cleaned source code, changed the show
	to buttons of actions (create file, upload...) to out the list of files. And
	check if the directory is writeable to show this buttons.
	
	* include/get_file.php: added file to work as mediator between the Pandora
	and file system, and added a some security checks as check login and others.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-02 10:36:55 +00:00
darode 2082a37ccb 2010-07-30 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/pandora_agent: Added code to change the nice parameter of the 
	pandora_agent process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 12:25:23 +00:00
Ramon Novoa ad88a3bfc4 2010-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Do not mark async modules as unknown.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 10:27:16 +00:00
Ramon Novoa a92eeaef91 2010-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm, bin/pandora_server: Added a real unknown
          status.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 09:27:06 +00:00
zarzuelo 7608c66cc2 2010-07-30 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Typo fix 
	into new table name



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 09:16:55 +00:00
zarzuelo 08adfae6d0 2010-07-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/help/en/help_network_map.php
	include/help/es/help_network_map.php
	pandoradb.sql
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/ver_agente.php
	operation/agentes/networkmap.php
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Created network maps
	storage on database, clean the network maps code and fixed some
	little bugs of the same section



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 09:03:23 +00:00
Ramon Novoa b40c7b00d7 2010-07-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Updated reporting functions to work
          with uncompressed data. 

        * include/fgraph.php, include/functions.php: Added a generic
          function to check whether a module has compressed data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-29 17:31:19 +00:00
zarzuelo 80d6ec2dc6 2010-07-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Improved the print_select function
	to allows agroupation of options



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 17:44:04 +00:00
Ramon Novoa 2dc897781e 2010-07-28 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Async modules are not compressed. Fixed charts
          for these modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 15:23:50 +00:00
mdtrooper b18e45f199 2010-07-28 Miguel de Dios <miguel.dedios@artica.es>
* install.php: fixed unclose bold tag.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 12:16:13 +00:00
mdtrooper 16a7223800 2010-07-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.data.php: fixed the select box
	field for to don't show None value for map background.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 09:26:21 +00:00
jsatoh d5795cf73c 2010-07-28 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/pandora_agent.conf: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 02:24:55 +00:00
jsatoh 077a4e43c9 2010-07-28 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/PredictionServer.pm: Fixed problem that pandora
	server daemon is aborted by division by zero, if numeric data to
	predict are mostly 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 01:10:27 +00:00
mdtrooper 986a09f3ea 2010-07-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added new parameters in the function
	"get_agentmodule_sla", the parameters days of week to search and range of
	time. And use new parameteres in the call for SLA data in function
	"render_report_html_item".
	
	* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: in table
	"treport_content" added the fields for set days of week and range time
	for SLA.
	
	* operation/reporting/reporting_xml.php: use new parameters in the call for
	SLA data.

	* godmode/reporting/reporting_builder.php: added source code for save,
	update new fields (days of week and time range).
	
	* godmode/reporting/reporting_builder.item_editor.php: added source code to
	show the fields (days of week and time range).
	
	Pending task: #3033457



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 18:11:42 +00:00
Ramon Novoa a94fde2603 2010-07-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Make sure delete_pending is set to 0
          when selecting keepalive modules.

        * lib/PandoraFMS/DataServer.pm: Do not read more than max_queue_files
          files. Suppressed some warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 17:12:17 +00:00
Ramon Novoa 0e52a05cf5 2010-07-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Removed a misplaced parenthesis.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 11:05:28 +00:00
mdtrooper 495b91bb3c 2010-07-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php: fixed the date into export, before it
	was 12 hour format, now it is 24 hour format.
	Fixes: #3033541



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 09:51:58 +00:00
raulmateos 369e852be8 2010-07-26 Raul Mateos <raulofpandora@gmail.com>
* ChangeLog: Submitted forgotten file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 15:01:34 +00:00
raulmateos ea3de16088 2010-07-26 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php: Added px to width to ease the change of
	profile edition to this page.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 15:00:19 +00:00
zarzuelo c0b557c6c6 2010-07-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Changed the priority of the
	status of agents and groups when get status from their 
	descendents



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 12:45:25 +00:00
mdtrooper 52b88cb014 2010-07-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: added into the function "get_group_icon" the
	return icon for "all" group.
	
	* godmode/groups/configure_group.php: fixed and cleaned source code, for
	the dinamic change of parent icon, show the select of parent with the
	parent selected, and fixed the position of parent icon image.
	Fixes: #3034677
	 
	* godmode/groups/group_list.php: changed the source code for to show the
	"all" group open branch by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 12:34:44 +00:00
zarzuelo ec5f44be8f 2010-07-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Changed the color of the
	modules, agents and groups with alerts fired in the network 
	maps from yellow to orange.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 12:03:13 +00:00
mdtrooper 5e2a3e3c95 2010-07-26 Miguel de Dios <miguel.dedios@artica.es>
* images/mimetypes/text.png: added lost image file in previous commits about
	collections.

	*images/tag_red.disabled.png, images/cross.disabled.png,
	images/chart_curve.disabled.png, images/config.disabled.png,
	images/chart_bar.disabled.png, images/photo.disabled.png,
	images/camera.disabled.png, images/binary.disabled.png: added image files
	for the new palete buttons (when it are disabled) in visual console editor.
	
	* include/styles/pandora.css: added the styles for the new buttons of
	visual console editor (label and icon), and some changes for new style for
	buttons of the palete in this page.
	
	* include/functions_html.php: in function "print_button" added new
	parameter $imageButton to set the button as image button, by default is
	false.
	
	* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.constans.php: change the buttons
	palete for a palete with more small buttons as icon buttons, added new items
	for visual map (icon and label). And fixed the dinamic change label color
	for any elements.
	
	* include/functions_visual_map.php: added the new items (label and icon)
	and cleaned the source code.
	
	Pending task: #3019641



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 11:56:04 +00:00
Ramon Novoa 8b2c487362 2010-07-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Do not compress data for async modules.

        * lib/PandoraFMS/DataServer.pm: Check that the file exists before
          trying to parse the XML to avoid XML::Simple error messages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 11:51:49 +00:00
darode 89466842f6 2010-07-26 Dario Rodriguez <dario.rodriguez@integria.es>
* include/styles/pandora.css: Added css classes for separator.
	* include/functions_ui.php: Added suport to add a separator betwenn tabs
	in print_page_header.
	* operation/agentes/ver_agente.php: Fixed some problems with alt tag in
	images and added separator to tabs
	* godmode/agentes/configurar_agente.php: Fixed some problems with alt tag
	in images and added separator to tabs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 11:08:59 +00:00
raulmateos 1b5f4456a6 2010-07-23 Raul Mateos <raulofpandora@gmail.com>
* godmode/alerts/alert_list.list.php: Added code to show title if page
	called from Manage Agents.
	* godmode/modules/manage_network_components.php: Change title.
	* godmode/gis_maps/configure_gis_map.php: Change fixed text to variable.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 17:10:08 +00:00
zarzuelo 9b6279d495 2010-07-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/functions_db.php
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/ver_agente.php
	operation/agentes/networkmap.php: Rewritted the get status of modules
	and agents and writted the same feature for groups and policys. Added
	the groups view network map. All for pending task: 3019636



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 12:14:07 +00:00
darode e83dd0e6c0 2010-07-23 Dario Rodriguez <dario.rodriguez@gmail.com>
* operation/agentes/ver_agente.php: Changed code to use print_page_header
	to print de tabs
	* godmode/agentes/configurar_agente.php: Changed code to use print_page_header
	to print de tabs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 10:55:20 +00:00
raulmateos 3169f7fa37 2010-07-23 Raúl Mateos <raulofpandora@gmail.com>
* godmode/alerts/aler_list*.php: Cleaned code. Removed old title style.
	* godmode/agentes/massive_operations.php: Updated year. 
	* godmode/agentes/massive_config.php: Use better text in title and button.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 10:04:12 +00:00
mdtrooper 5a5e5ca089 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php: added the show more data when click
	in the icon eye.
	Pending task: #3021813



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-22 16:36:02 +00:00
Ramon Novoa 853a97cc3a 2010-07-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Sort files by creation date before
          queuing them. Fixes bug #3031780.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-22 11:00:37 +00:00