* include/styles/pandora_blackmetal.css: New style with custom headers
image (used for custom logo).
* include/styles/menu.css,
include/styles/pandora_red.css
include/styles/pandora_black.css
include/styles/pandora_width.css
include/styles/pandora.css: Improved old themes.
* include/functions_ui.php: Custom style CSS loads last, to allow rewrite
some CSS menu styles.
* install.php: Ask if want to DROP database if this exists. Show better
message about the created password. Don't drop database if not marked in
step #3.
* images/black_header.png: Image for blackmetal style.
* images/MiniLogoArtica.jpg: Image for blackmetal style.
* general/header.php: Some changes for style. Now displays OpenSource version
or Enterprise version depending of version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Update build after last changes.
* install.php: Added code to remove database if exists. This was removed
in a previous commit.
* images/console/icons/*.png: Updated some icons and added others.
* pandoradb_data.sql: Updated header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1685 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Show "None" if no server is assigned.
Fixes#2768723
* godmode/agentes/configurar_agente.php: Removed direct link to
farscap.artica.es server. Fixed group tab selection.
* godmode/alerts/alert_list.php: Fixed a notice when there are no agents.
Fixes#2786519.
* general/header.php: Fixed an error when updating agent configuration
which was showing all the config in the header. Should be improved for
other textarea fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/funtions_ui.php: Added get_full_url(). Some changes in
get_url_refresh() to make it more powerful. The URL is now optional
in pagination(). It's also possible to give the parameter name
of the offset so there could be more than one paginations now.
* operation/agentes/estado_agente.php,
general/header.php: Changes in get_url_refresh().
* godmode/agentes/massive_operations.php: Changed edit icon.
* godmode/agentes/module_manager.php: Enterprise API changes.
* godmode/agentes/module_manager_editor_network.php: Style corrections.
* include/styles/pandora.css: Added conf_error class to textarea
elements.
* include/functions.php: Added index_array(). Useful to manage database
results.
* include/functions_alerts.php: Cast some values to integer.
* operation/agentes/alerts_status.php: Removed offset parameters,
used default value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mac_osx/plugins/ipmi2xml/impi2xml.php,
linux/plugins/ipmi2xml/impi2xml.php: Updated for latest ipmitool
and works with Apple XServe "Nehalem". See blog post for adapting it
* mac_osx/plugins/ipmi2xml/README.txt,
linux/plugins/ipmi2xml/README.txt: Updated documentation for dependencies
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Reset server status at start-up in case the
server did not cleanly shut down the last time.
* bin/pandora_server: Fixed min_ff_event calculation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1676 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
* include/functions_agents.php: Added create_agent(),
* include/functions_db.php: Renamed dame_agente_id() to get_agent_id ().
Added process_sql_begin(), process_sql_rollback() and process_sql_commit()
and use MySQL functions directly because the Pandora cache was avoiding
more than one execution.
* include/functions_incidents.php, include/functions_messages.php,
godmode/agentes/massive_delete_agents.php,
godmode/agentes/massive_delete_alerts.php,
godmode/agentes/massive_delete_modules.php,
godmode/agentes/massive_edit_modules.php,
godmode/db/db_purge.php,
include/functions_events.php: Use new transaction functions.
* include/functions_modules.php: Sanitize some values. Added
create_agent_module_from_network_component(), create_agent_module()
and get_network_component().
* godmode/agentes/configurar_agente.php: Use get_agent_id() and transaction
functions.
* reporting/fgraph.php, operation/reporting/reporting_viewer.php: Use
get_agent_id().
* godmode/setup/file_manager.php: Removed unnecesary variable.
* operation/agentes/ver_agente.php: Replaced exit with return on ajax
operation.
* include/config_process.php: Updated build number.
* include/functions_network_profiles.php: Fixed documentation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1672 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
images/console/icons/light_ok.png, light.png,
light_warning.png, light_bad.png: Added to repository new
icons for the visual console, lights blinking.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Generate one event for each alert (instead
of one event for each action).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/Core.pm: Generate
an event when executing a SNMP alert. Small fixes.
* lib/PandoraFMS/ReconServer.pm: Enabled OS filtering.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/SNMPServer.pm: Add a newline character after
writing a trap to the SNMP log to make it more readable.
* lib/PandoraFMS/PluginServer.pm,
lib/PandoraFMS/ProducerConsumerServer.pm, lib/PandoraFMS/Server.pm,
lib/PandoraFMS/PredictionServer.pm, lib/PandoraFMS/Core.pm,
lib/PandoraFMS/DataServer.pm, lib/PandoraFMS/NetworkServer.pm,
lib/PandoraFMS/WMIServer.pm: Properly set tagente_estado.running_by.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php,
operation/reporting/graph_viewer.php, godmode/setup/news.php,
godmode/agentes/planned_downtime.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_nc_groups.php,
godmode/reporting/map_builder.php: Fixed strings to make them
standard for translation.
* include/languages/es.po, include/languages/es.mo: Updated Spanish
translation.
* include/languages/index.pot: Updated PO template.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Server.pm: Enabled thread status detection when
available.
* lib/PandoraFMS/Core.pm: Fixed module status calculation. Moved and
rewrote the old pandora_ping* functions. Small aesthetic fixes.
* lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/NetworkServer.pm: Use
the new pandora_ping* functions. The old functions were not thread
safe and had to lock.
* bin/pandora_server: Properly shutdown on error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Added get_url_refresh which gets the correct
url to refresh a page against instead of manually reconstructing for each
form. Modified process_page_head to use this new function
* general/header.php: Use of new function get_url_refresh. Fixes some
minor annoyances I had with this refresh when groups were selected with
a post
* ajax.php: Error message didn't display the right page name
* operation/agentes/estado_agente.php: Fixed bug #2770377
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/servers/view_server.php: New stats for server (threads,
modules in queue) and new render view (more useful and with tips in head).
* functions_db.php: Server info server[img] don't return "master" icon.
This icon is now stored in server[master_img].
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f