* 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
* include/languages/es.po, include/languages/es.mo: Updated
Spanish translation.
* include/languages/index.pot: Updated po template.
* godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_plugin.php: moved an
assigned translatable string down to avoid error at language
compilation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor_data.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager.php: Some fixes to allow form
reutilization.
* include/javascript/jquery.pandora.controls.js: Fixed a typo. Added
pandoraSelectGroup control.
* include/javascript/jquery.pandora.js: Separate between auto executed code
and document ready function.
* include/javascript/pandora_modules.js: Added to repository. Functions to
use on module editors.
* include/functions_agents.php: Added get_agents().
* include/functions_db.php: Added get_user_first_group(). Changed
user_access_to_agent() parameters order.
* include/functions_reporting.php: Style corrections.
* include/functions_ui.php: Added doc to print_status_image(). Added
print_ui_agents_list() to print a list of agents with a search form and
a lot of configuration options easily.
* include/functions_ui_renders.php: Added to repository. New API for
renders on UI components.
* operation/agentes/estado_agente.php: Make table wider.
* godmode/reporting/reporting_builder.php: Replaced exit with return. Use
pandoraSelectGroup control.
* godmode/servers/manage_recontask_form.php: Style corrections to fit
Pandora styles.
* godmode/servers/modificar_server.php: Removed a notice from a typo.
* godmode/setup/setup.php: Fixed table data indexes. Removed javascript
code from visual setup.
* godmode/setup/setup_visuals.php: Some strings changed. Style correction.
* godmode/menu.php: Added policies enterprise menu option.
* images/policies.png: Added to repository.
* godmode/agentes/modificar_agente.php: Style correction by using pandora
functions.
* godmode/agentes/massive_operations.php: Fixed tab styles that was showing
wrong the .
* godmode/agentes/manage_config_remote.php: Changes in
user_access_to_agent()
* general/ui/agents_list.php: Added to repository. Reusable render for an
agent list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/ReconServer.pm: Temporarily disabled TCP scans, the
Recon Server was too slow. Fixed a bug that reset recon tasks
when scanning large networks.
* lib/PandoraFMS/DataServer.pm: Small fix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Altered order of agent icon
status (unknown shown after waerning and critical, not before)
* operation/agentes/estado_generalagente.php: Agent group is
not shown twice.
* operation/agentes/estado_agente.php: module status count shown
only when > 0.
* operation/agentes/estado_monitores.php: Dont show module type.
* godmode/agentes/module_manager.php: Show icon of non-init module
in godmode view, to easily identify non-init modules.
* godmode/servers/manage_recontask_form.php: Fixed server assigment
on recon task.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Properly set
module interval when auto-creating modules.
* lib/PandoraFMS/NetworkServer.pm: Disabled error messages from
snmpget. The logs where flooded with timeout messages.
* util/pandora_db.pl: Updated to work with the new code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/ProducerConsumerServer.pm: Important fix. Queued
elements were processed in the wrong order.
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
lib/PandoraFMS/DataServer.pm: Updated pandora_create_agent to
reflect the latest changes. Some fixes to Recon Server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/ReconServer.pm: Fixed a typo that made the server go
down.
* bin/pandora_server: Prevent alarm from bombing the main thread when
called within a thread.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_ctl, pandora_network, pandora_wmi, pandora_plugin,
pandora_prediction, bin/pandora_wmi, bin/pandora_plugin,
bin/pandora_prediction, bin/pandora_snmpconsole, bin/pandora_recon,
bin/pandora_network, pandora_recon, pandora_snmpconsole: Deleted
from repository. Old server code and startup scripts.
* Makefile.PL, pandora_server_installer, lib/PandoraFMS/Config.pm
lib/PandoraFMS/DB.pm, lib/PandoraFMS/Tools.pm, bin/pandora_server,
pandora_package_installer, pandora_server: Updated to work with the
new code, removed unneeded dependencies, fixed some bugs etc.
* lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/PluginServer.pm,
lib/PandoraFMS/ProducerConsumerServer.pm, lib/PandoraFMS/Server.pm,
lib/PandoraFMS/PredictionServer.pm, lib/PandoraFMS/Core.pm,
lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/DataServer.pm,
lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/WMIServer.pm: Added
to repository. New server code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/htmlawed.php: HTML cleaner-upper. If compact_header is set will
actually strip the HTML for less bandwidth usage.
* include/functions_ui.php: If compact_header is set, it will strip
whitespace out of the included files
* include/functions_config.php, godmode/setup/setup_visuals.php,
godmode/setup/setup.php: Made checkboxes into radioboxes. Split
files were resetting the values every time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/networkmap.php: Added support for group filtering
and node navigation (clicking on the edges).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Fixed an error when an agent was
created without name. Added support for new server assignment via server
name instead of lot of comboboxes. Added os preview.
* godmode/agentes/configurar_agente.php: Added support for new server
assignment via server name. Do not show tabs on creation mode. Some
translatable strings replaced with common ones.
* godmode/agentes/modificar_agente.php: Use Pandora agents.
* godmode/modules/manage_nc_groups.php,
godmode/setup/news.php,
godmode/modules/manage_network_components.php,
godmode/reporting/map_builder.php,
godmode/agentes/planned_downtime.php: Some translatable strings replaced
with common ones.
* godmode/servers/modificar_server.php: Updated to changes in tserver. Use
get_server_info() for that.
* include/functions_db.php: Updated to changes in tserver about
server_type field on get_server_info(). Style correction.
* include/functions_servers.php: Added to repository. Servers API.
* operation/servers/view_server.php: Style correction.
* extras/pandoradb_migrate_v2.x_to_v3.0.sql, pandoradb.sql: Less space on
server_name field on tagente.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/console/background/white_boxed.jpg,
images/console/background/white_boxed2.jpg: Added/modified one
background for the maps.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Added get_agent_module_info which gives
valuable information that can be re-used and expanded
* include/functions_events.php, include/functions_ui.php: The chunk_split
only works with set width removed for wide css. General cleanup
* include/functions_db.php: get_group_agents allows search now
* include/styles/pandora_width.css, include/styles/pandora.css,
include/styles/menu.css: The menu for the agent editor is now even with the
operation menu and also takes up the whole width
* operation/agentes/tactical.php: Changed for width. Now takes up the wide
* operation/agentes/estado_agente.php: Rewritten. Now outputs variable
width table and is cleaner
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f