* extensions/agents_modules.php: Improved the agents/modules
matrix adding new filters, full screen mode, autorefresh
selection and links in the agents names and status squares.
For bug: 3051073
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php
extensions/agents_modules
extensions/agents_modules/icon_menu.png: Added new icon
to the matriz agents/modules extension
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php, extensions/module_groups.php: Use
"status" instead "state". Change the order of colours, to maintain
coherence with other pages. Few cosmetic and gramatical changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php: Added an agent group filter into
the agents/modules matrix and increased the size of the header to
read more letters from the module names
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php: Aligned vertically the modules
paginatiomn arrows in the agents/modules matrix
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php: Change the status of the agents (the first
column colors) to the status of the agent, not the worst module
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php: Improved the agents/modules matrix in
visual way and converting the horizontal module names in vertical images
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php: Fixed the horizontal
pagination to keep the vertical pagination when navigate
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php
operation/agentes/agents_modules_view.php
operation/menu.php: Moved the agents VS modules matrix from
menu to extensions
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/libupdate_manager_client.php: changed the
source code, now check the connection to server with a socket.
Fixes: #3004761
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/main.php: Show an error instead of
'updating...' if a non-enterprise user tries to update.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_agents.php
include/functions_db.php: Change the way of validate
the All group. Now the group All has id_group = 0
and is not on the database
* extensions/module_groups.php: Remove the All
group row from the table. Inprove the table style
* operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
operation/agentes/estado_agente.php
operation/agentes/exportdata.php
operation/agentes/networkmap.php
godmode/agentes/modificar_agente.php
godmode/agentes/planned_downtime.php: Changed the
All group on combos from 1 to 0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* (A lot of files): Updated include("config.php") and replaced
by global $config.
* functions_db.php, functions_html.php: Fixed way to get data
from the hash instead from the array.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2459 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
* pandoradb.sql: Changes in several tables and new tgroup_stat table.
Added several index and dropped some fields in tagente_datos and
tagente_datos_string tagent_access.
* godmode/setup/setup.php,
* include/functions_config.php: Management of new timezone settings and
realtime stats parameters.
* include/config_process.php: New timezone management. Updated build.
* pandoradb_data.sql: Build update. Added new tokens realtimestats and
stats_interval.
* install.php: Several changes: Now display GPL licence, better SQL error
management, and steps are shown now as text instead a progress bar. Also
show version and build of the installer.
* extensions/dbmanager.php: Removed some warnings
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Updated with latest changs.
* godmode/agentes/module_manager_editor_network.php
godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php: Implemented partial support for
SNMP v3. Miguel will finish the work :-)
* index.php: Session close function deprecated, replaced by a more standard
method with unset.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2338 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/Image/image_functions.php: PHP 5.2 and higher does
not support (deprecated) get_mimetype. Avoiding headers lets
the browser to decide contents of stream and now this works
on modern PHP, before not :(
* extensions/hello: Removed sample.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager/menu.png: New file
* extensions/dbmanager.php: Added icon. Added link to the db menu.
* extensions/pandora_logs.php, update_manager.php: Changed menu section.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/users/menu.png: New file
* extensions/users_connected.php : Added icon and changed menu section. Added new godmode function that allows the user to be edited.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/extensions/update_manager/load_updatemanager.php: add more
info (Pandora version and build) to statistics in update process.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/users_connected.php: New extension that shows
currently active users connected to console.
* extensions/pandora_logs.php: New extension that show to the
user the contents of main log files (console, and server logs)
only for Pandora administrators, of course.
* general/header.php: Removed text label, this give problems
on some languages and doesn't give needed information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: Modified description for XML_RPC.
* extensions/pdate_manager/lib/libupdate_manager_client.php:
Format error page if XML_PRC not found.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/module_groups.php: fix the style of page, adjust the with of
table of modules, and fix the description text that fail in panoramic style.
Fixes: 2866316
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/spinner.png, images/background-li.png: New images converted
from gif.
* *.php: Changed several files from spinner.gif to spinner.png.
* extensions/update_manager/settings.php: Changed header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/*.php: Changed title for all extensions, improving common
apparence. By the way... It's my brithday!!!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: change the "safe_input" for estandarize the input
and clean bugs for this cause. Now Pandora Console depends of 5.2.3 PHP
version or up.
* extensions/dbmanager.php: change the source code to use correctly the
"safe_input".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: COme back to non-persistent pconnect
who seems to raise some "MySQL has gone away" in PHP 5.3.x
* extensions/update_manager/sql/update_manager.sql: Updated update
manager URL to point 3.0 version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/plugin_registration.php: Added two new parameter
(pre command and post command to ini parsing).
* general/header.php: Page looks ugly at 1024x because header width,
fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: add external Module group "Not assigned"
because there are modules with this module group as agent software.
* extensions/module_groups.php: fix bug that the count are very wrong. And
add the link to Full list of monitors with filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/module_groups, extensions/module_groups/icon_menu.png,
extensions/module_groups.php: add extension to show table of modules where
the columns is the modules group and the rows is the agents group. And
this extension use as example in wiki openideas.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: add comments for more readable.
* include/functions_extensions.php, extensions/update_manager.php,
extensions/hello, extensions/hello/icon.png, extensions/hello.php,
operation/menu.php, godmode/menu.php: change the mecanic to add extensions
into menu, now you can add extension with icon and into the submenu in any
position of submenu. Change the example "hello" for to show as be.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1885 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager.php: Code cleanup, making it easier an without
unneded loops. Added error message support when querying.
* extensions/dbmanager/dbmanager.css: Use CSS inheritance for cells and
header of the table.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager.php: Fixed problems with quotes.
* operation/agentes/status_monitor.php: Used module_interval insted deprecated
tagente_estado.current_interval.
* operation/agentes/estado_grupo.php: Same as above.
* operation/agentes/estado_monitores.php: same as above.
* godmode/agentes/module_manager.php: Uses new server_type field instead old
server fields.
* godmode/agentes/configurar_agente.php: Added tab in godmode/edit agent
to go to a filtered list view per groups from the agent edit view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager*: New extensions to interface with Pandora database
using native SQL syntax. Only for administrator (Godmode extension).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Final DB changes proposed for closing this month the DB
scheme. tagente-> new server_name field to assign server (old fields will
be removed). talert_templates has two new types (warning, critical).
tevento has "user_comment" new field. Tserver has three new fields,
server_type (so some old fields will be deleted), threads and queued_modules
this last two are for statistical options. Tusuario add language type to
override global language.
* update_manager/main.php: Minor changes for correct ACL usage. Non PM
users could see in what revision it the system, but only that.
* pandoradb_migrate_v2.x_to_v3.0.sql: Updated script for new DB changes.
* general/noaccess.php: Added footer and ending div. Page was very ugly
when showing noaccess errors, nobody see it ???.
* godmode/menu.php: A LOT of ACL fixes on several options.
* godmode/agentes/agent_manager.php: Fixed a crazy floating icon.
* godmode/agentes/manage_config_remote.php: A LOT of changes, rewriting
stuff, because was not working. This also adds a lot of ACL checks.
* godmode/agentes/massive_config.php, massive*: ACL changes.
* godmode/agentes/modificar_agente.php: Fixed ACL problems.
* godmode/agentes/module_manager_editor.php: Fixed bad module categories for
some types (data, plugin and prediction).
* godmode/alerts/alert_list.php: Fixed ACL problem.
* godmode/reporting/graph_builder.php: Added ACl restriction for
non-viewable agents for current user. Seems to be a problem with data
with more than 2 sources.
* godmode/reporting/map_builder.php: ACL checks improved.
* godmode/reporting/reporting_builder.php: ACL checks added (was missing),
some code ported from 2.1, other is new. New fields shown in list.
* include/functions.php: Fixed the annoying bug of "bad counters" in
function human_time_description_raw(). Function used,format_numeric() should
not be used never to calculate nothing, only to print formatted strings.
* include/functions_db.php: Added function user_access_to_agent() to know
if a given user has access to a given agent.
* include/functioins_report.php: get_report() should let admin to watch any
report. Fixed.
* agentes/alerts_status.php: Fixed ACL problem for view alert.
* operation/incidents/incident.php: Bad call for pagination() was giving
problems to pagination call. Somebody changes pagination() interface and
make this broken. Please if you change any interface, be sure that is compatible
with old code or make a post in the list about this !
* godmode/users/user_edit.php: Additional ACL check to do not let anybody
to watch non accesible users. Even for see the username or description.
* reporting/pchart_graph.php:Progress bar shown text in white when > 60%.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1594 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