* operation/events/events.php
operation/events/events_list: Show checkbox 'Set alert on stand by'
when the event is "In process".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_validate: Display options: validate and
add a comment when the event status is "in process".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
operation/events/events_list.php
operation/events/events_validate: Allowed post a comment
without changing the event's state.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Added colors in name and group
at creation time and now update button is showed when a filter is
created.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Changed toggle filter in this
view.
* operation/netflow/nf_live_view.php: Changed filters of netflow
to javascript code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: show 'source' and 'extra id' fields
in event view when the value is empty.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Now id_group and id_name it's
keeped when pagination is used in this view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Now toogle filter is not hide
when pagination is used in thie view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_snmp_alert_configuration.php
include/help/es/help_snmp_alert_configuration.php
include/help/en/help_snmp_alert_filters.php
include/help/es/help_snmp_alert_filters.php
include/help/es/help_field_match_snmp.php
include/help/en/help_field_match_snmp.php: Added helps for snmp
alert editor.
* include/help/en/help_snmp_alert_custom.php
include/help/es/help_snmp_alert_custom.php: Modified helps due to
field renamed in thie view.
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added
id_group_filter in tevent_filter table.
* operation/events/events_list.php
operation/events/events.php
godmode/events/event_edit_filter.php
godmode/events/event_filter.php: If update button have been pushed
toogle filter is not hide. And added group filter in live filter
editor and in filter editor.
* godmode/snmpconsole/snmp_alert.php: Changed position of fields and
added helps.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/events/custom_events.php: Remove comments.
* operation/events/events_list.php: Show criticity only for
alerts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/events/custom_events.php
operation/events/events_list.php: Show all groups in
event view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql,
pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql: Added fields to display the event view.
* godmode/menu.php
include/functions_config.php
operation/events/events_list.php: Configure the fields to be
displayed in the event view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_validate.php: Allowed post a comment
without changing the event's state.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php
operation/events/events.php: Added new option for display all
events in event viewer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Added check for flash charts in pdf
exportation.
* operation/events/events_validate.php: Removed entities in this
view.
Fixes: #3445106
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/incidents/incident_detail.php
operation/integria_incidents/incident.incident.php
operation/events/events_list.php: Fixed some bugs of the
create incident from event form included the change of
target url when integria incidents are enabled
bug: 3438251
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Fixed bad cast from alphanumeric
to numeric in timestamp conversion.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php
operation/events/events.php: Added tag url popup, new style in
extended event table and new fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: When an event doesn't have agent
associated then don't display AlertSNMP as agent name.
Fixes: #3414380
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php
operation/events/events.php: Fixed entities in free search
filter of the events viewer when click an event name for
bug 3411533
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php, include/api.php: added the code for to
extract events in the android event viewer.
* operation/events/events_list.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_rss.php, operation/events/export_csv.php: fixed
the output html entities and html entities of html entities.
Fixes: #3389980
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Change the events free search tag
by a combo with all the possible tags for 3380040
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_marquee.php: Fixed a sql error
of the events marquee when no groups in the system
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Merged from trunk. Do not show
repeated comments when grouping events. Raise the maximum permitted
result length for GROUP_CONCAT.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.oracle.sql: Removed unneeded code.
* operation/events/events_list.php: Do not show duplicate messages when
grouping events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php: Added rawurlencode and io_safe_input
where they were necessary
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
operation/events/events.php: Changed the way to include flash
graph include.
* pandoradb.oracle.sql: Changed datatype on max_value field of
talert_templates table.
* pandoradb.data.oracle.sql: Fixes errors in Oracle installation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/functions_reporting.php
include/functions_alerts.php
operation/incidents/incident_detail.php
operation/agentes/status_events.php
operation/agentes/tactical.php
operation/integria_incidents/incident_detail.php
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php
operation/reporting/reporting_xml.php: Functions in functions_events.php have "events_"
prefix.
* index.php: Added some "db_" prefixes that I forgot in my last commit. Functions in
functions_events.php have "events_" prefix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_list.php, operation/events/events.php: fixed
nested forms incompatible with some browsers that fail when validate
several events and some errors in javascript when validate individual error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php, operation/incidents/incident.php,
operation/agentes/status_monitor.php, operation/agentes/datos_agente.php,
operation/servers/view_server.php, operation/snmpconsole/snmp_view.php,
operation/events/events_rss.php, operation/events/events_list.php,
operation/events/events_marquee.php, operation/search_users.php,
mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php,
mobile/include/functions_web.php, godmode/admin_access_logs.php,
godmode/agentes/modificar_agente.php, godmode/alerts/alert_actions.php,
godmode/reporting/reporting_builder.list_items.php: changed and addded in
the source, the SQL queries for the "LIMIT x, x" to "LIMIT x OFFSET x", that
it is standard for PostgreSQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php, include/functions_reporting.php,
include/functions_gis.php, include/functions_servers.php,
include/ajax/reporting.ajax.php, include/fgraph.php,
include/functions_db.php, include/functions_alerts.php,
include/functions_reports.php, extensions/system_info.php,
extensions/agents_modules.php, operation/agentes/group_view.php,
operation/events/events_rss.php, operation/reporting/reporting_xml.php,
operation/reporting/reporting_viewer.php, extras/pandora_diag.php,
general/logon_ok.php, godmode/db/db_audit.php, godmode/db/db_event.php,
godmode/db/db_purge.php, godmode/agentes/planned_downtime.php,
godmode/setup/setup.php,
godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_delete_modules.php,
godmode/massive/massive_standby_alerts.php,
godmode/modules/manage_network_templates.php,
godmode/modules/manage_network_templates_form.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/reporting/reporting_builder.preview.php,
godmode/reporting/reporting_builder.php: changes for to use character " in
the SQL queries for PostgreSQL, in some cases. In other case there are more
changes for to create SQL query PostgreSQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
separate the function "get_db_value_filter" and
"format_array_to_where_clause_sql" into the two version for MySQL and
PostgreSQL engine.
* operation/events/events_list.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_validate.php: Fixed the style of
the list of events to validate for bug 3141995
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: fixed the show list of events when to delete
the events.
Fixes: #3141622
* operation/events/events_list.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php, operation/events/sound_events.php: Change string.
Use events in lower case, according with the menu criteria.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: in function __ fixed when the Pandora don't
have extensions.
* operation/events/events_rss.php: cleaned source code.
* operation/events/events_list.php: added more info in the hidden expanded
row.
Fixes: #3102826
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/sound_events.php: fixed the ajax check for when start
with empty list of events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php, operation/events/events_list.php: cleaned
style source code.
* operation/menu.php: added subentry in "View events" for "Sound Events".
* operation/events/events_rss.php: added source code for the $id_agent equal
-2 (this mean that get the agent by text name) and added new check for new
status.
* operation/events/events.php: added source code for the $id_agent equal -2
(this mean that get the agent by text name).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: in function "print_select_groups" and function
"print_select_from_sql" added source code to check $config['text_char_long']
for show small text in this widgets.
* include/functions.php: in function "get_event_types" and "get_priorities"
added source code to check $config['text_char_long'] for show small text in
this widgets. And in function "get_priority_class" cleaned source code.
* operation/agentes/status_monitor.php, operation/events/events.php: cleaned
source code style.
* images/pandora.ico.gif: added image file for to use in the mobile footer.
* mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/tactical.php,
mobile/operation/agents/group_view.php, mobile/operation/events/events.php,
mobile/include/style/main.css, mobile/include/functions_web.php,
mobile/index.php, general/footer.php: continued the develop, yep the
Pandora Console Mobile is complete (only rest the bugs).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: cleaned source code style.
* mobile/operation/events/events.php: added page to show list of events in
the last day.
* mobile/include/functions_web.php: added link to events list page.
* mobile/index.php: added the hook to link the event.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php: Deleted several
columns from the events view and adding a
show/hide advanced fields feature.
Added a new state 'in process' to validation
and an input comment when a status is changed.
* include/fgraph.php: Fixed quotes
in constant definition
* include/functions_ui.php
include/functions_agents.php
include/functions_alerts.php
operation/agentes/alerts_status.php
operation/agentes/alerts_status.functions.php
images/bell_pause.png
godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php
godmode/massive/massive_operations.php
godmode/massive/massive_standby_alerts.php: Added
the feature of set and set off on standby an alert
in the alets management and view if an alert is in
standby in the rest of views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: added default value for "sound_alert",
"sound_critical" and "sound_warning" into table "tconfig".
* include/functions_config.php: in function "update_config" added to
update sounds.
* include/functions_alerts.php: added function "get_event_status_group" for
scan the events.
* operation/events/sound_events.php: added first version of event sound
window.
* operation/events/events.php: added the request for ajax of sound event
window.
* images/pause.button.png, images/ok.button.png,images/music_note.png,
images/play.button.png: added images for sound event window and button in
the head of events.
* godmode/setup/setup.php: added source code for to config the sounds of
events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php
operation/events/events_rss.php: Added url parameters
to the event rss to authenticate the user and fix the ACLs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/export_csv.php: Fixed ACLs to avoid
to export system events to not administrators for bug
3053486
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Call to get_agents () with current
user and without returning "all" group, this avoid to render non-visible
(ACL) agents in the AJAX control to return an agent.
* pandoradb.sql: ttrap value* information resized.
* extensions/users_connected.php: ACL check before show users.
* operation/events/events_marquee.php: Added ACL check.
* operation/events/events.php: System events not shown to normal
users.
* operation/menu.php: Server view is now only for PM.
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: ttrap value* alter
table.
* general/noaccess.php: Added code to avoid image usage when called
from different directories than standard.
* godmode/agentes/agent_manager.php: Proper call to
get_user_groups().
* godmode/menu.php: Profiles are now under user management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Fixed bug on event searches
in different languages than english.
* include/functions_reporting.php: Fixed notice on empty foreach.
* config_process.php: Trying to supress Deprecated messages.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/export_csv.php,
operation/agentes/stat_win.php,
operation/reporting/reporting_xml.php: Fixed includes.
* godmode/setup/setup_auth.php,
include/functions_config.php,
include/auth/mysql.php: Added support for a remote user blacklist.
* include/help/en/help_autocreate_blacklist.php,
include/help/es/help_autocreate_blacklist.php: Added to repository.
Blacklist help files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added the function "print_select_groups" to
print the field select box for groups with tree style.
* include/functions_db.php: in function "get_user_groups" added test to
false value in parameter $privilege for get all groups without ACL test.
Fixed in function "get_user_groups_tree" the call to "get_user_groups" with
the correct parameters.
* operation/incidents/incident.php, operation/incidents/incident_detail.php,
operation/events/events.php, operation/agentes/status_monitor.php,
operation/agentes/estado_agente.php,
operation/agentes/alerts_status.functions.php,
operation/agentes/exportdata.php, operation/agentes/networkmap.php,
operation/messages/message.php, general/ui/agents_list.php,
godmode/groups/configure_group.php, godmode/groups/group_list.php,
godmode/agentes/massive_add_alerts.php,
godmode/agentes/massive_delete_agents.php,
godmode/agentes/massive_config.php,
godmode/agentes/massive_delete_action_alerts.php,
godmode/agentes/massive_delete_alerts.php,
godmode/agentes/modificar_agente.php,
godmode/agentes/massive_delete_modules.php,
godmode/agentes/massive_add_action_alerts.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/manage_config_remote.php, godmode/agentes/agent_manager.php,
godmode/servers/manage_recontask_form.php,
godmode/alerts/configure_alert_compound.php,
godmode/alerts/alert_compounds.php,
godmode/alerts/configure_alert_template.php,
godmode/alerts/configure_alert_action.php, godmode/setup/gis_step_2.php,
godmode/users/configure_user.php, godmode/gis_maps/configure_gis_map.php,
godmode/reporting/graph_builder.main.php,
godmode/reporting/reporting_builder.main.php,
godmode/reporting/visual_console_builder.data.php: changed the fields select
box of group to tree style select box for groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_rss.php
operation/events/events_marquee.php
operation/events/events.php: Fixed several bugs into
events viewer and events rss file. Apply Ip restriction
to API Ip's List to rss and marquee files.
Bugfix: 3017263
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Changed the Server and All text
on the events filter to use gettext.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Fixed the agent filter. Now the
pagination keep the agent and shows the name of the agent in the
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/event_statistics.php: Updated year and headers. There
is a black space after the headers that should be avoided. Same to the
events.php file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions_events.php: Fixed typo (switched meaning) in two labels.
* include/styles/pandora.css: Changed background color of th default style.
* include/functions_reporting.php: Improved function get_group_stats(). Now
supports stats from batch-mode and get realtime stats in a more efficient
way. Fixed get_fired_alerts_reporting_table() to avoid problems in external
reporting (PDF & XML).
* include/functions_servers.php: get_server_performance() now uses batch mode
stats reporting, and improved also the realtime stats generation. Same with
function get_server_info().
* include/functions_config.php: Added new config tokens (not fully
implemented yet) for event, trap, strings and audit automatic purge.
* include/functions_ui.php: Added new print_page_header() function to set
the new standard header in all pages, using the "tabbed" format to show
the title, subtitle and other options like help, or custom-tabs for the page
* pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to
tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to
agents_unknown.
* extensions/ext_backup: New directory to place "deleted" extensions.
* extensions/dbmanager/dbmanager.css: Table names now are in it's original
lowercase/uppercase format.
* extensions/dbmanager.php: Updated headers, and now return "empty" when
a search is empty, instead "error" as before.
* extensions/users_connected.php
extensions/module_groups.php
extensions/plugin_registration.php
extensions/pandora_logs.php
operation/incidents/incident.php
operation/snmpconsole/snmp_view.php
operation/users/user.php
operation/users/user_edit.php
godmode/agentes/planned_downtime.php
operation/events/events.php
operation/visual_console/index.php
operation/agentes/estado_generalagente.php
operation/agentes/estado_agente.php
operation/agentes/exportdata.php
operation/agentes/ver_agente.php
operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
operation/users/user_statistics.php: Added new header format.
* operation/agentes/estado_grupo.php: Removed old group view.
* operation/agentes/tactical.php: Adapted to use new realtime/batch
statistical system. Placed events above server info. Showing only pending
events and other minor changes.
* operation/agentes/group_view.php: NEW screen, replacing old one. Probably
most ugly, but much more useful than before.
* operation/agentes/networkmap.php: Added title.
* operation/messages/message.php: Added title and adding some exists in
code was missing before.
* operation/reporting/reporting_viewer.php: Added title.
* operation/reporting/graph_viewer.php: Added title.
* operation/reporting/custom_reporting.php: Added title.
* operation/servers/view_server.php:
* operation/menu.php: Replaced old group view with new (this has english
name). Removed autorefresh "by default" in server view.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo.
* extras/pandora_diag.php: Minor changes, removed some info and added other.
* general/logon_ok.php: Minor aesthetic changes.
* general/header.php: Fixed missing ";"
* operation/extensions.php,
godmode/extensions.php: Added support for delete extensions.
* godmode/menu.php: New setup items.
* godmode/setup/setup.php,
godmode/setup/performance.php,
godmode/setup/setup_visuals.php: Reordered setup options, new setup section
"Performance", added new performance options to set "realtime" statistics
or "batchmode" with it's own interval. Some setup info is now shared with
the servers (but it it's any change in setup, servers should be restarted
anyway).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Changes ported from 3.0 branch.
* include/javascript/pandora_visual_console.js: Thiner lines in maps.
* include/functions_visual_map.php: Fixed several issues in visual maps
(bad hierarchy status color, limited depth for recursion, get unknown
for agents and modules, and line color is now always associated to
parent status) and non-status elements like labels, graphs or progress
bars now doesnt propagate module status to parents.
* include/functions_db.php: Added parameter to get_db_all_rows_sql() to
avoid use of cache. Function process_sql() was not properly checking if
cache usage was disabled and was always using cache. Added support for
checking unknown status in get_agentmodule_status() function.
* extensions/dbmanager/dbmanager.css,
extensions/dbmanager.php: Fixed width of textarea.
* operation/events/events.php: Fixed bug #2943907.
* operation/agentes/exportdata.php: Fixed problem exporting CSV
when data to export is TOO big, using an internal cache to read
data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Fixed problem in show_event_type() function
who mades events.php to do a invalid filtering by event status.
* operation/events/events_rss.php: Added optional (commented code)
support for filtering RSS request by the API ACL. need to implement a switch
in the config array to use here ACLs or not.
* operation/events/events.php: Fixed problem filterings events by status
(warning, critical, normal and not-normal).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: change the function
"get_db_all_row_by_steps_sql", now it support more connection with
parameter $new for new conection and $result for connection.
* operation/events/export_csv.php: rewrite to adapt the new
"get_db_all_row_by_steps_sql".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: add in "get_db_all_rows_filter" new parameter
$returnSQL for return the string formated SQL instead the data. And add new
function "get_db_all_row_by_steps_sql" that return row by row the data of
query.
* operation/events/export_csv.php: fixed the memory overload when try save
into CSV a 10000 events or more, now use "get_db_all_row_by_steps_sql" for
extract row by row the data.
Fixes: 2859758
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed some innacurate queries, skipping
non-init modules, async modules and keepalive modules.
* include/functions_servers.php: Improved LAG calculation algorithm, now
is VERY precise. Added performance meter for local & remote checks.
* include/config_process.php: error_reporting() has better default values
now (skipping notices and non-important messages) for pandora_console.log
* include/functions_agents.php: Fixing a problem in an alert SQL on function
get_agent_alerts_simple().
* include/functions_db.php: get_server_info() moved to functions_servers.php
* operation/events/events.php: Fixed a bug with pagination and other bug with
user validated events search.
* operation/agentes/status_monitor.php: Better management of async modules,
non init and unknown modules. Now works as expected.
* operation/agentes/estado_monitores.php: Removed blank space between icons to
let table row more compact.
* operation/agentes/tactical.php: Added performance information. Removed some
information (not used) from snmp and recon servers.
* general/header.php: Latest changes here don't work as expected. Rewritten
and now works fine (enterprise/open logo in header).
* godmode/admin_access_logs.php: Fixed pagination bug in tracker. Added table
layout with two alternate colors (rowOdd method).
* operation/servers/view_server.php,
* godmode/servers/modificar_server.php: Added include to functions_servers.php
to use the new server functions, moved from functions_db.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php, operation/events/events.php,
operation/snmpconsole/snmp_view.php: Use down icon instead wand icon,
due to wand is reserved for creation purposes.
* godmode/agentes/module_manager_editor.php: Added header and down icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/exportdata.php: change "search_agents" in the ajax, now
you can add paramater "add" as array json with the names of agents or other
things that you want show in the box of result.
* operation/events/events.php: change the select box for a ajax autocomplete
box for agent form filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Replaced old icon (red cross) by a
white tick.
* images/tick_off.png: White tick.
* include/config_process.php: Ooopps, this is RC1 !
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: change the field
"name" in the table "tagente" to binary varchar.
* include/functions_events.php, operation/events/events.php: add new
columns, the severity colummn and the validate colummn.
* images/tag_red.png, images/tick.png,
images/status_sets/default/severity_informational.png,
images/status_sets/default/severity_maintenance.png,
images/status_sets/default/severity_critical.png,
images/status_sets/default/severity_warning.png,
images/status_sets/default/severity_normal.png: add the new files to use in
the events list new colummns.
* include/help/en/help_eventview.php: change the content in this help for
show help info of new colummns.
Comments: I hate the massive and mixed commits...but I have not choice, and
in this commit there are two parts, the changes in the sql table and the
changes in the event list colummn.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: change the order to include and write
"<script>" in file for don't affect to ajax requests.
Fixes: 2848523
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console_install: New installer for console.
* pandora_console.spec, install.php: minimal fixes.
* pandora.css: Color change for table dual colors.
* events.php: Added help and removed legend from table bottom.
* include/help/en/help_eventview.php: Help added.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php: Added plugin
components select. Fixes#2707900.
* godmode/alerts/alert_list.php: Fixed an error when showing agents
list.
* include/functions_events.php: Added get_similar_events_ids() to get
events which are similars (same description and agent module). Renamed
process_event_delete() and process_event_validate(). Added
similars flag to both delete_event() an validate_event().
* include/functions_reporting.php: Added timestamp parameter to select
statements to fix#2707841.
* include/functions_ui.php: Added a class to pagination divs.
* operation/agentes/estado_generalagente.php: Style correction.
Removed period on agent access graph.
* operation/agentes/exportdata.php: Fixed many notices by including
config.php instead of using global. Style corrections.
* operation/events/events.php: When the events were grouped and
deleted or validated, only one was being updated. Added AJAX support
to validate and delete single operations. Style corrections. Fixed
#2707872
* reporting/fgraph.php: Many fixes on agent access graph. Fixes
#2707856
* reporting/pandora_graph.php: Added a couple of properties to the
class.
* reporting/pchart_graph.php: Do not add the grid or axis labels on
charts if asked. Show no progress bar if value is 0 and a title is
shown. Style corrections.
* include/styles/pandora_width.css: Renamed to panoramic theme. Added
style for event_control element.
* include/styles/pandora.css: Added style for event_control element.
* godmode/modules/manage_network_components.php: Fixed table width for
panoramic theme.
* ajax.php: Added remote_addr to config array.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css: Added icons for dashboard option (enterprise).
* include/functions_config.php: Added support for round_corner option.
* include/functions_db.php: Temporal support (not really work) for enterprise
servers webcheck/goliat and inventory. This code should be corrected when
make final dbstruct changes for new server_type numeric field.
* include/functions_reports.php: Fixed an annoying notice.
* index.php: Dashboard is not entered automatically on login in enterprise.
* operation/events/events.php: Events from group 0 always displayed.
* operation/servers/view_server.php: Icon for server status is now smaller.
* operation/menu.php: New enterprise hook for Dashboard menu entry.
* reporting/pchart_graph.php: Round corners on progressbar acording to
setup option. Color of border is smoother.
* godmode/setup/links.php: Fixed ACL condition (AND -> OR).
* godmode/setup/setup.php: Fixed ACL. Moved visual options to other setup.
* godmode/setup/filemgr.php: Fixed ACL condition (AND -> OR).
* godmode/agentes/modificar_agente.php: Support for IP address search.
* godmode/menu.php: Added new setup section for visual options.
* godmode/setup/setup_visuals.php: New setup section for visual options.
* images/mod_web_proc.png,
images/screenshot_not_found.jpg
images/mod_web_data.png
images/server_web.png: New icons added for enterprise options.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Fixed and allow to everybody to see
events coming from group 0 (Old server code put events here).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* estado_agente.php: Correct agent down status bug. Added search
on description also, and search text parameter is moved on pagination links
* estado_generalagente.php: Agent access graph has more height now.
* event_statistics.php: removed unnecesary header. Better layout.
* include/functions.php: human_time_description_raw() return "now" when
data is 0 or empty.
* db/db_main.php: Bigger graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Added safe_output_xml which makes variables
clean for output converting html entities into numeric entities understood
by all XML validators
* operation/events/events_rss.php: Used safe_output_xml where needed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/ldap.php: Fixed a small issue to check on a variable
* include/functions_extensions.php: Fixed an issue since errors
produced with @function will filter into custom error handlers
* include/functions_ui.php: Added RSS link in the header to display
RSS feed availability in RSS-enabled browsers
* operation/events/events_marquee.php,
operation/events/events_statistics.php: require_once so it won't load
the same function files twice
* operation/events/events_rss.php: Better error handling. Require_once
required because it was giving a problem with certain function files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/: New directory with extra contents (scripts, tools, samples)
* index.php: Add new permission check for /attachment directory. Probably
could be extended and wrapped into a function. This should be only called
once, this is the reason why is placed here and not in config_process.
* pandora_console_upgrade: Force MYSQL run, even if SQL return error (useful
for applying over a older 3.0 version for example).
* pandoradb_data.sql: Was missing some tconfig variables.
* extras/*.sql: Missing somre tconfig variables and other minor issues fixed
* extensions/update_manager/main.php: Description of update manager patch
wider. Probably needs more formatting in the future.
* extras/sample_login.php: Sample on how to implement autologin feature.
* footer.php: I hope solve the frakkin image problem.
* godmode/agents/agent_manager.php: proper ACL check notice.
* godmode/alerts/alert_list.php: Fixed notice.
* godmode/reporting/map_builder.php: Added link to wizard and item count.
* godmode/reporting/map_builder_wizard.php: Added new feature, a wizard
to populate the visual map, using agents from a combo, depending on the
map selected. Could have a lot of improvements, it's a basic start. Allow
to choose agents and image maps and space between images. Puts in a reticle
automatically adjusting at 600px width.
* godmode/setup.php: Checkbox for trap_forward was bad, fixed.
* config_process.php: Fixed version to 3.0-dev
* functions_html.php: Default of 0 in text boxes makes them unusable on
default values, funny :-)
* include/functions_reporting.php: Fixed a notice on unknown variable
on function get_group_stat().
* operation/agentes/alerts_status.php: Filter on module status is made now
with combos, like the rest of the filters in the GUI.
* operation/events/events.php: a missing div makes graph float outside the
filter box. TODO: Hidder filter makes free-width style buggy here.
* operation/reporting/reporting_viewer.php: Fixed layout issue.
* operation/visual_console/render_view.php: Added ACL check.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/main_menu.php: Operation and godmode menus files includes
now the dependant files.
* godmode/agentes/modificar_agente.php: Removed unnecessary
require()
* godmode/alerts/alert_list.php: Avoid notice for undefined index when
calling max(). Added option to delete the template.
* godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_templates.php: Fixed field2_recovery and
field3_recovery updating.
* operation/menu.php, godmode/menu.php: Require functions_menu.php.
* include/config_process.php: Updated build version.
* include/functions.php: Keep time in a static variable on
get_system_time().
* include/functions_db.php: Now a custom operation can be passed to
format_array_to_where_clause_sql() if the field key is numeric.
* include/functions_reporting.php: Return float value on
get_agentmodule_sla(). Added required files.
* include/functions_ui.php: Show template name on format_alert_row().
Style correction.
* operation/agentes/export_csv.php: Style correction.
* operation/events/export_csv.php: Use pandora functions to fetch
results. Fixed auth part. Style correction.
* operation/reporting/custom_reporting.php: Fixed enterprise include.
* operation/reporting/reporting_xml.php: Fixed auth part.
* index.php: process_page_head() may looked for uninitialized
$config["refr"].
* include/styles/pandora_width.css: Fixed style for ol.steps
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Rewrote get_agentmodule_sla with
faster calculations (count in SQL).
* include/functions_ui.php: Added print_moduletype_icon that prints the
whole (correct) icon including rollover text
* include/functions_db.php: Updated some documenation and removed
deprecated functions that are now in the auth parts. Renamed
return_status_agent_module to get_agentmodule_status
* operation/agentes/sla_view.php: Made it use the 2.0 SQL and HTML
functions
* godmode/agentes/configurar_agente.php: Fixed tab links
* operation/events/events.php, include/functions_visual_map.php,
operation/agentes/networkmap.php, operation/agentes/status_monitor.php,
operation/agentes/estado_grupo.php, operation/agentes/ver_agente.php,
operation/reporting/custom_reporting.php,
operation/reporting/reporting_viewer.php,
operation/reporting/reporting_xml.php, godmode/setup/links.php,
godmode/setup/setup.php, godmode/reporting/map_builder.php,
godmode/reporting/reporting_builder.php: Fixed renamed functions
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php: Added to repository. Functions for menu.
* operation/menu.php, godmode/menu.php: Added class to menu due to
changes in print_menu().
* general/main_menu.php: temp_print_menu() moved to functions_menu.php
* include/functions_themes.php: Added to repository. Implement
functions relative to themes (only CSS themes list at this moment).
* include/styles/pandora.css, include/styles/pandora_black.css,
include/styles/pandora_minimal.css, include/styles/pandora_red.css:
Added author, name and description comments to adopt to new
get_themes() interface.
* include/styles/pandora_width.css: Improved and make lighter by
simply rewrite some classes.
* include/functions.php: Added is_ajax().
* godmode/agentes/module_manager_editor.php,
godmode/alerts/alert_actions.php, godmode/alerts/alert_commands.php,
godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
godmode/alerts/alert_templates.php, godmode/groups/group_list.php,
godmode/reporting/map_builder.php,
godmode/reporting/reporting_builder.php,
operation/agentes/estado_agente.php, operation/agentes/ver_agente.php,
operation/events/events.php, operation/messages/message.php: Use
is_ajax()
* godmode/setup/setup.php: Use enterprise_include() instead of manual
checking. Use get_css_themes() to show the theme list.
* include/styles/common.css: Added to repository. Minimal styles to
make pandora works and common with all the CSS themes.
* include/functions_ui.php: Added common.css file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/configure_group.php: Removed javascript console.log
* godmode/reporting/map_builder.php: Fixed typo on file_exists()
* include/functions.php: Added format_integer_round().
* include/functions_db.php: Added fields to get_db_row(). Array values
to make "IN" SQL statements were in wrong function. Added support for
order in format_array_to_where_clause_sql().
* include/functions_events.php: Added get_event(). Fixed
print_event_type_img() which causes double printing in some cases.
* operation/events/events.php: Added get_event_tooltip AJAX operation.
Style correction by replacing $row with $event.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Added get_events() function. Replaced
"..." with html entity and reuse previously calculated value.
* include/functions_reporting.php: Fixed get_agent_module_sla() to
allow no max value to be checked. That was causing some errors on
monitor reports.
* operation/agentes/sla_view.php,
operation/reporting/reporting_xml.php,
operation/reporting/reporting_viewer.php: Do not use max value on
monitor SLA.
* operation/events/events.php: Replaced exit for return.
* include/functions_db.php: Added support for arrays in
format_array_to_update_sql() that will be transformed to a "IN ()"
statement.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added support for queries elapsed time in
print_database_debug().
* operation/events/events.php: Style correction.
* reporting/fgraph.php: Allow boolean graphics to get a starting date.
* general/footer.php: Use config['debug'] instead of developer_bypass.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_migrate_20_to_21.sql, pandoradb.sql: Fixed going up/down
strings
* godmode/setup/setup.php: Fixed event hours display
* operation/events/events.php: Fixed several major bugs with pagination
and the new event types.
* include/functions.php, include/functions_ui.php,
include/functions_html.php: Moved pagination and print_help_tip to
functions_ui.php. Repeat id's are now fixed backwards compatible.
Also fixed a bug in print_select where type comparisons against would
fail since PHP evaluates strings to (int) 0
* include/functions_events.php: Added print_event_type_img () and altered
the other functions to work with it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: treport_content, changed report type to string to allow
new report types without altering DB schema. Added id_agent for supporting
reports based on agent ids. Tplugin new field for plugin type in order to
support generic Nagios plugins.
* pandoradb_migrate_20_to_21.sql: Updated with last changes.
* module_manager_editor_common.php: Removed some ugly labels :-)
* reporting_builder.php: New report (Agent detailed and grouped
event/alerts). Added support to add descriptions in each block.
* plugin.php: Support for new plugin type option.
* config_process.php: Build update.
* functions.php: Updated new report type.
* functions_db.php: Added support for new report type.
* functions_reporting.php: Fixed problem with enterprise. Added new function
to support new reports.
* events.php: Support for grouping events. Fixed graph problem. Added quick
search link to event fulltext.
* reporting_viewer.php: Added support for adding descriptions in each block.
Also show new report type.
* fgraph.php: Fixed problem in event graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1464 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Update build after last changes.
* operation/events/events.php: Now the legend is shown only if there are
events, just a cosmetic change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Added new feature: Group similar event by
showing the event and the total repeated times.
* operation/agentes/export_csv.php,
operation/agentes/exportdata.php: Fixed problems with old timestamp.
* operation/agentes/estado_monitores.php: Fixed link to module edition.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php, general/footer.php: Made it comply with standards
* general/main_menu.php: Fixed some typo's.
* include/javascript/jquery.pandora.js: This was loading an extension
that has a separate file already
* include/functions.php: Added process_page_head and process_page_body
these are callback functions for ob_start and add functionality like
conditional loading and external scripts in the correct places. Also adds
override functionality to certain items (like refresh) from anywhere
* include/javascript/time_en.js: Added as a placeholder
* extensions/update_manager.php: Fixed some typos
* operation/agentes/exportdata.php, operation/agentes/networkmap.php,
operation/events/events.php, operation/extensions.php,
operation/incidents/incident_detail.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
godmode/agentes/alert_manager.php,
godmode/agentes/module_manager_editor.php,
godmode/agentes/planned_downtime.php,
godmode/alerts/configure_alert_template.php,
godmode/alerts/configure_alert_action.php,
godmode/groups/configure_group.php, godmode/reporting/graph_builder.php,
godmode/reporting/map_builder.php, godmode/reporting/reporting_builder.php
godmode/snmpconsole/snmp_alert.php: Changed javascript, css and jquery
loading to the new buffer callback handlers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/mysql.php: Style correction on switch statements.
* include/functions_ui.php: Added a flag to
print_alert_template_example() to allow values replacement.
* include/functions_reporting.php: Fixed a notice message for
unitialized values.
* operation/events/events.php: get_users() result can not be passed
directly to print_select().
* pandoradb_migrate_20_to_21.sql: Style correction. Please, put each
alter table in a row so it can be easier to read.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Fixed several small errors. Now it looks
more similar on other browsers.
* operation/events/events.php: Fixed filter to use get_users ()
* reporting/fgraph.php: Fixed several issues with user graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Removed fields "timestamp" and "id_agente" (and altered
some indexes) on tagente_datos, tagente_datos_string and
tagente_datos_inc.
tagente_estado table: removed cambio, added status_changes, last_status.
tagente_modulo: added five new fields (warning,critical mgmt., flipflop
detection, history module and delete_pending bit.
* agent_manager.php: Group ALL not shown anymore.
* configurar_agente.php: Support for new options. Delete a module now
mark for deletion the module, not delete data (It's VERY slow!).
* modificar_agente.php: Delete agent now uses the global function,
minor fixes.
* module_manager_editor.php: New fields initializacion.
* module_manager_editor_network.php: At this time, the first module
editor who implements the new fields and improve old ones (tcp data).
* setup.php: Added support for new token: event_view_hr (Filter of max
old (in hr) for the event viewer. Removed old tokens show_unknown and
show_lastalert.
* functions.php: format_for_graph() has an important BUG that makes
all units rendered without the "K" !!!!. Fixed.
* delete_agent.php: Delete remote config (if present). Also mark
for deletion modules instead delete them (and let the data without
being deleted, because it's a HUGE consuming time, and it's left
for the daily db maintance process).
* estado_agente.php: Updated code for view new status.
* estado_generalagente.php: Total packets are removed from this view,
this was a huge time consuming SQL operation that don't give important
infomation. Groupname is now visualized.
* estado_ultimopaquete.php,
* estado_monitores.php,
* estado_grupo.php: Rewritten much code to view new status and other
minor changes.
* ver_agente.php: Data view now works under the tabs and other minor
changes.
* events.php: Support for the new events and status. Added filter for
username and for a max. hours old events. Some boxes are now hidden
by default.
* fgraph.php: Some graphs are now fixed and uses tagente_datos and
tagent_access with utimestamp and without id_agent index. Works faster
* images/*: Updated icons (module types) and two new bulb colors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Updated build, again due to the use of the new custom ID.
* reporting/fgraph2.php: Test for ezcomponents.
* operation/events/event_statistics.php: Use of fgraph2 if test var is
set in the URL. It uses ezComponents, that need to be installed.
This shows a 3D chart. Probably not will be used, but it's an idea
about how to improve graphs in pandora. To test, just add &test to the
event_statistics URL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/logon_ok.php, godmode/agentes/modificar_agente.php,
godmode/agentes/planned_downtime.php,
godmode/agentes/manage_recontask.php, godmode/setup/news.php,
operation/agentes/datos_agente.php, operation/agentes/estado_agente.php,
operation/agentes/status_events.php, operation/agentes/tactical.php,
operation/events/events.php, operation/incidents/incidents.php,
operation/incidents/incident_detail.php, operation/messages/message.php:
Function updates and new function definitions
* include/functions.php: safe_input used utf_decode which gives problems
with foreign chars since everything else is (or should be UTF-8) fixed.
format_datetime is no longer necessary - use print_timestamp for output.
Extended multibyte wrapper functions.
* include/functions_db.php: give_server_name is now get_server_name;
dame_so_name is now get_os_name; dame_so_icon is now print_os_icon;
show_icon_group is now print_group_icon; give_network_profile_name is now
get_networkprofile_name; smal_event_table is now print_events_table
* include/functions_events.php: print_events_table was moved here and
fixed. Now calculates the cutoff of event and agent text.
* include/functions_html.php: Added title to print_table function and
updated documentation. print_timestamp now uses the new function
definitions (array) and handles 0-dates better. print_group_icon and
print_os_icon added and extended. Added print_agent_name. This function
fixes issues that show up when cutting off agent names with multibyte char
* operation/servers/view_server.php: Rewrite with new functions
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* include/functions_db.php: Now if no event, table shows "no event" text.
Cosmetic table header change.
* operation/agentes/tactical.php: Solve warning if no servers defined.
Cosmetic table header change.
* operation/events/events.php: Change "error" class to "not found" class.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_view.php, godmode/snmpconsole/snmp_view.php:
Added legend to satisfy feature request #2204169. Also made filters
persistent
* operation/events/events.php: Usage of new function
* operation/agentes/ver_agente.php,
operation/agentes/estado_monitores.php: A bit of style update
Fixed bug where $intervalo actually came from index.php
* index.php: Put refresh in config (to prevent above bug)
* include/styles/pandora_width.css, include/styles/pandora_red.css,
include/styles/pandora_black.css, include/styles/pandora.css:
Update so you can use datos_<color> in other things than td
* include/functions_db.php: give_agentinterval is now get_agent_interval
* include/functions.php: Added get_priority_class to find background
color classes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/fgraph.php: Updated for some faster processing
and new functions.
* operation/events/events.php,
operation/agentes/estado_alertas,
include/functions_reporting.php,
godmode/reporting/reporting_bulder.php,
godmode/reporting/map_builder.php, godmode/db/db_info.php:
Function name updates
* include/functions_html.php: Small style update
* include/functions_db.php: get_agents_in_group is now
get_group_agents. Accepts array and specified case.
get_modules_in_agent is now get_agentmodules and accepts arrays
of agents as well as which details to select. Deprecated
dame_nombre_agente in favor of get_agent_name which accepts case.
Fixed get_agent_addresses for use in select boxes. Added filter
to get_agentmodule_count
* godmode/db/db_purge.php: Fixed queries and style updates
* godmode/agentes/configurar_agente.php: Fixed IP select box
* godmode/agentes/agent_manager.php: Style update and fixed a bug
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/incidents/incident_detail.php, incident.php: Update ACL's
to reflect IR rights instead of default AR
* operation/events/events.php: Updated style and html for new
functions. Fixes Bug #2267593
* index.php: Put REMOTE_ADDR in $config as well. It's easier to
globalize in functions.
* include/functions_reporting.php: Updated event_reporting to accept
any type of date. Style update. get_group_stats didn't need global
* include/functions_html.php: Updated print_table documentation with
pre-existing $table->id. Also added $table->headclass[] for classes
in headers
* include/functions_events.php: New-style function file to aggregate
events functions.
* include/functions_db.php: gime_idgroup_from_idevent is now in
functions_events.php as get_events_group. Renamed get_events_in_group
to get_group_events return_priority is now get_priority_name
* include/functions.php: Added safe_int function to clean up and remove
non-ints from either single values or arrays of values. Also has min
and max limiters. Added $pagination in lieu of $config["block_size"]
to pagination function. That way larger block sizes (eg in events)
will display correctly. Added strtotime on format_datetime
* godmode/db/db_event.php: After an ACL error, it's better to exit
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql, pandora_db.sql: id_npc was rendered unnecessary
with the last rewrite of the profiles page and id_np should really be
the key since that what we're selecting/sorting on.
* operation/events/events.php: Fixed Bug #2174790 and fixed the
brackets being in all the wrong places. Also added checks so that only
admins can retrieve system events
* include/functions_db.php: Added an option to get_user_groups so that
other privileges than AR can be retrieved.
* operation/visual_console/index.php: Added ACL check. Security issue
reported in bug #2174790
* operation/menu.php: Added ACL check. Security issue reported in bug
#2174790
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* events.php: Forced a shorten agent name to avoid layout problems.
Added a new combo to define a limit for pagination in event view.
--Esta línea y las que
están debajo serán ignoradas--
M ChangeLog
M operation/events/events.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/fgraph.php: Fixed bug where a graph wouldn't return
when free search was specified. Also made SQL safer against
attacks since fgraph can be accessed by anyone. This should be
fixed in later versions so there has to be no SQL query passed
* operation/events/events_rss.php: Made RSS feed better. Now you can
also pass a filter from events.php. Fixed direction of the links
* operation/events/events.php: Added a filter on agent name. Updated
for RSS feeds. Added filter on event id
* install.php: A little bit of automatic field filling. Corrected some
text for more correct English and update to the new URL specification
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting_pdf.php: Moved to contrib branch.
* install.php: Update sample of use for homeurl variable. This should
not contain HTTP:/x.x.x.x anymore.
* operation/events/events_rss.php: Makes use of homeurl in the
correct way.
* operation/agentes/estado_agente.php: Fixed a sprintf typo.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/fgraph.php: SQL passed wasn't being processed, so the graph
was off for grafico_eventos_group. Updated that and the whole
function. Simplified, it runs very fast now (practically no delay).
* operation/events/events.php: Description wasn't being added to the
audit log when deleting multiple items. Fixed
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmp/smp_console/snmp_view.php: Show substring in custom value, when the mouse is over data, it shows all the custom value. Cosmetic change.
* operation/events/events.php: Closed several html tags.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Updated the queries and fixed some minor
bugs with the event selections. Style changes.
* operation/agentes/networkmap.php: Style changes
* pandora2ast: Removed hidden swapfile
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* events_marquee.php: I forget to commit this file in my prev.
commit. This is a new file because I lost it :-(
* planned_downtime.php: It is LOST :(. I need to code from scratch,
probably this stuff don't see the light in weeks. Server code works.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@978 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
* 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
* 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_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
* include/functions_html.php: Added to repository. Implements HTML
functions.
* reporting/fgraph.php: Many style correction fixes, including those
regardings tabs and blank spaces, variable names and indentation
levels for checkings. Improved dame_fecha(). Added date support to
graphic_combined_module(), grafico_modulo_sparse(). The selection of
the graphic to show based on parameters has been replaced by a switch.
The parameters are parsed with get_parameter()
* include/functions_db.php: Style correction of tabs and blanks
spaces. Use Pandora database functions on simple querying functions
such as dame_perfil(), give_disabled_group(), dame_grupo(),
give_note_author(), dame_agente_id(), dame_agente_modulo_id() and many
more, there are a lot more to change. Function comprueba_admin()
renamed to check_admin (wrap created for old function). Added some
checks to get_db_value(), get_db_row() so the SQL is build based on
the parameter types. Added get_db_all_rows_sqlfree(),
get_db_all_rows_in_table(), get_db_all_rows_field_filter(),
get_db_all_fields_in_table(). Added date support to
return_moduledata_avg_value(), return_moduledata_max_value(),
return_moduledata_min_value(). Added function
return_moduledata_sum_value() to get the sum of the values in a
module.
* include/functions.php: If input is numeric on safe_input, do not
clean it, since it's safe by itself. Use mysql_escape_string() on
salida_sql(). Added get_report_types(), get_report_name(),
get_report_type_data_source() relatives to reports. Added also
is_module_data(), is_module_proc(), is_module_inc(),
is_module_data_string() to know if a module is from a type. Replaced
form_priority() with get_event_types() so the caller of this function
will print the select (using print_select).
* operation/events/events.php: Replaced form_priorit() with
get_event_types().
* ChangeLog: Tab style correction with previous commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@863 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
* 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
* 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
* include/functions_db.php: Insert_event is now capable to store events already validated.
* operation/events/events.php: Adjusted column width.
* operation/agentes/estado_alertas.php: Added additional ACL check. Now user is able to validate
(Cease) manually an alert (new feature).
* operation/agentes/ver_agente.php. Now user is able to validate (Cease) manually an alert
(new feature).
* operation/agentes/estado_generalagente.php: Render interval in human time insted in seconds.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@666 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
* 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
* 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