* include/functions_reporting.php: Fixed the functionality for the sla
horitontal bar graph. Truncated some agent and module names. Cleaned the
code style
* include/ajax/reporting.ajax.php: Added functionality to add & delete
elements from the global reports
* include/functions_ui.php: Added function printSmallFont
* godmode/reporting/reporting_builder.item_editor.php: Fixed a wee
problem with the module combo size
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/users_connected.php
operation/incidents/incident.list.php
godmode/agentes/module_manager.php: Fixed some mistakes of my last
commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added constants for some graphs. Added
function "graphic_agentaccess2" and function "graph_event_module2".
* include/graphs/functions_pchart.php: added checked previous $color and
$legend to avoid PHP warnings, added some code to calculate the bottom
margin.
* include/graphs/fgraph.php: at the moment in this file call
"fs_3d_pie_chart2" instead "fs_3d_pie_chart". Erased the color and legend in
the piegraph.
* operation/agentes/estado_generalagente.php: use new graphics functions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_fsgraph.php
include/graphs/fgraph.php
include/graphs/functions_utils.php: Created a function to
include flash charts javascript file into abstraction.
Clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_fsgraph.php
include/graphs/functions_gd.php
include/graphs/images_graphs
include/graphs/images_graphs/outlimits.png
include/graphs/fgraph.php: Added new file with sd functions
of two graphs, histogram and progress bar. Added folder with
graph abstraction default images. Clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/graph_builder.main.php: changed to use constants.
* include/graphs/fgraph.php: dded the show image when none data
and added the function "stacked_line_graph".
* include/graphs/functions_pchart.php: fixed when haven't the $xaxisname and
$yaxisname. Fixed typo mistake.
* include/graphs/functions_utils.php: added function "stack_data".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Added code to install tentacle_server with
pandora agent.
* AIX/pandora_agent.conf: Added two new parameters proxy_mode and
proxy_user.
* tentacle_server: Added tentacle server with proxy support.
* pandora_agent_daemon: Add feature to stop tentacle_server when
pandora agent stops.
* Linux/pandora_agent.conf: Added two new parameters proxy_mode and
proxy_user.
* HP-UX/pandora_agent.conf: Added two new parameters proxy_mode and
proxy_user.
* pandora_agent: Added support to tentacle_server and proxy_mode.
* SunOS/pandora_agent.conf: Added two new parameters proxy_mode and
proxy_user.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: The SLA elements
are listed again with labels instead with input texts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/functions_fsgraph.php
include/graphs/fgraph.php: Merged changes from integria like increasement
of margins in area static graphs, clean code and minor fixes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm: Moved mysql_enable_utf8 to after database
connection. It is to avoid coding conversion against multibyte
characters by mysql.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/functions_fsgraph.php
include/graphs/functions_utils.php: Improved the entry point
of the graphics abstraction and merged bar and pie configurations
from integria
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added call to paint the other graphs.
* include/graphs/functions_pchart.php: added stack area graph, and fixed
typo in the call to line graph.
* include/graphs/functions_fsgraph.php: added line graph and area graph.
* include/graphs/fgraph.php: added function "stacked_area_graph" and
"line_graph".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php: changed the img tag to autoclose.
* include/graphs/functions_fsgraph.php: changed the border to default 1, and
fixed the show legend.
* include/functions_graph.php: cleaned source code style. And the function
"graphic_combined_module2" added the show timestamp as human, add the
min, max, avg values.
* include/graphs/functions_pchart.php: changed the show leyend in the top
of graph, and added some comments lines for debug.
* include/functions_reporting.php, include/functions_custom_graphs.php,
godmode/reporting/graph_builder.preview.php: changed the graph to show with
new engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: wip in the function
"graphic_combined_module2".
* include/graphs/functions_fsgraph.php: fixed when "fs_area_graph" when
send a graph without the colours or and legend.
* include/graphs/fgraph.php: erased lost session instructions in the
function "area_graph".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Added case to display 'agent_module'
reports
* include/functions.php: Added the option 'agent_module' for the
reporting type in combo selecion
* godmode/reporting/reporting_builder.php: Added options to store
'agent_module' report info
* godmode/reporting/reporting_builder.item_editor.php: Added html fields
for the 'agent_module' report
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4174 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pData.class.php
include/graphs/pChart/pDraw.class.php: Fixed avoid zero values
into area graphs and clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php, include/functions_graph.php,
include/graphs/functions_utils.php, include/fgraph.php: cleaned source code
style.
* include/functions_graph.php: added first version of function
"graphic_combined_module2".
* include/graphs/functions_pchart.php: fixed when pass a empty array as
colour for graphs.
* include/graphs/pChart/pDraw.class.php: fixed to set a color border when
the graphs haven't a external defined colour.
* include/graphs/fgraph.php: changed for pass the data to static image graph
generator.
* operation/agentes/graphs.php: changed to use the new graph engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php, operation/events/events.php: fixed
nested forms incompatible with some browsers that fail when validate
several events and some errors in javascript when validate individual error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php: added check if loaded the class.
* include/graphs/functions_fsgraph.php: added check if loaded the class.
Rename some functions and erased the function "fs_module_chart".
* include/graphs/functions_pchart.php: erased some debug traces.
* include/graphs/fgraph.php: cleaned the function "area_graph".
* operation/agentes/stat_win.php: cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/modules/manage_network_templates.php: fixed the
output of description and name, and fixed the buttons to delete and export.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Tools.pm: Added UTF-8 flags deletion from multibyte
characters when files are opened.
* lib/PandoraFMS/DB.pm: Added mysql_enable_utf8. It enables character
semantics (support for multibyte characters).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/pChart/pDraw.class.php
include/graphs/fgraph.php
include/graphs/functions_utils.php: Changed the send data method
from sessions to files with serialize functions. Creation of a
utils functions file. Improvement of the pChart library adding
attributes to avoid ticks and grids when the data under the
xaxis is empty.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, operation/agentes/stat_win.php: changes for
to show with new engine.
* include/graphs/functions_pchart.php,
include/graphs/pChart/pData.class.php,
include/graphs/pChart/pDraw.class.php,
include/graphs/functions_fsgraph.php,
include/graphs/fgraph.php: part of job is Sergio Martin in my laptop, the
changes to show borders in the static image graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Fixed wrong condition when global
configuration for "flash_charts" option is override by user value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/oracle.php: Added new functions for Oracle support.
include/functions_db.php: Added conditional code for Oracle engine.
* pandoradb.oracle.sql: Added new db procedure "insert_id" to
retrieve PK when insert is performed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pDraw.class.php: Added to
library an option to avoid draw zeros in area
charts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pDraw.class.php: Fixed
pchart library bug with default value for
forcetransparency attribute. Changed from NULL
to -1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_fsgraph.php: add
to support and wip with new graph engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: Improved
legend control and added limitation in showing
xaxis data to one each 10 pixels
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: Removed the option
to select 'show graph' in general reports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: Added features to
the vertical graphs function like colors, alpha values, legend...
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed a small problem passing 'width'
parameter in 'top_n' reports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed a small problem when displaying
only the graph and not the table for the exception report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/*, include/graphs/fgraph.php:
added first version of common graph libraries with Integria and Babel.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed get_agentmodule_sla_array and
added functionality to show the table, table+graph or only graph
* include/pchart_graph.php: Fixed function graph_sla_horizontal
* include/pandora_graph.php: Changed function graph_sla_horizontal
prototype
* include/fgraph.php: Deleted function graph_sla_pie, fixed function
graph_sla_horizontal and added two more cases for printing graphs
* godmode/reporting/reporting_builder.php: Changed getting parameter
of two checkboxes for two comboboxes
* godmode/reporting/reporting_builder.item_editor.php: Added the options
for the combo to select display table, table+graph or only graph
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f