* pandoradb*.sql: tplanned_downtime: Fixed a typo, changed timestamp
types, added executed field and removed id_agent_module.
* manage_config.php: (Problem copying keep_alive modules
and alerts and solved bad message with no data supplied.
* manage_config_remote.php: Solved BUG #2042788 Fixed, was missing
extension in filename check.
* planned_downtime.php: Major rewrite. Now works with server model of
planned downtimes based on select agents to disable in specific times.
Using unixtime was a very nice idea, so the javascript controls are
fantastic to do this job!. Thanks Esteban and Evi!.
* manage_recontask*: Some issues with styles, using new div for button.
* modificar_server.php: Some issues with styles, using new div for button
* config.inc.php: By default, show errors, easy to debug first problems.
* functions_db.php: Fixed problems detected in borrar_incidencia() function
(this is delete_incident in spanish).
* estado_agente.php: Added support to search by IP address in agent view.
* networkmap.php: Regen on by default, Font label shortened.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/modificar_server.php.
godmode/servers/manage_recontask_form.php,
godmode/servers/manage_recontask.php: HTML and SQL overhaul. Now uses
the new functions that are available in functions_html.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/profiles/profile_list.php: HTML overhaul (close tags, put
brackets and quotes in the right places. Now uses new functions
instead of the old ones
* include/locale.class.php: Updated and added functions. See internals
for updated functions. It now allows to put a translated array of
languages, countries and currency instead of the built-in english one
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/locale.class.php: Fixes in Translate_Locale() to work
properly. Tab style correction in all the file, use tabs instead of
blankspaces.
* godmode/setup/setup.php: Added locale configuration option.
* pandoradb_data.sql: Added locale to tconfig.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_purge.php: Use print_help_tip() to show help tip.
* godmode/profiles/profile_list.php: Use print_help_tip(). Removed
deprecated $help_label.
* godmode/users/configure_user.php: Better code to show user level
radio buttons and help.
* include/functions_db.php: Removed deprecated function
load_lang_file().
* operation/agentes/datos_agente.php, ajax.php,
operation/reporting/reporting_viewer_pdf.php, reporting/stat_win.php,
operation/agentes/exportdata.php: Removed inclusion of old
language files.
* include/languages/index.pot: Regenerated and added header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php: Made short tag, normal tag
* include/functions.php: Got rid of references to language files
* godmode/servers/plugin.php: Made proper english
* godmode/servers/manage_recontask.php: Made proper HTML
* godmode/profiles/profile_list.php: Translation of help strings
* godmode/agentes/manage_config_remote.php: Fixed typo that generated errors
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AUTHORS: Added Evi to AUTHORS file.
* pandoradb.sql: MAJOR UPDATE and normalization of database
structure. trecon_task table has changed from previous 2.0 version.
* pandoradb_data.sql: Minimal updates.
* reporting_builder.php: Fixed bug #2035570 (Two weeks instead one
week in combo to select SLA period).
.
* manage_config_remote.php: Fixed bug #2032889: Show configurations
not present in disk and fail to copy them.
* manage_recontask.php: Show OS, and some stetical changes and code
optimization. Removed old code for assigned network servers and so on.
* manage_recontask_form.php: Removed old fields, added new fields, fixed
old bugs (create incident combo).
* config_inc.php: Code cleanup, updated variables.
* config_process.php: Updated version info.
* estado_ultimopaquete.php: Added refresh icon.
* view_server.php: Added missing link to view_server_detail.php for
recon servers. Somebody take it prisoner :-)
* view_server_detail.php: Code stype update, and some fixes and new
column information.
* modificar_agente.php, configurar_agente.php: Fixed use of $id_user.
* index.php: Temporal workaround to use $id_user as global. Need to fix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Set id_user in config array when login. This fixes errors
and notices on login screen.
* operation/menu.php: Replaced use of id_user on SESSION array with
config.
* general/logon_ok.php: Replaced lang_label with lang_string(). Use
id_user on config array. Style correction and code cleanup.
* godmode/extensions.php: It was showing main functions of extensions
instead of godmode ones.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/extensions.php, operation/extensions.php: Added to
repository. Extensions interface to operation and godmode modes.
* images/extensions.png: Added to repository. Extensions icon for the
menu.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AUTHORS: Added myself.
* include/functions_extensions.php: Added to repository. Implements
extensions functions. Extensions are some kind of plugins to the
console to add functionallity in a modular way. More work and
documentation is needed.
* godmode/reporting/reporting_builder.php, include/functions.php,
operation/agentes/networkmap.php, operation/agentes/ver_agente.php:
Style correction.
* include/functions_db.php: Added load_lang_file() to load the
languages file (useful in extensions l10n). Style correction.
* index.php: Load extensions and call them in cases.
* godmode/menu.php, operation/menu.php: Style correction, code
cleanup. Added extension menu and submenus. Use of CSS more efficient.
* include/config_process.php: Added extensions support.
* extensions/, extensions/hello.php: Added to repository, extensions
dir and example.
* include/functions.php: Style correction.
* include/styles/op.css: Cleanup and rewritten the CSS hell it was
before.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_plugin_definition.php: New help page for
plugin register section.
* include/javascript/pandora.js: Help window now shows scrollbar.
* general/pandora_help.php: Better layout for help system.
* godmode/servers/plugin.php: Fixed position / menu issues and other
menor bugs in plugin editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Some changes in structure for new export server. Removed
and extra comma in tplanned_downtime.
* pandoradb_data.sql: Deleted some stuff from Gigabit module templates,
too much.
* logon_ok.php: Header update.
* menu.php: Plugin editor moved under server section.
* modificar_agente.php: Added icon to agent config editor from manage
agents view.
* links.php: Some code cleanup.
* pandora.ico: New .ICO file for web, this will be official one for
2.0 version.
* functions_db.php: Fixed a problem in audit_db() where parameters
was not properly cleaned and with ' chars this makes an SQL error.
Fixed BUG #2032885, in function get_monitors_in_agent () where a
bad SQL forced an error in report.
* estado_agente.php, estado_generalagente.php: Added link to group
view from group icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Updated schema for tplanned_downtime
* include/functions_db.php: Small bug that gave a warning in case there were no events for an agent
* godmode/agentes/planned_downtime.php: You can now create planned downtime schedules. This
won't work yet as the server doesn't support it yet. So I didn't integrate it in the menu either, but it can be.
* general/links_menu.php: The first link will also show up. It wasn't showing up because the mysql function
that was used moved the internal pointer ahead while checking if it existed. Used new functions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Added new tables for planned downtimes.
* godmode/menu.php: Added entry for manage downtimes.
* group_list.php: Stetic changes in table.
* modificar_server.php: Fixed timestamp render for start/update
timestamp of each server.
* functions.php: Minimal estetic changes in help function.
* functions_db.php: Change header (Flexible <- Free)
* functions_html.php: Now select admits multiselect option. Default
class for table render is now databox not databox_color.
* AUTHORS: Update list of authors and make a reference to contributors.
* function_reporting.php: Header change, updated datetime string format.
* language_en.php, language_es_es.php: Changed FREE for Flexible.
* pandora.css: Minimal changes. Update color of Monitor count in tactical.
* menu.php: Added some new event options: CSV Export, RSS and new marquee
event visualizer.
* estado_ultimopaquete.php: Header update.
* tactical.php: Added link to data module alerts.
* ver_agente.php: Fixed a problem in ajax code that was rending bad
count of down monitors. Using boolean comparation on result of function
get_db_sql(). This kind problem could be in more lines of code.
* events.php: New quicklinks to RSS, CSV and Marquee in event viewer.
* export_csv.php, events_rss.php: Fixed duped call to function includes.
* graph_viewer.php: I hope this fix FINALLY the annoying bug of graph
type selector.
* visual_console/index.php: Updated header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Some changes for types not implemented in 2.0
* module_manager_editor.php: Added help, more space in textareas for
tcp recv/send. Better layout.
* help.png: Smaller icon.
* view_server.php: Fixed problem with lastupdate render. This was using
and incorrect function to render data
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/graph_builder.php,
operation/snmpconsole/snmp_alert.php: Applied patch from Kato
Atsushi.
* include/functions_reporting.php,
operation/reporting/reporting_viewer.php,
godmode/reporting/reporting_builder.php: Adopted to changes in
get_db_* functions.
* include/functions_db.php: Removed quotes sorrounding %d characters
in sprintf. Returned empty array on get_simple_alerts_in_agent() and
get_combined_alerts_in_agent(). Style correction. Return all fields on
get_db_all_fields_in_table().
* ChangeLog: Updated previous commit message format and date.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/db/*.php
-require_once for config might already have loaded
-Changed mysql_real_escape_string in favor of get_parameter_post
-Process the DELETE SQL queries through process_sql()
-Changed comprueba_login() for check_login()
-Adhered some things to preferred style
-Compounded SQL queries into joins, subqueries or functions
-Removed mysql_close() from db_purge.php since the select
after the delete wouldn't work anymore (database closed)
* pandora_console/godmode/reporting/reporting_builder.php
-Fixed a bug that was introduced when the SQL functions returned false
* pandora_console/include/functions_db.php
-Made foreach instead of while loops for simpler functions
-Fixed get_reports that failed since SQL function return false
-All SQL functions now return false in case of empty
-New SQL function process_sql that can handle DELETE. Returns
affected rows in case of a changing query or an array in case
it was a selecting query or false in case of error
* pandora_console/include/functions.php
-Simplified safe_input function
* pandora_console/index.php
-Updated SQL queries, style changes
* pandora_console/operation/agentes/*.php
-Style changes and updates to use check_login
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: Check background existance to
avoid warnings.
* include/functions.php: Added Giga magnitude in format_for_graph(),
thansk to tono user in openideas.
* include/functions_db.php: Check database result on
return_status_layout(). Deleted "LIMIT 1" on get_previous_data() which
was causing SQL failures. Style correction.
* include/functions_reporting.php: Check database result on
get_agent_module_sla().
* operation/agentes/datos_agente.php: Removed useless code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/map_builder.php: Check if all_agents were set to
avoid warning on foreach.
* include/functions_db.php: Fixed typo in return_status_layout().
Return false on get_db_all_rows_sql().
* include/functions_visual_map.php: Check layouts_data to avoid
warning on foreach. Removed ugly comments.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Phasing out comprueba_login() across the board
* Optimizing queries and php script. Fixing small bugs.
* ChangeLog is coming, this is just a WiP commit so I don't lose all the changes by tomorrow.
I'm still busy analyzing some queries in the godmode/db directory so this revision might be unusable, use the previous revision for a 'stable' version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora_red.css: Updated.
* include/styles/pandora_black.css: New style with BLACK blackground.
* include/styles/pandora.css: Updated.
* include/functions_db.php: Added auto order combos and queries.
* include/functions_visual_map.php: Added overlap on down elements if
there are more than one in the same position (This could allow to cluster
elements to shown the down status first). Removed unused code.
* operation/events/events.php: Added tooltip for group name.
* operation/visual_console/render_view.php: Adjusted controls position.
* operation/agentes/status_monitor.php: Added status for unknown monitors.
Added some database search improvement.
* operation/agentes/sla_view.php: Sorted list of items.
* operation/agentes/ver_agente.php: Updated AJAX code for network map
detail view of an agent. Added alert data.
* operation/agentes/tactical.php: Removed 'fixed' styles, now using CSS.
* operation/agentes/networkmap.php: Added ransep and font selectors.
Added alert under yellow color. Minor improvements.
* operation/reporting/graph_viewer.php: Style update.
* operation/menu.php: Visual console maps sort by name
* images/background-li.gif: This sould replace <li> image.
* general/login_page.php: Added build version on develop mode.
* godmode/reporting/map_builder.php: Sorted lists, and shown module name
instead description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, include/functions_db.php,
operation/agentes/ver_agente.php, operation/reporting/graph_viewer.php
operation/reporting/custom_reporting.php,
godmode/reporting/reporting_builder.php: Some issues with ordered list
resolved. Some strings are now converted to lowercase to have a real
ordered (alphabetical) list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Basic support for async modules.
General stats (tactical), do not shown async modules as uknown anymore.
* operation/agentes/estado_agente.php,
operation/agentes/estado_ultimopaquete.php: Support for async modules.
* godmode/agentes/modificar_agente.php: Fixed stupid bug in search
field in last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/reporting/graph_viewer.php: Added controls to view in the
new combined graphic mode (lines), and to change size to three pre-
defined sizes.
* reporting/fgraph.php: Stacked mode support was missing by unknown
reason. Reactivated. Added a mode to view combined graphs in "wired"
mode (lines only).
* godmode/agentes/modificar_agente.php: Disabled agents was not shown,
so was unable to activate again. Fixed.
* godmode/reporting/graph_builder.php: Added support for line mode.
Disabled agents don't shown in combo. Some other minor fixes. Changed
to show the name of the module, instead of description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/graph_builder.php: Tab style correction.
* godmode/reporting/reporting_builder.php: Button label renamed.
* include/functions_db.php: Added functions from
functions_reporting.php.
* include/functions_reporting.php: Added missing documentation. Added
check to avoid division by zero on alert_reporting(). Avoid $return
flag as parameter in some functions.
* include/functions_reporting_pdf.php: Avoid $return flag when calling
some functions.
* operation/reporting/reporting_viewer.php: Do not use a span with
font-size when showing sla report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Removed extra "#" in
javascript.
* godmode/reporting/map_builder.php: Changes to try working in
Internet Explorer (not completed yet, it's really hard).
* include/functions_db.php: Changed sever_status() It won't longer
return all the modules in pandora, since it's not need in this
function, also replaced a strange SQL which was using MAX() with a more
logical DISTINCT(). Style correction.
* include/styles/pandora.css: Removed #main width, so it's as wider as
the parent. Fixed menu_tab_fram and menu_tab_frame_view divs to the
new template, aligned to the right. Tab and blankspaces correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Added several indexes, patch from Guruevi.
* configurar_agente.php: Default "public" for snmp_community
was causing a fail on blank communities (snmp community is used
on WMI modules as filter key). Default value is now "" due the way
get_parameter works, and don't want to change a global function.
* module_manager_editor_wmi.php: Added two new fields: filter key
for WMI output (using snmp_community to store it) and WMI response
field number (using tcp_port to store it).
* setup.php: Added global "sla_period" item to setup page.
* sla_view.php: Fixed code to be more close on our coding standards.
Need to improve and uses the global table functions on functions_html.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* config_process.php, pandoradb_data.sql, setup.php: Added global
"sla_period" for default Monitor SLA calculation (in sec).
* estado_monitores.php: By default now shows a SLA based on "sla_period"
period.
* networkmap.php: Fixed layout to use overlap in all modes using different
techniques, depending on graph type. Tested with different map layouts in
size, topology and dimension.
* agent_manager.php: Agent names are now show in order.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@910 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Added cursor style for inline help.
* include/help/en/help_manage_alerts.php: Added help page for Alert
management.
* include/help/en/help_snmpcommunity.php: Added help page for SNMP
community.
* include/help/en/help_map_builder.php: Added help page for map
builder.
* include/help/en/help_postprocess.php: Checked spelling.
* include/help/en/help_module_type.php: Added help page for Module
type.
* include/help/en/help_snmpoid.php: Added help page for SNMP OID.
* include/help/en/help_alerts.php: Added help page for Alert
configuration.
* include/help/en/help_module_definition.php: Added help page for
Module definition.
* include/functions.php: Added cursor style for inline help.
* include/languages/language_en.php: Added new strings.
* operation/agentes/estado_grupo.php: Fixed wrong link and text, it is
a group, not an agent.
* operation/agentes/tactical.php: Fixed bug for empty values.
* godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php,
godmode/agentes/alert_manager_editor.php,
godmode/agentes/module_manager_editor_data.php,
godmode/agentes/agent_manager.php,
godmode/modules/manage_network_components_form.php,
godmode/reporting/map_builder.php, godmode/alerts/plugin.php,
godmode/alerts/configure_alert.php: Added suppot for inline help.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/configure_group.php: Complete rewritten. Use Pandora
functions and added javascript support.
* godmode/groups/group_list.php: Rewrite to use Pandora functions.
Code cleanup.
* godmode/reporting/map_builder.php: Added width and height support to
graphics layout items type.
* godmode/reporting/reporting_builder.php: Style correction.
* operation/agentes/networkmap.php: Unused code cleanup. Style
correction. Use hex color codes instead of names, because graphviz was
complaining about them. Avoid a warning on graphviz about "color" in a
TD. Replaced lang_label with lang_string(). Show error if map could
not be generated.
* operation/reporting/reporting_viewer_pdf.php: Style correction and
code cleanup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* agent_manager.php: Agent names are now show in order.
* functions.php: Added a blank space in Help icon.
* tactical.php: Added a few links in tactical view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@906 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Renamed get_db_all_rows_sqlfree() to
get_db_all_rows_sql(). Replaced all occurrences of old function name.
* general/logon_ok.php, godmode/reporting/reporting_builder.php,
operation/reporting/reporting_viewer.php, reporting/fgraph.php,
include/functions_reporting.php: Replaced all occurrences
ofget_db_all_rows_sqlfree() with get_db_all_rows_sql().
* include/config_process.php: Do not add a slash to attachment_store
config variable.
* include/functions.php: Style correction.
* operation/agentes/estado_agente.php: Reduced one indentation level
by using comprueba_login() propperly.
* include/javascript/jquery.cluetip.js: Added to repository. jQuery
plugin to add cute tips support.
* images/darrowdown.gif, images/darrowright.gif, images/darrowup.gif,
images/darrowleft.gif, images/wait.gif, include/styles/cluetip.css:
Added to repository. Cute tips styling.
* operation/agentes/networkmap.php: Added support to pretty tips to
each node of the network map. Use a variable to define the name of
Pandora FMS node (maybe it would be a nice idea to let the user
configure it). Added an extra check for file existance when generating
the graphic. Use pandora functions in some cases. Style correction.
* operation/agentes/ver_agente.php: Added AJAX support to get the
current status of an agent to suit in a tooltip.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/logon_ok.php: Use pandora functions to show last sessions.
* index.php: Tab and blankspaces style correction.
* godmode/reporting/map_builder.php: Fixed field name when inserting a
layout_data. Fixed group icon on list.
* operation/visual_console/render_view.php: Deleted firebug debug
which was causing not to work on browsers without that extension.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ajax.php: Sed id_user in config array.
* godmode/menu.php, general/header.php, operation/menu.php: Replaced
lang_label with lang_string().
* general/logon_ok.php: Reduced one indentation level.
* godmode/agentes/agent_manager.php: Replaced lang_label with
lang_string(). Use pandora functions.
* include/functions_html.php, godmode/agentes/configurar_agente.php:
Tab and blankspaces style correction.
* godmode/reporting/map_builder.php: Complete rewritten to provide an
intuitive way of build the maps. It's cool, useful and very simple.
* godmode/reporting/reporting_builder.php: Deleted an output debug.
* godmode/setup/setup.php: Rewritten to use pandora functions. Added a
colorpicker for color settings.
* include/config.php: Reset pandora password. We must solve things
with this file...
* include/functions.php: Check if input is an array on safe_input().
Use filename as id in array returned by list_files().
* include/functions_db.php: Renamed return_coordinate_* functions.
Style correction.
* include/javascript/jquery.js: Updated to 1.2.6.
* include/javascript/jquery.ui.datepicker.js: Code minimized.
* include/javascript/pandora.js: Style correction.
* include/javascript/wz_jsgraphics.js: Added a class to the elements
of a line, so it can be modified using javascript.
* /include/styles/pandora.css: Added style to some tables dropdowns.
Added new styles relative to visual map editor.
* operation/reporting/reporting_viewer.php: Style correction. Added
jQuery UI.
* operation/visual_console/index.php: Use Pandora functions.
* operation/visual_console/render_view.php: Drawing the map is now on
functions_visual_map.php. Added a countdown if a refresh time is set.
Use pandora functions. Style correction.
* reporting/fgraph.php: Style correction. Use graphic_error() if
there's no data on grafico_modulo_sparse().
* images/trash.png: Added to repository. Image used on trash area on
visual map editor.
* images/console/background/africa.jpg,
images/console/background/asia.jpg,
images/console/background/europe.jpg,
images/console/background/north_america.jpg,
images/console/background/oceania.jpg,
images/console/background/shouth_america.jpg,
images/console/background/world.jpg: Added to repository. Useful and
cool map backgrounds.
* include/functions_visual_map.php: Added to repository. Implements
visual map functions like drawing the map.
* include/javascript/jquery.colorpicker.js: Added to repository.
Implements a color picker widget.
* /include/javascript/jquery.countdown.js: Added to repository.
Implements a countdown widget.
* include/javascript/jquery.ui.core.js: Added to repository. jQuery UI
core.
* include/javascript/jquery.ui.draggable.js: Added to repository.
jQuery draggable plugin.
* include/javascript/jquery.ui.droppable.js: Added to repository.
jQuery droppable plugin.
* include/javascript/pandora_visual_console.js: Added to repository.
Function useful to visual map interface.
* include/languages/countdown_*.js: Added to repository. Countdown
localization.
* include/languages/date_es_la.js, include/languages/date_gl.js,
include/languages/time_es_la.js, include/languages/time_gl.js: Added
to repository. Missing localizations.
* include/styles/color-picker.css: Added to repository. Colorpicker
style sheet.
* include/styles/countdown.css: Added to repository. Countdown style
sheet.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed typo.
* include/languages/language_es_es.php: Too long string fixed.
* operation/agentes/tactical.php: Div0 fixed.
* godmode/agentes/agent_disk_conf_editor.php: Check should be done
after reading (when updating file, because binary reads don't be afected
by magic_quotes. This SHOULD fix the problem.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php,
agent_disk_conf_editor.php: FINALLY, fixed problem with slashes due
to MAGIC_QUOTES. Some special input will be processed with new
function "unsafe_string" that detect MAGIC_QUOTES status and run
stripslashes over string. Could be interesting to pass over some
"safe" inputs (on godmode section only), where possible conflicting
characters like "\" or "" can be passed as parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Removed table "tquicksession". Not ever used.
* pandoradb_data.sql: Updated Scheme build.
* agent_manager.php: Removed a debug "echo".
* db_sanity.php: Added feature to delete id_module 0 modules.
* 3.png: Added image for AIX in network maps.
* functions_db.php: Fixed a div0 in return_moduledata_avg_value().
Added server_status() that calculate modules for each server kind,
and return a consistent LAG calculation.
* menu.php: Better Server view menu visualization.
* estado_ultimopaquete.php: Don't show disabled modules anymore.
* vier_server.php,
tactical.php: Removed old server status code, and used server_status()
function to get all data.
* graph_viewer.php: Added ACL checks for each graph element.
* fgraph.php: Negative values are now rendered in single graphs.
* pandoradb*.sql (1.3 to 2.0, and 1.3 to 2.0): Deleted, not working.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions_db.php: Fixed get_agents_in_group() to handle "All" group
properly and make it capable to get disabled agents or not. Style
correction. Fixed a typo in agent_add_address().
* godmode/reporting/reporting_builder.php: Use get_agents_in_group()
to get the agents in the group of the report, specially group "All".
Added agent and module column to report content list when applies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added documentation to all the functions
using javadoc style. Deleted unused and useless functions. Style
correction. User pandora database functions in functions that getss
simples values. Replace lang_label with lang_string().
* include/functions_reporting_pdf.php,
operation/reporting/reporting_viewer_pdf.php,
operation/visual_console/render_view.php,
include/functions_reporting.php: Replaced deprecated functions with
equivalents.
* godmode/agentes/agent_manager.php: Fixed a bug with parent dropdown
select.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions.php: Added documentation to all the functions in JavaDoc
format, which is an facto-standard. Deleted unused functions. Improved
the code of some functions. Tab and blankspaces style correction.
Replaced old lang_label with lang_string(). Some functions to print
selects were replaced with a functio to get an array with all the
possible values so the caller will use print_select() with them.
* godmode/agentes/agent_manager.php: Use print_select() instead of
deleted function.
* godmode/agentes/alert_manager_editor.php: Use print_select() instead
of deleted function. Use print_checkbox(). Style correction
* godmode/reporting/map_builder.php, operation/agentes/ver_agente.php,
operation/messages/message.php,
operation/reporting/reporting_viewer_pdf.php:
Replaced deleted functions with their equivalents.
* include/functions_db.php: Documented some functions, some work is
still required. Added get_reports() to get all the reports a user can
see. Deleted unused functions. Replaced deleted functions with their
equivalents. Added get_db_row_sql(), get_previous_data(). Fixed errors
when calculating average, max, min and sum values of an agent module.
* include/functions_reporting.php: Fixed errors when calculating SLA.
* operation/events/events.php: Tab and blankspaces correction.
Replaced form_priority with print_select(). Style correction.
* operation/reporting/custom_reporting.php: Show all the reports a
user can see. Use Pandora functions.
* operation/reporting/reporting_viewer.php: Show unknown label if SLA
can not be calculated.
* operation/snmpconsole/snmp_alert.php: Avoid an extra indentation
level by using check_login() properly. Tab and blankspaces correction.
* index.php, operation/users/user_edit.php: Adopted to renamed
function.
* godmode/db/db_sanity.php, reporting/fgraph.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradbdata_13_to_20.sql: prototype. not functional.
* operation/events/export_csv.php: Event export to CSV. Support
passed filters.
* images/networkmap/*.png: Updated icons for network map.
* godmode/menu.php,
* godmode/db/db_sanity.php: New sanity tool for database in interactive
mode using console (ported from pandora_db.pl).
* reporting/fgraph.php: Added graphs for string data types. Fixed
event by agent/module graph for system events.
* general/logon_ok.php, tactica.php: Fixed a div0.
* godmode/agentes/manage_config.php: Several fixes, and added a new
option to mass-deletion of agents.
* godmode/agentes/agent_manager.php,
godmode/agentes/modificar_agente.php: Delete of remote configuration
when delete an agent and manually, by user.
* operation/servers/view_server_detail.php: Added refresh option and
fixed layout.
* status_monitor.php: Added new filter by state, most code rewritten.
Added pagination fixes, and corrected labels and legends.
* operation/agentes/networkmap.php: Several fixes and modification to
render small maps and huge (>200 agents) maps. This should be fine by
now. Need "Group/Section" drawing /by click into section line/.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Drop foreign key of inexistent column.
* godmode/reporting/reporting_builder.php: Fixed order when deleting a
report content. Deleted id_agent reference from treport (local
inconsistence is the reason why I couldn't see it before), also
id_user insertion was failing. Added a link to view group on report
form. Added module column on report content list. Use id_user from
config object.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Changing the group of a
report is not allowed. It will imply removing all the report contents
that belongs to an agent of the group. Fixed an error on javascript
changing the group.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ajax.php: Added to repository. AJAX interface for Pandora. A new
time is coming...
* pandoradb.sql: Added id_group to treport. A report is now assigned
to a group of agents. Changes in treport_content to add an order
field, drop sla fields and use an enum for the type. NOTE: This will
break all your current defined reports, update under your
responsabillity. Added table treport_content_sla_combined to define
SLAs in the SLA types reports.
* godmode/reporting/graph_builder.php: Use Pandora functions. Adde
javascript code to display the module icon when changing from the
dropdown menu.
* godmode/reporting/reporting_builder.php: Almost complet rewritten to
use Pandora HTML functions. Style correction.
* include/functions.php: Added new report types. Style correction.
* include/functions_db.php: Use Pandora database functions to get
simple values. Added functions get_agents_in_group(),
get_modules_in_agent(), get_simple_alerts_in_agent(),
get_combined_alerts_in_agent(), get_alerts_in_agent(),
get_monitor_downs_in_period(),
get_monitor_last_down_timestamp_in_period(),
get_alert_fires_in_period(),
get_alert_last_fire_timestamp_in_period(). Deleted debug output and
fixed calling to an inexistent function in
return_moduledata_sum_value().
* include/functions_html.php: Tab style correction. Thanks to Ramon
for the advice. Fixed some errors on print_table that was causing not
to work fine if rowclass or colspan was defined.
* include/functions_reporting.php: Adde date support to
return_module_SLA(), event_reporting(). Added alert_reporting(),
monitor_health_reporting(), general_group_reporting() and
agents_detailed_reporting() to implement new report types. Style
correction.
* include/javascript/pandora.js: Added html_entity_decode() function
to decode some AJAX results.
* javascript/jquery.js: Added to repository. jQuery version 1.2.4a
* include/javascript/jquery.timeentry.js: jQuery plugin to manage time
inputs.
* include/javascript/jquery.ui.datepicker.js: jQuery plugin to manage
date inputs in a dropdown calendar.
* include/languages/date_*.js, include/languages/time_*.js: Added to
repository. Translation of date and time strings for the new calendar
javascript support.
* include/languages/language_en.php: Added new strings relatives to
reports.
* include/languages/language_de.php,
include/languages/language_fr.php, include/languages/language_gl.php,
include/languages/language_pt_br.php: Fixed a variable name.
* godmode/groups/group_list.php: Avoid the use of an extra indentation
by returning if no success on comprueba_login().
* include/styles/pandora.css: Add some classes. Tab style correction.
* operation/agentes/ver_agente.php: Added AJAX support to agent
operations.
* operation/reporting/graph_viewer.php: Period dropdown selection
improved and printed with Pandora functions.
* operation/reporting/reporting_viewer.php: Massive rewritten.
Implemented date and time support, added new report types, use Pandora
functions...
* reporting/fgraph.php: Documentation fix. Added a new graphic to show
monitors health.
* godmode/agentes/agent_manager.php,
operation/reporting/custom_reporting.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Updated some new config tokens (graph colors),
updated group default names and icons,
* manage_config_remote.php, godmode/menu.php: Added new config to
manage/copy remote config from one agent to other(s).
* agent_manager.php: When create a new agent, cannot select group "ALL".
* agent_template.php: Fixed a weird bug that creates two tagente_estado
records when using a module template.
* alert_manager_editor.php: Fixed ACL problem assigning combined alert
components. Better management of NOP in combined alerts (Automated NOP
when create the first component. Added NAND, NXOR y NOR).
* manage_config.php: Solved some bugs copying configuration with new
modules (Added support for new module types). Added filter for group and
fixed ACL problems. Code cleanup and better layout.
* module_manager_editor_prediction.php: ACL checks added.
* config_process.php, setup.php: Support to choose color graphs.
* functions.php: Fixed typo and removed N/A for alerts with min/max = 0
* functions_db.php: Fixed another typo in give_disabled_group(), and added
feature to list_group() combo to render or now group "ALL".
* estado_generalagente.php: Added network push button for whole agent.
* tactical.php: Some minor layout improvement.
* ver_agente.php: Network FLAG change request for whole group, and fixed
manual validation on combined alerts.
* events.php: Event description don't show with " ' "characters. Fixed.
* fgraph.php: graph_event_module() restored (was missing in last commit),
added user-defined color support.
* stat_win.php: Added support to choose another date for graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Added pure (Fullscreen). HTML code cleanup and user session.
* pandoradb.sql: talert_snmp: Added priority field.
* pandoradb_data.sql: Changes default values in talerta. tconfig_os, tgrupo
and some links.
* header.php: Fixed some user session management.
* logon_ok.php: New design for welcome screen, odometer is over.
* menu.php, godmode/menu.php: Some ACL improvements.
* agent_disk_conf_editor.php: Minor fix in view link.
* configurar_agente.php, agent_manager.php: Added parent combo and better
ACL checks. New remote configuration control for get timestamp info of
config file.
* modify_alert.php: Changes to use new internal Mail alert.
* config.php: Some items moved to config_process. (font, attachment and
default style).
* functions.php: Added form_agent_combo(), form_event_type_combo(),
form_priority() and return_priority() functions.
* functions_db.php: Added smal_event_table() to render a variable table
with latest events (filtered).
* pandora.css. Added pure and priority colors.
* estado_alertas.php: Fixed ACL problems.
* stado_generalagente.php: Graph of modules now represents modules that
has generated events. Old graph is not used anymore. Also display parent.
* estado_grupo.php: Border of boxes is now thicker.
* tactical.php: New screen, almost all code changed. Odometer is not used
anymore, added some new items, like module LAG meter, module sanity, and
other general metrics.
* ver_agente.php: Now renders also event for each agent view. Alert manual
validation generate a new event.
* events.php: New event system. 90% new code. A LOT of new features,
including full screen, coloured (by priority) and filters by six fields.
* snmp_alert.php: Added support for alert priority.
* operation/users/user.php: No longer a user with UM privileges could
see any other user.
* render_view.php: Added fullscreen support for visual maps.
* fgraph.php: Added support for session checking in graphs (at least!).
New graphics for events (some changed it's function like events by group),
and feature added to progress GD implementation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php,
operation/agentes/estado_agente.php: Data was presented for users with
access to specific groups (fixed also in 1.3.1 branch). Fixed.
* godmode/users/configure_user.php: Better management of password.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Updated tevent structure. Added criticity and
other important and new fields.
* pandoradb_data.sql: Added "remote_config" token for setup.
* setup.php: Added support for token remote_config.
* config_process.php: Added support for token remote_config.
* incident_detail.php: Solved small problems in attachment.
* snmp_view.php: Solved small problems in pagination.
* fgraph.php: Added support to generate graphs on any interval
in time, not only "last XX". Need to implement user interface
controls to work with it.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting_pdf.php: New functions for PDF reporting.
* include/functions_reporting.php: Fixed alert & event reporting.
* include/functions_db.php: Fixed function give_db_value. Also
label_string now don't show ][ characters.
* include/pdf: Added ezpdf class to generate PDF reports.
* operation/reporting/reporting_viewer.php,
operation/reporting/custom_reporting.php: A few fixes on
reporting (event viewer, combined graph...)
* operation/reporting/reporting_viewer_pdf.php: render
report on PDF.
* images/pdf.gif: PDF Icon.
* images/pandora_logo.jpg: JPG logo for PDF reports (header).
* godmode/agentes/module_manager_editor_plugin.php: Added
plugin port field (was missing).
* godmode/reporting/reporting_builder.php: Fixed problem
with event reporting type.
* godmode/alerts/plugin.php: Added plugin editor.
* godmode/menu.php: Added plugin editor to menu.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed problem in show_alert_row_mini()
* operation/agentes/status_monitor.php: Almost all code changed.
Added pagination, replaced query for a paginated version and a lot
more efficient. Added freetext search on name / description of
monitors.
* operation/agentes/estado_ultimopaquete.php: Fixed problem with
refresh / push buttons on data server modules.
* godmode/admin_access_logs.php: Fixed several problems. Added a
better pagination.
* godmode/agentes/module_manager_editor.php,
godmode/agentes/module_manager_editor_network.php: When pushed
SNMP walk, lost all fields. Fixed. Also fixed problems with min/max.
* godmode/agentes/module_manager_editor_data.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager_editor_plugin.php
godmode/agentes/module_manager_editor_prediction.php: Fixed problems
with inverted max/min.
* godmode/agentes/configurar_agente.php: Keepalive modules now are
from id_module=1 (data server). before was type 0 and that gives a lot
of problems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php, godmode/agentes/configurar_agente.php,
godmode/agentes/alert_manager_editor.php: Fixed problem with combined alert
editor. Tested and works fine for me.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_data.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php: Removed warning
messages due a lack of a variable in configurar_agente.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: IA to prediction in description.
* pandoradb.sql: Added priority to alert and custom recovery fields.
* include/styles/tip.css, include/styles/pandora.css: New styles
for tooltip info (combined and alerts) and some changes in frames for
agent management / view.
* include/functions_db.php: Added check_server_status() function to check
from console server status. If in 15 minutes there is no updated keepalive
from any server, they will be marked as down. And function return down.
This function is now called on each page. Added funtions to display alert
status in a tooltip.
* include/languages/language_en.php: More strings.
* include/functions.php: Added several funtions to simplify alert report.
* operation/agentes/estado_alertas.php: Updated. Shows also combined
alerts and give a lot of information in different tooltips.
* operation/agentes/estado_ultimopaquete.php: Clean blank spaces in URL.
* operation/agentes/estado_monitores.php: now is possible to force a
module refresh from main view.
* operation/agentes/ver_agente.php: Tab has been upgraded.
* images/mod_data.png,
images/mod_data_inc.png
images/mod_proc.png
images/mod_keepalive.png
images/mod_string.png: Added new type icons and updated old ones.
* general/header.php: Global check for servers and autorefresh control.
* godmode/agentes/alert_manager.php: New alert management for combined
alerts, visualization, etc.
* godmode/agentes/configurar_agente.php: Included new alert management.
* godmode/agentes/alert_manager_editor.php: New alert management editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Alert type 0 is not 1. 1-3 are reserved. Removed
prediction module (nosense since it uses normal modules).
* include/functions_db.php: Added wrapper give_db_value to get_db_value
because A LOT of code uses old syntax and this makes too many errors.
* include/functions.php: Fixed pagination issues with blocksize config.
* pandoradb.sql: Change alert command lenght and added some comments
for future implementation of alert criticity and others.
* operation/incidents/incident.php: Fixed some bugs calling to old
funcions / variables.
* operation/events/events.php: Fixed some bugs calling to old
funcions / variables. Removed graph and simplified header.
* operation/agentes/estado_alertas.php: Changed get_db_value call
and removed (Raul) button to create alert from here.
* operation/agentes/estado_grupo.php: Implemented support for optional
view of down modules and fired alerts.
* operation/agentes/ver_agente.php,
operation/agentes/datos_agente.php: Uses of new get_db_value and
new session id variable.
* images/mod_async_string.png: Added image.
* images/mod_async_inc.png: Added image.
* images/mod_image_png.png: Added image.
* images/mod_async_data.png: Added image.
* images/mod_async_proc.png: Added image.
* images/mod_image_jpg.png: Added image.
* godmode/setup/setup.php: Several fixes.
* godmode/agentes/alert_manager.php: Several changes for new alert manager.
Not finished. Interim commit.
* godmode/agentes/configurar_agente.php: More changes needed to alert editor.
* godmode/agentes/alert_manager_editor.php: New file for alert management.
* godmode/modules/module_list.php: Some updates, removed invalid column.
* godmode/alerts/modify_alert.php: Alert types < 4 cannot be modified (this
includes combined, internal audit and Pandora FMS log).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added show_server_type (): Return a string
containing image tag for a given target id. Updated some generic db
access calls to new function names.
* pandoradb.sql: Removed unused field.
* operation/agentes/estado_generalagente.php: Some fixes for new schema
* reporting/stat_win.php: Uses new $config hash.
* godmode/agentes/module_manager.php: Some fixes. Added visualization
for module type (by server type).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Pandora FMS 2.0 development first commit. 1.4 version is now 2.0
* pandoradb_data.sql: Added correct tnetwork_components, fixed
ttipo_modulo (categoria values).
* include/styles/pandora.css: Added some server icons, tab style
for module editor has been improved.
* include/functions_db.php: added new functions, lang_string and
check_login, and a first review of several functions that currently
need change for new config session parameters in array $config[]
* include/javascript/pandora.js: Added a new global include for
spare javascript functions before included into a few pages.
* include/languages/language_en.php: New tokens.
* include/help*: New contextual help system.
* include/config_process.php: New way to manage config.
* include/functions.php: Added new functions to manage global
* operation/agentes/estado_ultimopaquete.php: removed old javascript
code from there.
* operation/agentes/estado_agente.php: Removed references to deprecated
field "agent_type".
* operation/agentes/tactical.php: Some code cleanup and progressbar
issues merged from 1.3.1 branch. Need to add support to new server
types and new module types.
* operation/servers/view_server.php: Added support to new servers, code
cleanup.
* reporting/fgraph.php: Code cleanup, changes to use new config method,
and a lot of style change.
* general/pandora_help.php: New source for contextual help in the way
of moodle.
* general/footer.php, general/noaccess.php: Code cleanup and uses of
new config.
* module_manager_editor: New editors for each module family. Need
finish and implement EDITION of data, now only inserts data.
* godmode/agentes/agent_manager.php: Implemented new server assigment
and edition.
* godmode/agentes/configurar_agente.php: Small changes that affects
module management, visualization and agent management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Added new structures for predictive module, plugin server, and other
planned functionalities for 1.4.x version.
* Merged code from 1.3.1 branch.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/agentes/module_manager.php: Closed some html tags. Added title for the action icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Code merged from 1.3.1 branch:
* functions_db.php: Some changes in future generic SQL interface access.
* pandora_console/include/functions.php: Added generic acces to HTTP
parameters.
* status_monitor.php: Fixed problems detected by Pierre Gaxatte.
* estado_agente.php: Fixed the same kind of problems (ACL / Group acces)
and added a Agent search field as request by J.Corona.
* tactical.php: Rename of generic SQL function access.
* view_server.php: Rename of generic SQL function access.
* modificar_agente.php: Fixed some render problems, added a Agent search
option and better formatting.
* configurar_agente.php: New management for KeepAlive module.
New code for 1.4 development branch (trunk)
* pandoradbdata_13_to_14.sql: Migration SQL (data) code from 1.3 to 1.4
* pandoradb_13_to_14.sql: Migration SQL (schema) code frrom 1.3 to 1.4
* pandoradb_data.sql: Modified code to fresh install SQL data.
* pandoradb.sql: Modified code to fresh install SQL schema.
* index.php,
* install.php: new version info.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Added keep_alive as module id 100 for the new keepalive
management. Old way (from 1.2) is now deprecated and not used.
* operation/agentes/estado_agente.php: Style changes, not code.
* images/mod_keepalive.png: Added new icon for keepalive moduletype.
* godmode/agentes/configurar_agente.php: Create an agent creates automatically
a keepalive module AND a tagente_estado record.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/incidents/indicent_statistics.php: Added vertical align to images.
* languages/language_es_es.php: Solved small text typo.
* godmode/modules/manage_network_components.php: Add text filter and improved
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Near ALL php: Removed remaining help icons. Closed some HTML tags.
* index.php, include/config.inc.php: Updated build.
* languages/*.php: Added text for "Logs".
* godmode/admin_access_logs.php: Solved small visual error with
filter. Added Logs text.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@673 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/reporting/reporting_viewer.php: Fixed small bug mixing min/max values of SLA render.
* godmode/reporting/reporting_builder.php: Fixed small bug deleting item from report, that
return user to another report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Fixed some problems
similar to bug #1801301.
* godmode/agentes/modificar_agente.php: Fixed some problems
similar to bug #180130.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* view_server.php, tactical.php: Solved bug in lagcheck for down modules.
* godmode/agentes/manage_config.php: Agent ordered by name in destination box.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php, language_es_es.php: Add two
new texts.
* general/error_*.php: Changed default HTML encoding to UTF-8.
* operation/agentes/estadogeneralagente.php: Removed function
in label that causes some problems with UTF-8 texts.
* index.php: Updated build, version and set develop pass to 1.
* godmode/agentes/configurar_agente.php: Changed strings from code
to language includes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Added spanish (es_es) to available languages.
* include/languages/language_es_es.php: Added new strings for 1.3
* include/languages/extract_newlines.sh: (DEV) script to get new strings, comparing two
language files. It should be used only by translators and developers.
* include/languages/language_en.php: Updated english language with some missing (was encoded
in code) strings.
* godmode/setup/setup.php: Fix a bug when selecting special style "pandora_minimal". Added a
code check
* godmode/modules/manage_network_templates_form.php: Fixed some "inline" text labels.
* godmode/reporting/graph_builder.php: Fixed some "inline" texts.
THIS IS FINAL COMMIT BEFORE PANDORA FMS 1.3 BETA2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: Truncated too long agent names.
* operation/agentes/tactical.php: Fixed BUG: not initializated modules are now
correctly viewed.
* godmode/agentes/manage_config.php: Fixed BUG: copying modules also create
status record and some minor issues with visualization.
* godmode/agentes/configurar_agente.php: Truncated too long agent names.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradbdata_12_to_13.sql, pandoradb_data.sql: Fixed some problems with
network components, and network templates.
* README: Updated doc with Guick Install Guide.
* godmode/agentes/agent_template.php: Fixed BUG #1770888.
* godmode/agentes/configurar_agente.php: Fixed BUG# 1770895.
* godmode/agentes/agent_manager.php: Fixed BUG# 1770895 and other new bug not
identified when creating an agent and try to access some items.
Probably last commit before Beta2....
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, alert_manager.php: Alert time support uses TIME format
instead numeric (changes requested by esanchezm).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed unsorted render (E.Ross).
* index.php: Several fixes from E.Ross and me (HTTP port, REFR bug
#1756143).
* status_monitor.php: Small fixes for SQL sentences (E.Ross).
* estado_grupo.php: Small fixes for SQL sentnces (E.Ross).
* estado_ultimopaquete.php: Fix to use boolean graph from E.Ross.
* fgraph.php: Use simplified version of sparse to make a more
quick and simplified version of graph, useful for Boolean types
(E.Ross).
* stat_win.php: Fixed problem with resizing (E.Ross).
* godmode/groups/configure_group.php: Fixed code for Non-dependant
groups (E.Ross).
* login_page.php: Fixes for non 80 HTTP port (E.Ross).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added return_status_layout() function to fix
problem in Visual Console, now recursive status of linked layouts works (Xavi)
* install.php: Add more warnings about Database destroy (Dagget)
* operation/visual_console/render_view.php: Fixed code to get recursive
status of linked layouts (Xavi).
* operation/agentes/estado_alertas.php: Fixed layout of lights. Much
more visible for operators using large screens (Javier Carranza).
* operation/agentes/status_monitor.php: Fixed layout of lights. Much
more visible for operators using large screens (Javier Carranza).
* operation/agentes/estado_monitores.php: Fixed layout of lights. Much
more visible for operators using large screens (Javier Carranza).
* operation/agentes/estado_agente.php: Fixed layout of lights. Much
more visible for operators using large screens (Javier Carranza).
* images/pixel_*.png: Added for use in previous fixes.
* reporting/fgraph.php: Fixed problem with generic_pie without data.
* godmode/reporting/map_builder.php: Fixed problem (annoy feature) reported
in lists (I cannot remember the name, sorry guy). Now modules expands by default
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/fgraph.php: Fixed problem in db information graphs due a
problem checking height and getting data on orphan data modules.
* godmode/db/db_purge.php: Fixed notice warning for ob_fush() call.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Fixed problems not really
fixed in commit 563 (bug 1744913).
* operation/servers/view_server.php: Fixed Data information are
now more accurate (before get incorrect data for data server).
* operation/agentes/tactical.php: Fixed the same that above and
fixed total nomber of modules for data server that was 0 always :(
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Bugfix; list_group and list_group2 funtions
now include all group in result. All group recheck should be done inside code, not in
this function.
* operation/agentes/estado_grupo.php: Fixed bug with ALL group.
* operation/agentes/estado_monitores.php: Bugfix, Now show only initialized modules.
* operation/agentes/estado_agente.php: Bugfixed, "All" group problem,
and agent names are truncated if > 18 chars.
* operation/agentes/tactical.php: Bugfixed, now calculates LAG and module
count properly.
* operation/servers/view_server.php: Bugfixed, now calculates LAG and module
count properly.
* reporting/fgraph.php: Bugfix: Renamed static problem image.
* godmode/agentes/configurar_agente.php: Bugfix, agent address management
in manual creation.
* godmode/agentes/agent_manager.php: Bugfix, #1744913 (show icon in creation)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/agentes/configurar_agente.php: Fixed
problem when creating manually an agent: does not create IP
address in tadress table, so Recon Server create again system with
the same IP.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/*.gif: Deteled last .gif images
* images/pandora_lupa.png, noaccess.png: New files.
* general/logon_failed.php, noaccess.php: changed gif to png
* include/functions.php: changed gif to png
* godmode/user_list.php: Solved small visual error with tip
* godmode/modules/manage_network_templates.php: Reduced table width when
no modules are defined.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/sytles/*.css: Updated "gif" references to the "png" refs.
* include/language/language_en.php: Updated text.
* images/*: Removed near all .gif files and created .png
* operation/*.php, godmode/*.php, *.sql:
Updated gif references to .png
* install.php: Added feature request 1744237
* index.php, operation/agentes/exportdata.php: Moved calendar jscript
from index to exportdata
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit should finish Pandora FMS Console 1.3 beta 1 :-)
* pandoradb_data.sql: Added default news for new instalation.
* include/styles/op.css: Changed icon for Visual Console.
* include/config.inc.php: Some minimal changes for skeleton.
* include/languages/language_en.php: Added final strings (hope!).
* index.php: Adjusted some issues for production.
* operation/incidents/incident_statistics.php: Added titles.
* operation/events/event_statistics.php: Added titles.
* operation/agentes/tactical.php: DivZero bug fixed.
* images/image_problem.png: Updated image with new logo.
* reporting/fgraph.php: Added generic_bar_graph and, at least, no
more jpgraph graph usage !. All graphs are using GD/Pear Graph
now.
* general/logon_ok.php: Fixed the same bug that in tactical.
* godmode/db/db_info.php: Added titles.
* godmode/db/db_purge.php: Now render detailed info in graph for
each agent selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/reporting/*.php: Added code to show text
if no reporting defined.
* operation/menu.php: Added code to highlight custom reporting
if selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: More strings.
* pandoradb_data.sql: Solved small problem with language strings.
* operation/visual_console/index.php: Added code to show
text if no layout defined.
* godmode/reporting/*builder.php: Added code to show text
if no reporting defined.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: More strings.
* include/functions.php: entrada_limpia() should work fine in UTF8.
* operation/incidents/incident.php: Fixed many ugly things.
* operation/incidents/incident_detail.php: Fixed many ugly things.
* operation/incidents/incident_note.php: Fixed many ugly things.
* operation/events/event_statistics.php: Fixed graphs.
* operation/events/events.php: Fixed some legend position and header.
* operation/agentes/tactical.php: Fixed divzero error.
* operation/menu.php: SNMP Alert not shown to normal users anymore.
* reporting/Image/Canvas/GD.php: Added errorlevel setting to 0
(disable warnings for graphs).
* reporting/fgraph.php: MANY graphs migrated from jpgraph to peargraph.
* general/header.php: More width for header information.
* godmode/admin_access_logs.php: Added graph to header.
* godmode/reporting/map_builder.php: Removed debug stuff
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/op*.gif, god*.gif: deleted. Also deleted several other
GIF files.
* images/god*.png: New png files in godmode icons.
* include/sytles/god.css, op.css: Changed to new .png icons.
* help/*, general/error*.php: Changed old .gif logo to new .png logo.
* godmode/reporting/map_builder.php: Changed cancel.gif to cross.png.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: More new tokens added.
* include/functions.php: Added function render time for alert time
limiters format (multiplier of 30).
* pandoradb.sql: Added support for alert time limiters format.
* operation/visual_console/render_view.php: Added support for
single lines a few fixes.
* images/console/background/globalmap.jpg: Nice world background.
* images/console/icons/computer.png: Added new icon for workstation.
* godmode/agentes/configurar_agente.ph,
godmode/agentes/alert_manager.php: Added support for alert time
limiters.
* godmode/reporting/map_builder.php: Tool to build/manage maps
elements. Finished!.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: Just a few words added.
* pandoradb.sql: Added disable field for alerts.
* operation/agentes/estado_alertas.php: Show disabled alerts.
* godmode/agentes/configurar_agente.php,
godmode/agentes/alert_manager.php: Allow to disable individual
alerts.
* godmode/reporting/map_builder.php: First version of map
builder. It doesnt work yet, but has some features implemented.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php, operation/menu.php, include/pandora.css, include/op.css,
include/god.css: Updated with styles to avoid top and bottom border.
* godmode/groups/group_list.php, godmode/users/*.php, operation/users/*.php,
godmode/servers/*.php, operation/snmpconsole/snmp_alert.php,
godmode/reporting/map_builder.php, operation/messages/message.php:
Removed old raya style and changed to new style.
* include/languages/language_en.php: Changed some typing error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Added event reporting and alert
reporting items for user reports. Now user reports is fully
operative !
* include/functions.php: Added new function to manage human
strings datetime timestamps with differences.
* index.php: UTF-8 is now the codeset by default, also a few
comments adjusted, included last version number, now in index.php
* operation/events/events.php: More minor adjusts in HTML.
* operation/agentes/estado_alertas.php,
operation/agentes/status_monitor.php
operation/agentes/estado_agente.php: Agent names are in UPPERCASE
and other minor adjustements.
* operation/messages/message.php: Fixed code, now uses table
styles and more width. Fixes many table endings !!
* operation/reporting/reporting_viewer.php: Finished.
* operation/menu.php: Removed old agent statistics from menu.
* general/logon_ok.php: Better render of new messages. News shown
by timestamp order.
* godmode/agentes/modificar_agente.php: Agent name in uppercase.
* godmode/agentes/alert_manager.php: Threshold timestamp now uses
better function to do this.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: New text
* include/functions.php: Now all functions to render timeframes
are using lang_label variable, some small adjustements and fixes.
* operation/agentes/status_monitor.php,
operation/agentes/estado_alertas.php,
operation/agentes/estado_ultimopaquete.php: A lot of many small
fixes and improvements on render output for all timestamp fields.
* operation/agentes/exportdata.php: Now predefine last 24
hours. Fixed a bad combo (too small).
* operation/agentes/estado_monitores.php
operation/reporting/reporting_viewer.php
operation/reporting/graph_viewer.php reporting/stat_win.php
general/logon_ok.php godmode/agentes/alert_manager.php
godmode/reporting/reporting_builder.php
godmode/reporting/graph_builder.php: A lot of many small fixes and
improvements on render output for all timestamp fields and in
MIN/MAX, small icons for module types, and things like that.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Solved decimals problem in format_numeric() function
* operation/agentes/tactical.php: General indicator formula improvement.
* general/logon_ok.php: Tactical ODO graph update (the same that above).
* godmode/agentes/manage_config.php: Select list too small, bad render fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: New strings
* include/functions_reporting.php: Added generic function to parse
information of all monitors / data checks for statistical usage in
several sections of console.
* pandoradb.sql: Updated field "timestamp" of tnews table.
* operation/agentes/estado_grupo.php: Better management of unknown
monitors, this should fix odd behaviour detected.
* operation/agentes/tactical.php: New tactical view.
* operation/menu.php: New option for group view and
tactical. Default option now is tactical view.
* images/backgrounds/background4.jpg: Updated background.
* reporting/Image/Graph/Plot/Odo.php: Fixed warning in original code.
* reporting/Image/Canvas/GD.php: Again playing with canvas options.
* reporting/fgraph.php: New odo graph.
* general/logon_ok.php: New welcome screen :-)
* godmode/setup/news.php: New news manager.
* godmode/reporting/map_builder.php: Future map/visual console
editor, not ready yet.
* godmode/menu.php: Updated a few options.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/god.css: Added god51 (reporting).
* include/styles/pandora.css: Added h4 (for reporting).
* include/functions_db.php:
* include/functions_reporting.php: Reporting functions should be
here. Now is SLA, tomorrow will be more ;)
* include/functions.php: Added generic POST/GET parameter
management, and a few functions to mangle dates.
* pandoradb.sql: A few changes on treport_content table.
* operation/agentes/datos_agente.php: Added option to delete
individual data from here. Useful to purge bad data.
* operation/reporting/reporting_viewer.php: New report viewer on
HTML.
* operation/reporting/custom_reporting.php: Moved.
* operation/reporting/graph_builder.php: Moved to godmode
directory.
* operation/menu.php: Added few options and removed other
(Reporting)
* reporting/fgraph.php: Few changes to use graphs in reports
without titles.
* godmode/reporting: Added.
* godmode/reporting/reporting_builder.php: The Pandora FMS report
editor :-)
* godmode/reporting/graph_builder.php: Graph builder almost done,
only a few bugs to finish.
* godmode/menu.php: New reporting options in godmode menu.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/*.php: Closed a lot of unclosed html tags. Updated near all of
files with new table style.
* godmode/agentes/alert_manager.php: Solved stupid bugs added some days
ago due to an unclosed html tag.
* images/groups_small/applications.png: New icon for applications group.
* pandoradb_data.sql: Updated default applications icon name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css, pandora_red.css: New style with icon
for search.
* include/languages/*.php: New string for alert updating.
* godmode/agentes/*.php: Updated h2 headers.
* operation/agentes/estado_alertas.php, estado_monitores.php,
estado_ultimopaquete.php: Updated h2 headers. Added code for not showing
table headers if no alert defined. Add some icon to input buttons.
* operation/incidents/incident_detail.php, incident_search.php,
operation/messages/message.php, operation/snmpconsole/snmp_alert.php:
Add some icon to input buttons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Massive Update
* include/styles/pandora.css: Cleaned and updated some styles.
* index.php: Updated, now the page is allways at the center.
* general/login*.php: Updated login/logoff pages with new sytles
and clean code.
* images/setup.png: New file (changed from setup.gif).
* include/languages/*.php: Deleted old text about database and
updated some strings.* help/en/chapter3.php, help/es/chapter3.php: Changed image setup.gif
to the new setup.png file.
* operation/*.php: Massive close HTML tags and changed all h3 to h2
for new console headings.
* godmode/*.php * include/styles/pandora.css
* godmode/*.php: Changed name for directories and files: New ones are
alerts, profiles, groups and users, and now the files are named in
english. All features seem to be OK.
* godmode/menu.php: Updated to include new names and some highlighting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora_red.css: Added alternate sample style.
* include/styles/pandora.css: Some problems with fonts fixed (I
hope!)
* include/config.inc.php: Modified code to support custom Style in
DB config. By default uses "pandora".
* include/languages/language_en.php: new string to render style
setup.
* images/header_red.jpg: New image for red style.
* godmode/grupos/configurar_grupo.php: Updated styles.
* godmode/setup/setup.php: Added support for style selector.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Updated footer style.
* operation/estado_generalagente.php: Closed div for footer if agent not
found.
* godmode/configurar_agente.php: Closed div for footer if agent not found.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Uptated network component data.
* include/styles/pandora.css: Few updates for style.
* include/functions_db.php: Added functions for visual console
features.
* include/languages/language_en.php: New strings.
* include/javascript: Moved all javascript files here.
* include/javascript/x_slide.js, include/javascript/x_event.js:
Copied from branch / console from Azabel.
* include/javascript/wz_jsgraphics.js: New functions to draw
lines.
* pandoradb.sql: Created new tlayout and tlayout_data tables.
* index.php: Small changes. Added support to refresh any page via
POST.
* operation/visual_console: Added Visual Console feature.
* operation/agentes/estado_alertas.php: Updated styles and fixes
damm bug when no alert available.
* operation/agentes/status_monitor.php: Updated styles.
* operation/agentes/estado_generalagente.php: Update styles.
* operation/agentes/estado_agente.php: Updated style.
* operation/servers/view_server.php: Updated style.
* operation/reporting/graph_builder.php: Fixed some minor
bugs. Needs to fix more bugs :(
* operation/menu.php: Updated menu. Visual Console has dynamic items!.
* images/pandora_logo_head.png: New header logo !
* images/pandora_logo.png: New Pandora FMS 1.3 logo ! :-))
* images/console/background: More samples added.
* images/console/icons: Icons to be used in visual console.
* reporting/fgraph.php: New feature added to simple graph to show
only average values.
* reporting/stat_win.php: Added support to avg_only and show avg,
max and min values from each graph. Zoom factor is more usable
now.
* general/logoff.php: New style.
* general/footer.php: Fixed style.
* general/logon_failed.php: Fixed style.
* general/login_page.php: New style.
* general/header.php: Fixed style.
* godmode/agentes/configurar_agente.php: Fixed styles.
* godmode/agentes/agent_manager.php: Fixed styles.
* operation/active_console: Removed from trunk: not ready to be used.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css : Some style changes.
* include/functions.php: Changed format_numeric and format_for_graph to show a
better number formatting.
* index.php: Some minor changes in layout and bgcolor (not used style because
some pages that don't have the same color uses main style, f.e: stat_win for graphs).
* godmode/agentes/module_manager.php
* operation/agentes/estado_ultimopaquete.php
* operation/agentes/estado_monitores.php
* operation/agentes/estado_generalagente.php
* operation/agentes/datos_agente.php, estado_ul: Updated output render and fixes
some tables, added databox style, removed line.
* operation/menu.php: Removed active console. This don't go with 1.3 version
finally due many unfixed bugs.
* reporting/stat_win.php: White background fixed.
* general/header.php
* general/footer.php: Some adjustments in styles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/header.png: New graphic image for header in the new design.
* Style / Graphic changes for new design (not finished).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@456 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/*.php, godmode/agentes/*.php: Added icon to buttons.
* godmode/grupos/configurar_grupo.php: Changed datos2 style to datos in
second row.
* operation/agentes/estado_monitores.php: Added code to show "Never" if
timestamp is 00-00...
* operation/agentes/estado_ultimopaquete.php: Added title to <td> tag,
to show name when is longer than 15 chars.
* general/logon_ok.php: Closed some html tags. Reduce size of table.
* include/styles/pandora.css: Changed some colours.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php: Made smaller.
* godmode/agentes/module_manager.php: Changed html anchor.
* operation/snmpconsole/snmp_view.php, general/logon_ok.php,
operation/events/events.php, operation/incidents/incident.php,
operation/agentes/estado_alertas.php: Removed classes.
Now we use some styles at each page to simplify css.
* operation/agentes/estado_generalagente.php: Changed table width.
* include/pandora.css: Updated a lot of styles, deleted some not used.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/FreeSans.ttf: Added to repos, should be here to use in graphs.
* include/functions_db.php: Deleted noaccess include from
comprueba_login(). This should return value, not render pages or
exit.
* include/config.inc.php: Modified some typos.
* include/calendar.js: Added generic calendar javascript, to be
used on exportdata and incident management code.
* include/languages/language_en.php: More strings.
* install.php: In my render, box height is too low. PLEASE recheck
before changing this kind of properties because in other browsers
could have a bad render (Sophus!).
* index.php: Added script call (need to be done on header).
* operation/agentes/export_csv.php: Added new file to create a
standalone CSV on download icon / link.
* operation/agentes/exportdata.php: New export data code, used
some code from Leando Doctors, and mixed with old code. Now have
three options to render export data.
* operation/agentes/datos_agente_calendar.php: Deleted old code from Leandro.
* operation/active_console/lib/extra_functions.php: Solved a lot
of warnings, but there are TONS of more warnings that need to be
corrected.
* operation/active_console/lib/db_functions.php:Solved a lot of
warnings, but there are TONS of more warnings that need to be
corrected.
* operation/active_console/index.php: Solved a lot of warnings,
but there are TONS of more warnings that need to be
corrected. This code DONT work if you are showing warning/notice
erros. This code is not ready for production usage, too buggy yet
:(
* pandora_graphical_console_data.sql: Cleanup.
* godmode/agentes/module_manager.php: Added wizard button.
* pandora_graphical_console.sql: Cleanup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: Changed typo in installation text. Homogenize boxes.
* operation/modificar_agente.php: Deleted table and moved button to tr.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions_db.php, language_en.php, estado_grupo.php
estado_agente.php configurar_grupo.php lista_grupos.php
modificar_server.php: New feature implemented: groups could be
configured to do not launch alerts (Disabled field). Any agent
inside this group does not fire alerts while disabled will be
activated. Useful for programmed non-service periods or programmed
shutdowns.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: New strings added.
* include/functions.php: Added function output_clean_strict().
* operation/agentes/estado_ultimopaquete.php: Fixed title when
some ugly characters used (like #).
* operation/agentes/estado_generalagente.php: OS icon show,
ignoring $agent_type parameter.
* operation/agentes/estado_agente.php: OS icon show, ignoring
agent_type variable.
* godmode/grupos/configurar_grupo.php: Now it's possible to define
parent group.
* godmode/grupos/lista_grupos.php: Parent for group and some code
cleanup. Added confirmation to group delete.
* godmode/agentes/module_manager.php: Added confirmation to some
items and added "data fix" new feature to delete data above 1.3 of
average value of graph.
* godmode/agentes/modificar_agente.php: Confirmation before delete
an agent.
* godmode/agentes/configurar_agente.php: Added fix module data
feature.
* godmode/modules/manage_network_components_form.php: Some fixes.
* godmode/modules/manage_network_templates.php: More fixes.
* godmode/menu.php: Fixed some navigation marks.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora.css: added some classes for graphical input buttons.
* languages/language_en.php: More strings to go !
* include/config.php: Deleted from repo, now has no sense.
* pandoradb.sql: Added `alert_text` to talerta_agent for new text
alerts. Added tables for custom graphs and reporting: tgraph,
tgraph_source, treport, and treport_content.
* operation/users/user.php: Fixed problem with last Raul's commit.
* godmode/usuarios/lista_usuarios.php: Fixed problem with last
Raul's commit.
* operation/agentes/estado_alertas.php: Code cleanup. Implemented
render for text alerts.
* operation/agentes/datos_agente.php: Fixed small bug with text output.
* operation/agentes/datos_agente_calendar.php: Added contribution
from Leandro Doctors. Need to work on it before use several
problems detected.
* operation/servers/view_server.php: Fixed some bugs.
* operation/reporting/graph_viewer.php: Added viewer for custom graphs.
* operation/reporting/custom_reporting.php: Initial code, not
finished yet.
* operation/reporting/graph_builder.php: Work for modules in the
same agent, several problems, but works.
* operation/menu.php: Updated options for new reporting menu.
* reporting/stat_win.php: New menu is great :-)
* general/login_page.php: Updated login page.
* godmode/agentes/alert_manager.php, configurar_agente.php: New
code for text alerts and better user help.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/pandora.css: removed old "wxx" classes. Change some colours
for agent general information tabs.
* include/god.css, link.css: minimal changes for case letters.
* several .php updated to use the changes in sytles. No new features or
functionality changed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Added frame and changed basic form input
styles (fixed the old problem with radio and checkboxes).
* include/functions_db.php: Finished function
agent_add_address(). Added functions: agent_delete_address(),
give_agent_address() and give_agent_address_from_list().
* include/languages/language_en.php: More strings !
* include/functions.php: Added numeric render for graph Y scale
and for numeric data output in screen: format_for_graph().
* pandoradb.sql: Several small fixes and cleanup (deleted drop check).
* operation/agentes/estado_alertas.php: Fixed old bug with
visualization of alerts (min/max) vs (max/min). Now alert is a
real value, not integer.
* operation/agentes/datos_agente.php: Better render for numeric
(float) data.
* operation/agentes/estado_ultimopaquete.php: Better render for numeric
(float) data and fixed a small costemic bug.
* operation/agentes/estado_generalagente.php: Fixed a small
costemic bug, list of ip's have some white space before and this
have better visualization for user due to combo style stripping
some space.
* reporting/fgraph.php: Graph improvement: graphs now could show
alerts associated to an agent and draw alert limits. Preprocessor
function is now used to render axis label with (M,K) symbols and
decimal commas. Title and subtitle has been improved.
* reporting/stat_win.php: Graph menu improvement. Fully completed
work. This should work for final version without more changes.
* godmode/agentes/agent_template.php: Template/Wizard module
assigment form for agent.
* godmode/agentes/alert_manager.php: Several fixes (links) and
alert max/min render.
* godmode/agentes/configurar_agente.php: Fixed several navitation
bugs. Added agent ip addition/deletion code.
* godmode/agentes/agent_manager.php: Address list management code.
* godmode/modules/module_list.php: Deleted link to "module type
editor" and create button: This has no sense since there is no
moduletype editor yet :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added function add_address() not finished!.
* pandoradb.sql: Added field "notify_email" in tincidencia. More
changes are coming in incident management coming from FRITS
project. Added tnews
* index.php: VERY IMPORTANT: Added Session locking concurrency
speedup, taken from
http://es2.php.net/manual/en/ref.session.php#64525. This solve GUI
lookups when one page it's processing huge data and one user
cannot access to other pages. This is a common PHP issue for
bad-susing SESSION functions.
* operation/agentes/estado_grupo.php: Added checks for timeout in
agents. Now render gray icons/boxes if agent is completely timeout
(with no modules in time).
* operation/agentes/estado_generalagente.php: Show IP address in
combo. More changes are coming to agent address management
(multiaddress).
* general/logoff.php: Fixed, "babel" string :-)
* general/logon_ok.php: Added news display in main logon screen.
* godmode/agentes/configurar_agente.php: Delete address code, not
finished.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Fixed some odd problems with schema data.
* pandoradb.sql: Fixed some odd problems with schema structure and
added new table tnews for publish board updates.
* include/styles/pandora.css: Changed color for data2 style.
* include/config.inc.php: Deleted two last blank lines who makes
config.php unusable for graphs. FIXED.
* include/languages/language_en.php: Added some new strings.
* include/config.php: some problems with new config
variables. Need to recheck.
* include/functions.php: Added function to render normal text,
replacing carriage return with HTML br tag.
* install.php: Many small bugs fixed. Now uses dbname variable and
use default variables in form.
* estado_grupo.php: Small bug fixed.
* estado_ultimopaquete: Small bug fixed.
* estado_generalagente.php: Small bug fixed.
* view_server.php: Small bug fixed.
* fgraph.php: Now agent with only one kind of module render module
distribution graph.
* stat_win.php: Fixed small bug with windows ids.
* module_manager.php: Fixed small bug.
* modificar_agente.php: Fixed small bug.
* module_list.php: Fixed stupid bug.
* god_mode/menu.php: Fixed problem with menu position.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php, language_es_es.php: Added text
for no network profile.
* godmode/modules/manage_network_components.php: Added noscript tag
to avoid showing the "show" button if Javascript is enabled. Added
image to button Create.
* godmode/modules/manage_network_templates.php: Added code to show
text if no netork template is defined. Added
image to button Create.
* godmode/modules/manage_network_templates_form.php: Added code to
avoid a notice error when creating new profile.
* godmode/modules/manage_nc_groups.php: Added imaged to Button
Create.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/ok.gif: Deleted
* images/cross.png, go.png, ok.png, upd.png: Added new images
* include/styles/pandora.css, tip.css, op.css: Updated. Deleted some
old styles, not all.
* include/languages/language_en.php, language_es_es.php: Added text
for no recon task.
* godmode/*.php, operation/*.php, help/*.php: Changed some icons,
updated several buttons with new icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb_data.sql: Removed comments that
caused some warnings. Solved small bug when adding table tmodule.
Changed (again) HPUX to HP-UX.
* godmode/agentes/modificar_agente.php: Removed some notice error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* tip.css, pandora.css: Some updates to fix render in tooltips and
datos3 background color.
* config.php: Version update.
* operation/menu.php: Added reporting suboption: Custom Graph Builder.
* operation/reporting/graph_builder.php: New custom and combined
graphic generator that uses new function from fgraph
graphic_combined_module().
* reporting/fgraph.php: new function graphic_combined_module() to
generate combined graphs. Needs to finish implementation to show
alerts and evetns (most work done). Function
grafico_db_agentes_purge() now uses Pear Graph instead jpgraph.
* operation/agents/exportdata.php: Now uses indexes and improve
the overall speed.
* operation/agents/estado_grupo.php: Rewritten version, much more
fast than previous.
* operation/events/events.php: Fixed code to mass delete/update
and added some audit control points.
* pandora_db.php: audit_db() now uses utimestamp. event_insert()
now uses utimestamp. Added function
give_agent_id_from_module_id().
* operation/agents/estado_ultimopaquete.php: Now render in red
timestamp for "outdated" data. Fixes some minor problems with
module groups and interval rendering.
* operation/agents/estado_monitores.php: now uses utimestamp.
* operation/agents/ver_agente.php: Uses lang_label labels for some
texts. Fixed image bug.
* operation/servers/view_server.php: Added version of server and
some cosmetic adjustments.
* godmode/db/db_main.php: Applied new graphic.
* godmode/agentes/module_manager.php: Now sort by modulegroup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions_db.php: Added give_network_profile_name() function.
* language_en.php: Added new strings.
* index.php, ver_agente.php, estado_generalagente.php: Some style
fixes.
* view_server.php: Added support for recon servers. Added LAG
check for server processing queue.
* view_server_detail.php: Added, to get updated information in
realtime for queues processed by recon server.
* modificar_agente.php: Now deletes associated IP addresses when
deleting an agent.
* manage_network_templates*.php: Manage network templates / profiles.
* manage_recontask*.php: Editor for network tasks (recon server).
* menu.php: Added new options.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Upgraded scheme, many changes and many tables
added. I Need to commit the new "preloaded" data for this scheme,
give me some days, this stuff are on development.
* includes/styles/*: Many additions to reflect new menu options,
and the tab menu title.
* reporting/fgraph.php: Minor changes to format progressbar.
* godmode/modules/*: Many many changes and additions (manage_*)
for the new management system using tabs :-)
* include/languages/language_es_es.php: Many additions.
* operation/servers/view_server.php: Implemented detailed load for
each servertype and latency time to each server to detect problems
with high load.
Many changes in godmode subsystem. Not detailed at this time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php, modificar_agente.php,
operation/agentes/estado_generalagente.php: Small changes
with table lines.
* include/styles/pandora.css: Reduce data_box class one pix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions*.php: Some reorganization, moved some funtions
from functions.php. Added recursive functions to implement group
hiearchy (group_belong_group, agent_belong_group).
* godmode/agentes/module_manager.php, configurar_agente.php:
Module edition/add now works :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Modified, but needs update!, not
finished.
* .png: Many files added.
* Massive commit. Updated almost every file for agent
visualization, module visualizacion, agent management, index,
styles, and more. Added many icons, and altered so many files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/god.css: Moved style block.
* include/styles/link.css: Moved style block.
* include/styles/op.css: Moved style block.
* include/styles/pandora.css: Added some clases for new
appearance. Needs to be improved, not finished yet !.
* include/config.inc.php: Changed version number.
* index.php: Some changes for new block disposition using
data_box class and other changes.
* operation/agentes/ver_agente.php: Now shows data in three
tabs. Needs to be improved, but functional.
* operation/agentes/estado_generalagente.php: Change in title
order. This should be the way to show title and subtitle since
now.
* operation/messages/message.php: Changed icon, and fix problem in
CSS. Deleted class: Classes with only fix weight should be avoided
from now and added in code just with a style attribute, it
generates too many classes in main CSS.
* images/bottom-*-corner.gif: Added.
* general/footer.php: Needs to be updated.
* general/links_menu.php: New style in use (different color for
top).
* godmode/agentes/module_manager.php: New file to manage in tabs
agent configuration. Almost functional, needs fix.
* godmode/agentes/alert_manager.php: Content of alert management
for agent manager, now in a individual file to be shown in a tab.
* godmode/agentes/configurar_agente.php;
* godmode/agentes/agent_manager.php: New file to manage in tabs
agent configuration. Almost functional, needs fix.
* godmode/menu.php: New style in use (different color for top).
This is a partial commit not fully functional, need to be done due
to many changes in a temporal development computer. Sorry for
problems to people that are testing SVN version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Fixed bug 1643627, some style
changes. Also solve small bug due to use id_os and os_version as the same
var.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php; Style correction. Solve small
bug not showing any table if no alert defined.
* include/config.php: Add some comments and change order of error reporting
function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php, functions_db.php: Move list_group from f*.php
to f*_db.php. Add two new functions to show icons.
* operation/agentes/*.php, operation/eventos/eventos.php,
godmode/agentes/*.php: Updated files to use the new functions for icons.
Clear code. Clear sytle.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Pandora_console:
* include/styles/pandora.css: New style mr40.
* help/en,es/chapter3.php: Explanation of monitor added. Solved error with
english file (maximun-> manimum; minimun -> minimum)
* include/functions: Add function to show groups of an user.
* operation/agentes/*, operation/eventos/eventos.php: Use new function.
Style correction.
Pandora_docs:
* pandora_chapter3.xml: Explanation of monitor added. Solved error with
english file (maximun-> manimum; minimun -> minimum)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* help/es/*, help/en/*: Stylesheet correction. Change some texts.
* godmode/grupos/lista_grupos.php: Solved some small bug with icon
when creating group.
* general/logon_ok.php: Solved small bug due to style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/messages/message.php: Updated style for not found items.
* godmode/agentes/configurar_agente.php,
operation/agentes/estado_agente.php: Updated style for red text.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config.php: Changed build
* images/info.gif: New file
* include/styles/pandora.css: Created new style and modified others
* operation/agentes/*.php, operation/servers/*.php, godmode/agentes/*.php,
godmode/servers/*.php,: Close some HTML tags. Changed style for not
found items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Altered tagente_datos field "datos" to have
DOUBLE(18,2) instead of DOUBLE (12,2).
* pandora_db1.1_to1.2.sql: Altered tagente_datos field "datos" to
have DOUBLE(18,2) instead of DOUBLE (12,2).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Massive upload several files, to reflect changes in help, only text, no code changed.
* pandoradb.sql: change value of ultimo_contacto row in tagente table to 0000-00-00 00:00:00, to solve a small issue when the agent haven't send any data
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Some headers changed to show the "official" GPL Header info
* modificar_server.php. Add highlights. Add line before the submit button. Add help.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* configurar_agente.php. Solved small bug that only show the last alert when creating alert in an agent, but the alert was created into database.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* estado_grupo.php. Fix bug viewing groups, agent intervar was not read and
misused, resulting in a bad result of module down total sum.
* Some headers changed to show the "official" GPL Header info
* godmode/setup/setup.php: Fixed small bug showing filelist.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* user_edit.php: Add new text about authors. Add a line between table and button. Add different colors between rows (cosmetic changes).
* menu.php: Add new text about authors. Add code to highlight "edit my user" when editing the authenticated user.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Add new text about authors.
* functions.php: Add new text about authors. Change PATH to noaccess.php file.
* noaccess.php: Add new text about authors.
* login_failed.php: Add new text about authors.
* logoff.php: Add new text about authors.
* config.php: Add new text about authors.
* configurar_usuarios.php: Add new text about authors. Clean code. Solve small bug that avoid creating a new user. Add a line between table and button. Add different colors between rows (cosmetic changes).
* pandora.css: Added new class .datos2t
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* estado_agente.php: Clean code, add new text about authors
* configurar_agente.php: Solve small bug that in some cases the module association form didn't work.Added the feature of disable the not required inputs for the different type of agents while editingmodule.
* indicent_search.php: Add new text about authors and add a line between table and button (cosmetic change)
* setup.php: Add new text about authors and add a line between table and button (cosmetic change)
* estado_grupo.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.
* view_server.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.
* snmp_alert.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available. Cosmetic change, adding class 'suc' when creating alert is successful.
* snmp_view.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.
* tip.css: Change class padding to not showing error in Firefox Javascript Console
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
versions, will use it for every branch and subproject.
* configurar_agente.php : Fixed Undefined index: combo_snmp_oid notice error.
* estado_grupo.php: Detect old "OK" monitors, but doesnt check if they are down
in time, so for example, a old monitor with OK signal but from a week old, it is
shown as GREEN (good) value, not as a DOWN (white with ? symbol). FIXED.
Now counts data modules for DOWN total account, and show grey button if ANY
type of module is down, not only monitors. Improved SQL searches.
* estado_agente.php, estado_ultimopaquete.php: Same as estado_grupo with data_modules,
included in total account, more accurate accounting. A new value shown in grey for
DOWN modules, being monitors or single data modules, no matter type. Improved SQL
searches. Individual module intervals are used to determine if a module is down,
if there is no individual module interval, global agent interval is used.
Now it's possible to have a module with higher interval than Agent interval, so
we take now the more higest interval in modules to calculate if an agent is DOWN.
* fgraph.php: updated progressbar function to show N/A when data is above 100 or below 0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
- Change tlanguage table definition to add ISO 639-2 compliant lang codes in pandoradb.sql file and also changed the name of bable from bb to ast_es in pandoradbdata.sql and changed name of include lang files and help files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
- Change order of verifing if the var SNMP_OID is set in configurar_agente.php (Pandora Console)
- Change AND to OR for verifing if the two SQL inserts were OK while inserting new monitor in configurar_agente.php (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Manage config works now for all module types (problems with new modules in 1.2 version).
* Added some modifications in language_en (Assigned server -> Assigned Network Server).
* Monitor view, module view, alert view and godmode view is now ordered by name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@73 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* setup.php: New background editor in setup (from Babel Project) added to Pandora.
* New background images.
* Replaced again jpgraph with a -running- version.
* pandora.css: Updated, fixed and added some styles (
* language_en.php: Added a few tokens. Sorry Raul, it's necessary.
* functions.php: Added a new function to list files in a directory (taken from Babel Project).
* fgraph.php: Added a new progressbar function (taken from Babel Project).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@68 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* configurar_agente: MANY changes.
- New SNMP feature to make a SNMP walk of current IP target and show in a new snmp oid combo.
- Now the SNMP works with alphanumeric and numeric OID's :-).
- Cosmethic changes in the way we show the tables.
- New "cancel" buttons in alert and module edition mode
- New "setup" button to cancel edition mode and re-get the general setup display of agent.
* estado_grupo.php, some important changes and fixes:
- New feature to referesh ALL the network modules under a group if push the "network refresh" button.
- Need to be finished by Raul, to show detailed info only in the hint.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@62 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f