* pandora_console/operation/agentes/datos_agente.php: Rewrite. Uses new
functions and better security and validation
* pandora_console/include/functions_db.php: Renamed some functions and
created agentmodule functions for consistency with documentation and to
avoid searching for and typing certain function names:
get_agentmodules is now get_agent_modules;
dame_grupo is now get_group_name;
dame_nombre_agente is now get_agent_name; get_agentmodule_agent is new;
dame_nombre_agente_agentemodulo is now get_agentmodule_agent_name;
dame_nombre_modulo_agentemodulo is now get_agentmodule_name;
dame_id_tipo_modulo_agentemodulo is now get_agentmodule_type;
dame_nombre_tipo_modulo is now get_moduletype_name; dame_nombre_grupo is
now get_group_name; get_agentmodule_count is get_agent_modules_count;
get_agentmodule_group is new; get_agent_group is new;
* pandora_console/include/functions_reporting.php,
pandora_console/include/functions.php,
pandora_console/operation/incidents/incident.php,
pandora_console/operation/users/user.php,
pandora_console/operation/users/user_edit.php,
pandora_console/operation/events/events.php,
pandora_console/operation/visual_console/index.php,
pandora_console/operation/agentes/estado_grupo.php,
pandora_console/operation/agentes/export_csv.php,
pandora_console/operation/agentes/estado_agente.php,
pandora_console/operation/agentes/estado_ultimopaquete.php,
pandora_console/operation/agentes/estado_generalagente.php,
pandora_console/operation/agentes/sla_view.php,
pandora_console/operation/agentes/exportdata.php,
pandora_console/operation/agentes/ver_agente.php,
pandora_console/operation/agentes/tactical.php,
pandora_console/operation/agentes/networkmap.php,
pandora_console/operation/messages/message.php,
pandora_console/operation/reporting/reporting_xml.php,
pandora_console/operation/reporting/reporting_viewer.php,
pandora_console/reporting/fgraph.php,
pandora_console/godmode/groups/group_list.php,
pandora_console/godmode/users/user_list.php,
pandora_console/godmode/users/configure_user.php,
pandora_console/godmode/db/db_refine.php,
pandora_console/godmode/db/db_info.php,
pandora_console/godmode/db/db_purge.php,
pandora_console/godmode/agentes/manage_config.php,
pandora_console/godmode/agentes/modificar_agente.php,
pandora_console/godmode/agentes/configurar_agente.php,
pandora_console/godmode/agentes/manage_config_remote.php,
pandora_console/godmode/modules/manage_network_components_form_network.php,
pandora_console/godmode/modules/manage_network_components_form_wmi.php,
pandora_console/godmode/reporting/reporting_builder.php,
pandora_console/godmode/reporting/map_builder.php,
pandora_console/godmode/reporting/graph_builder.php: Renamed functions
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Develop Bypass set to 1, to help debugging. Updated build.
* extensions/update_manager/settings.php: Use print_input_password instead
print_input_text for proxy password.
* godmode/modules/manage_network_components_form_wmi.php: Cosmetic change. Closed some HTML tags.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php: Replaced parameters
manual check using entrada_limpia with get_parameter(). It was causing
PHP notices and was not working fine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: Added print_error_message, a function
that will print out <h3> error messages for you given a result
* godmode/modules/manage_network_templates_form.php: Rewrite for new
style and makes it easier for mass updates to templates (eg. if you
have port 1-48 of a Cisco Switch (input, output and status) now you
don't have to click 288 times.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1163 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
* 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
* 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
* 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
* 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
* 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
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
* 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
* 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
* 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
* 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
* 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