* include/functions_modules.php: in the function "create_agent_module" add
new parameter $disableACL (by default false) for use in API.
* include/functions_api.php: add new functions for add new features to
api, functions: "set_new_agent" create agent, "set_delete_agent"
delete agent, "set_create_network_module" create network module,
"get_module_data" get module data as CSV format in a period time,
"get_graph_module_data" get a image file of module data in a period time.
* include/functions_db.php: in function "delete_agent" add new parameter
$disableACL (by default false) for use in API for example.
* operation/agentes/datos_agente.php: clean source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2170 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
* operation/agentes/datos_agente.php: add a select box for select chunck to
time to show data of agent module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: Names and description
was cutted and not shown as popup description. Fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2163 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
* images/pandora.png, pandora_logo.jpg: Deleted old files.
* images/image_problem: Change background with new logo
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: fix the bug when you have a large,
very large list of data of module. And add the pagination.
Fixes: 2908241
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Modified style for 3.0
* images/pandora_textlogo.png,
images/pandora_header_logo_enterprise.png,
images/custom_logo/none.png
images/custom_logo/sourceforge.png
images/custom_logo/artica_logo.png
images/header.jpg
images/pandora_header_logo.png
images/pandora_logo.png: New logos and background for 3.0 style.
* general/login_page.php: Updated style.
* general/logon_ok.php: Removed small bug in the audit log block.
* general/header.php: Pandora logo is now in left, and custom logo
at right.
* include/functions_config.php: By default custom logo is "none"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_templates.php: use the function to translate the
seconds time to "human time" for time threshold.
Fixes: 2905968
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_ultimopaquete.php: fix the column of data with
a empty module string.
Fixes: 2881181
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: tiny fix the text for select all
modules in select box.
Fixes: 2897433
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2152 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
* include/functions_alerts.php: fix the select box of correlation alerts,
now it has the XOR operation.
Fixes: 2849260
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2150 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
* include/functions_reporting.php: SLA readjust to be used in SLA view.
* include/config_process.php,
* include/functions_config.php: Added support for custom_logo option.
* include/help/en/help_agent_access.php,
include/help/en/help_custom_logo.php: New help topics.
* include/functions_agents.php: Replaced audit_db with pandora_audit().
* include/functions_db.php: pandora_audit() will replace audit_db().
* operation/agentes/sla_view.php: now show render ok modules with min_critical
defined and uses to calculate automatically a SLA based on it's critical
definition.
* operation/messages/message.php: Message view was not working!. Fixed
* Some new images added:
images/people_2.png
images/MiniLogoArtica.jpg
images/pandora_header_logo_enterprise.png
images/custom_logo
images/custom_logo/sourceforge.png
images/custom_logo/artica_logo.png
images/custom_logo/pandora_logo_head.png
images/pandora_header_logo.png
images/people_1.png:
* general/header.php: Changes to add new custom logo feature and replace
logos with a image instead text.
* godmode/setup/setup_visuals.php: now is possible to choose a custom logo
to be displayed in header.
*operation/agentes/ver_agente.php,
* godmode/agentes/configurar_agente.php: Tabs do not have text at sides. This
avoid problems in other languages different than english with long text strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: added new parameter for order the result of
query, $orderby.
* operation/agentes/alerts_status.php, godmode/alerts/alert_list.php: use
new parameter to order by module name.
Fixes: 2902603
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: fix deletion of compound alerts in the
function "delete_alert_agent_module".
Fixes: 2902618
* godmode/agentes/configurar_agente.php: use the "delete_alert_agent_module"
instead the sql method.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: fix now don't show alerts with
delete pending modules.
* index.php: clean source code, end return that show in browser.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/plugin.php, godmode/reporting/map_builder.php,
godmode/profiles/profile_list.php, godmode/reporting/map_builder_wizard.php,
godmode/agentes/module_manager.php, godmode/agentes/planned_downtime.php:
Better use of icons in creating components, improving appearance.
* DEBIAN/make_deb_package.sh: Changed version string from rc2 to RC3.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php: User section has no ACL check, always can be seen.
* index.php: Added suppor for user-defined custom language (this code was
on my disk for 3 months, pending to be commited!).
* include/functions_db.php,
* include/functions_agents.php,
* godmode/alerts/alert_list.php,
* godmode/agentes/modificar_agente.php,
* godmode/agentes/configurar_agente.php: Added audit calls to several
management operations who don't have or have insufficient audit info.
* godmode/users/configure_user.php: Fixed several annoyings bugs. Added
custom language support, and added more audit info on management operations.
* godmode/users/user_list.php: More audit info.
* include/config_process.php: Add new debug option to render error log to
/pandora_console.log. Also set timezone if not defined (this makes warnings
on several PHP 5.x setups). Added user custom language support.
* include/functions_events.php: More audit info. Fixed problems with HTML
encoding render.
* functions_io.php: Some cleaning.
* include/functions_messages.php: Fixed problems with HTML
encoding render.
* functions_ui.php: Fixed problems with HTML encoding render in
print_string_substr() function.
* auth/mysql.php: is_user_admin() functions seems to be broken ¿?¿!. Fixed.
* styles/pandora.css: removed green colored left border in default style.
* message.php, incident*: Fixed problems with HTML encoding render.
* user.php: Better ACL check before let user to view/edit another user.
* user_edit: Removed some un-used form fields, some arrangements in layout,
and FIXED forever problems with password change (new code written).
* users/user_statistics.php: Now user can see its own audit records.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: add disabled parameter in functions,
"print_input_password" and "print_checkbox".
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php: check the module is in
any policy and disable some form fields.
Fixes: 2902631
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: add more values into function
"get_alert_template_threshold_values", values as 1 week, 2 weeks, 1 month
and 6 months.
* godmode/alerts/configure_alert_template.php: change the default value
to 1 day.
Fixes: 2902458
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: fix the bug in the pagination that write wrong
the url of pages.
Fixes: 2903774
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: fix the what interval to check in
the monitor.
Fixes: 2902446
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: fix bug that the url content "//" in
cases for example install in root of www directory. Only fix in this part
of source code because the rest of sources run fine.
Fixes: 2903005
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: clean source code, the blank end line in the end of document
and show in the browser too.
* include/functions_ui.php, operation/agentes/alerts_status.php: add new
colummn, the action column that it show the actions of alert.
* godmode/alerts/alert_templates.php: add the 'Time threshold' in the
tooltip.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: fix the deletion of module in the function
"delete_agent_module" for change the name to avoid the row collision. This
change is advised by Sancho lerena.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php, include/functions.php: change and add functions
for manage the input output with correct encoding and decoding.
*include/functions_html.php, include/functions_ui.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php: change the function "salida_limpia"
for "safe_output" and other changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2128 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
* 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
* 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
* godmode/modules/manage_network_components_form_plugin.php: tiny fix in the
size of field "plugin_parameter".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2118 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
* godmode/reporting/reporting_builder.php,
godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: fix the
bug that show the modules "pending delete" in more select box in some forms.
Fixes: 2894921
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_sanity.php: fix typo error there was one "zero" more in
query SQL.
Fixes: 2895298
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: fix the web module, change the
field to save the request retry.
* godmode/agentes/configurar_agente.php: change the query for tactical view
the counts of modules before count the disabled modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console.spec: Fixed small problem with .spec
* DEBIAN/control: Edited package description.
* DEBIAN/make_deb_package.sh: Several changes, deletion and copy
of files and .svn are not made with cp and xargs | rm: Faster.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2100 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
* operation/servers/view_server_detail.php: Change title to show the
father section and some added texts.
* include/help/en/help_*.php: Several language fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/tactical.php, general/logon_ok.php: Use the same
order for summary, use the same colors (some from tango palette) in both
files.
* images/status_sets/default/server_ok.png: Use the same colour as the
other OK status images (from tango palette).
* DEBIAN/make_deb_package.sh: Improved english texts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_view.php: fix and optimize the query to traps
in DB, because the old style didn't run with paginator and it was slow with
much traps registers.
* operation/agentes/status_monitor.php,
godmode/alerts/configure_alert_compound.php: little fix arround the code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control: fix dependencies, not necesary mysql-server, because the
mysql can install in another machine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2086 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh: Small change from rc1 to rc2.
* Changelog: Added this line to my last commit :-D
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/snmpconsole/snmp_alert.php: An agent, OID and custom OID may
be specified at the same time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/alerts_status.php: different colour for table header.
* operation/agentes/tactical.php: Use red colour from tango palette.
* godmode/alerts/alert_lists.php, godmode/alerts/alert_compounds.php,
godmode/alerts/configure_alerts.php: Added text if no alerts defined.
* Changelog: Added missed change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: fix notice alert php describe in the
tracker of sourceforge.
* godmode/alerts/alert_compounds.php: fix the SQL query bug in PHP when
load this page without agent in Pandora.
Fixes: 2891215
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php: fix the size of field
"Plugin parameters".
Fixes: 2888996
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh: move the script to make the deb package into
the DEBIAN and change some things into the sourcecode for the directory
change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/configure*.php: Improving integrity of
appareance in title.
* godmode/alerts/alert_actions.php, godmode/alerts/alert_templates.php:
Added text if no action, list or template defined.
* godmode/alerts/alert_list.php: Small fix
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Updated build/version.
* pandora_console.spec: Updated to release 2; preparing the rc2.
* godmode/agentes/module_manager.php: Fixed a small problem, don't allow
to create network modules if not have the snmpconsole due a bad SQL. Fixed.
* include/api.php: Removed ending line.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fix the tiny bug that not set the default
separator in function "get_tree_agents".
* godmode/reporting/reporting_builder.php: fix the bug that don't change the
select box of module.
Fixes: 2888988
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst, DEBIAN/prerm,
DEBIAN/conffiles: sorry, I had the permissions to directory DEBIAN not
"755" and in the previus commit don't upload.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst: debian base files for
to make a .deb package.
* make_deb_package.sh: shell script for make automatically the debs packages
for standard installation in a Debian Lenny, this script make two packages
"pandorafms.console_3.0.0.rc1.deb" and "php-xml-rpc_1.5.2-1_all.deb" the
rest of packages dependencies is in official Debian repositories.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: add in the function "isInACL" the posibility
to no filter if set in ACL the character "*".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/agentes/module_manager_editor.php: fix the
bug in when create a module manually in open versión of Pandora Console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/functions_api.php,
pandora_console/include/api.php: new feature, API to call by format url for
values or CSV list of values to connect Pandora with your or other
aplications. Please see the wiki for more information.
* pandora_console/include/functions_agents.php,
pandora_console/godmode/setup/setup.php: add the field ACL IP list for
access API and change the function "update_config_value" for divide in
chunks the list of IPs and save in serveral rows (if necesary). And change
the function "process_config" to paste the chunks of rows in one config
item.
* pandora_console/include/functions_config.php,
pandora_console/include/functions_db.php: changes for engage the
API with Pandora Console. The function "get_agent_alerts_simple" add
parammeter "allModules" return all modules (disabled and enabled). The
function "get_group_agents" add the parameter "noACL" for engage the API
call.
* pandora_console/godmode/agentes/agent_manager.php: fix typo and ident
source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/operation/agentes/exportdata.php: fix the export data
the order of dates were wrong.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: add param "style" in the function
"print_agent_name" for set the css style in the agent name return html
string.
Add in the "format_alert_row" the features: show icon policy from
enterprise and css grey disabled alert.
*include/functions_agents.php: add in the function "get_agent_alerts_simple"
and the function "get_agent_alerts_compound" the search "filter" param
posibility "all_enabled".
* operation/agentes/alerts_status, godmode/alerts/alert_list.php: add the
show rows of disabled alert, and add the select the "all (enabled)" (by
default show only alerts enabled). And add the icon of policy in the
enterprise version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
RC1 Release
* include/help/en/help_ff_threshold.php: Added missing help topic.
* general/error_perms.php, general/error_install.php: Removed print of
version, don't know this variable at this point.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/operation/menu.php,
pandora_console/godmode/reporting/graphs.php,
pandora_console/godmode/reporting/graph_builder.php: clean debug trace
functions.
* pandora_console/godmode/agentes/module_manager.php,
pandora_console/godmode/alerts/alert_list.php: add the enterprise column
that it has a icon when the alert or module is make for policy.
* pandora_console/godmode/agentes/agent_manager.php: fix bug that when
create a new agent and in the md5 dir has a file with the next name
d41d8cd98f00b204e9800998ecf8427e, that name is a md5 of empty string. When
you has this file, the form take as conf file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php,
include/functions_fsgraph.php: Solves a small problem with Flash graphs
when pandora fms console install dir is "/".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed bug #2859919 (Transaction lock timeout).
* include/error*: Fixed a formatting error and added better error
message when mysql is up but credentials doesn't work.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_custom_graphs.php, operation/reporting/graph_viewer.php,
godmode/reporting/graphs.php, godmode/reporting/graph_builder.php,
godmode/menu.php: change the process to create graphs, now you can edit
all parts of any grahps (edit, delete, add..) and has a list of graphs.
Start to add ACL in graphs...only pending test.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: set default action in alert combo box when
you make a new alert.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Update build after last changes.
* godmode/agentes/planned_downtime*.php: Improving integrity of
appareance in title.
* Changelog: Correct some dates.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js,
godmode/agentes/module_manager_editor.php: add the type as parse in the
module data in the local component, in the ajax (request in php and load
in js).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: fix, show only monitor in unknow
status when you click in the "Unknown monitors" in tactical agent view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/ui/agents_list.php: remove the pass-by-reference in the two calls
to "render_agent_field" because it are not necesary that in the function
"render_agent_field" there aren't any change in the $agent param.
* include/styles/pandora.css: fix minor bug that the path to arrow.png was
wrong.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2020 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
Upps, Tuesday #13, bad day for a last commit before launch RC1 ! :-S
* general/logon_ok.php: Fixed ugly format of table showing last activity
(has a too wide table width).
* godmode/admin_access_logs.php: Removed that crappy div fashion code and
replaced by old and reliable table-based-code :-) to fix the mess with the
pagination.
* godmode/agentes/configurar_agente.php: fixed problem with postprocess
values very bug (like 0.0000000123), parameter is now passed as string
because PHP is passing the value as scientific notation and mYsql don't
understand that.
* operation/agentes/exportdata.php,
* operation/search_results.php,
* godmode/reporting/map_builder.php,
* godmode/agentes/agent_manager.php,
* godmode/reporting/graph_builder.php,
* godmode/agentes/modificar_agente.php: Added non-case search SQL code for make
agent searches non case sensitive (nombre COLLATE utf8_general_ci LIKE...)
* module_manager_editor_common.php: More size for postprocess field.
* pandora_console/godmode/alerts/configure_alert_action.php: More width for
field2 in action form.
* godmode/alerts/configure_alert_command.php: Command field has more width
and added a help icon for macro subtitutions.
* include/functions_db.php: get_agent_name() now defaults to non uppercase
the agent names, because 3.0 has case sensitive agent names, and all
data must show the real Case.
* include/styles/pandora.css: removed uppercase transition for menu items
and agent tabs.
* operation/agentes/estado_agente.php: Agent is not shown in uppercase
anymore.
* operation/agentes/estado_generalagente.php: Agent name and parent name
is not in uppercase. OS version shows only last 15 characters or full string
if strlen() < 15.
* operation/agentes/status_monitor.php: Agent name is not in uppercase
anymore.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php,
include/functions_incidents.php,
operation/incidents/incident_detail.php: Security related fixes.
Thanks to ~finalbeta and ~remove from the Global-Evolution Security
Group.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2012 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/agentes/estado_generalagente.php,
operation/agentes/estado_agente.php: change the intervals, and use the
new function "getNextAgentContact" for interval in agent view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: add the function "getNextAgentContact"
that return the percentage of time for next contanct of agent (pass as
id_agent).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/stat_win.php: fix the jquery lost in the last query, fix
the auto-refresh graph, fix z-index level for calendar and fix the set begin
data for graph.
Fixes: 2857280
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: change the textbox interval for
"print_extended_select_for_time" widget.
* include/styles/pandora_minimal.css, operation/agentes/stat_win.php: change
the period widget for "print_extended_select_for_time" too, and change
the css for enlarge the float menu for new item.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: add "exactly" param to "human_time_description_raw"
for return the time in time fractions as example "1 day 23:23:2".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: add new function for add extend widget
"print_extended_select_for_time", that write a two html control a
select and textbox and scripting for interconet twice components and
when change the textbox and save add the value in select and when
change the selected put in textbox.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: Solved ticks in X label for boolean graphs.
* operation/agentes/datos_agente.php: Show absolute timestamp and
data with format_numeric() filter.
* operation/agentes/estado_monitores.php: Solved typo.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/reporting/reporting_builder.php: change the
agent select html for ajax autocomplete ajax. Fix in part the bug
#2870769, exactly 1º paragraph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/alerts/alert_list.php: fix small bug that throw
notice message for a array uninitialize.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_mod, include/javascript/pandora.js: cleanup
the sourcecode and add more funcionality to funciton "html_entity_decode".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_mod, include/javascript/pandora.js: cleanup
the sourcecode and add more funcionality to funciton "html_entity_decode".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Added id_group to talert_action, talert_templates and
tplanned_downtime to be able to segregate all pandora functions for
different groups/users. Need to implement in interface code.
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Updated migration script
for latest SQL changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Postprocess field
is now bigger.
* godmode/servers/manage_export_form.php: Export servers was incorrectly
assigned. Fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php: change the duplicate
method and delete method, before it's a form with post and now it's a
link with get.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: add the feature to delete remote
conf file in the agent configuration.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fix the delete the conf and md5 files of agent
to delete, before try delete conf and md5 files with name in uppercase.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: add checkbox to multiple delete
modules in agent managent. And add class style css for disabled modules.
* include/styles/pandora_minimal.css, include/styles/pandora_red.css,
include/styles/pandora.css: Add "disabled_module" class for use this style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/operation/agentes/datos_agente.php: Data in dataview
must be complete data, not "rounded" data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_network_components.php,
godmode/modules/manage_network_components.php: add icon duplicate (and
necesary code...functions), that it's use for duplicate with easy the local
components.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: more changes to schema :(. Added id_group to custom graph
* pandoradb_data.sql: Updated build number of DB schema,
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new field for upgrade
script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: change the function "update_agent_module"
for to add the update only that not delete pending.
* godmode/agentes/massive_edit_modules.php: fix form to set disabled and
history data as select box instead checkbox that this had bug because
it was disabled didn't set false or true in db.
Fixes: 2860987
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/reporting/map_builder.php: fix small bug when
there are'nt any elements in the map and it try loop foearch.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/functions_events.php: fix the insert event,
before Pandora console inserted timestamp as string timestamp, now Pandora
console insert the event with clean and numeric unix timestamp.
* pandora_console/include/functions_alerts.php: cleanup the sourcecode.
Fixes: 2854087
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php, godmode/alerts/alert_list.php: fix
bug when there aren't not defined or attach action in template alert. Before
it was showing the loading ajax gif, now it show the select box with none.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php, include/functions_agents.php: cleanup
sourcecode, and important optimize, because the old querys was very huge
when the query have consult with all agent ids. That affect when login
as admin into Pandora Console in systems with few resources (more or
less 1Gb RAM in a desktop computer).
* include/functions_db.php: add function "isAllGroups" that test if the
array pass as parameter is all groups in DB, and return true o false. And
cleanup source code.
Fixes: 2824327
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_alerts.js: fix the id for access to jquery
in the field3.
* godmode/alerts/configure_alert_action.php: fix the id for access to jquery
in the event keyup.
Fixes: 2845692
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: add function "get_db_value_sql" for use in
alert_list.php and in futures uses. This function returns the first column
and first row from a query pass as parameters.
* godmode/alerts/alert_list.php: fix bug that you can't add new alerts.
Fixes: 2859264
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: change the method for test if a
module is a numeric, and can normalize. Now obtain the ids from modules tipe
that it's not proc or string, and this ids use to test.
Fixes: 2849325
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: change (at the moment) the ajax for
delete elements by html static form with select, because sometimes (when you
try delete elements with bigger dimensions fail).
Fixes: 2815063
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1941 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: fix the pagination when it has
a search, and fix the pagination and delete element in the page.
Fixes: 2857846
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1939 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/exportdata.php, godmode/agentes/agent_manager.php,
godmode/reporting/map_builder.php, godmode/reporting/graph_builder.php,
godmode/alerts/alert_list.php: fix the bug that the div of autocomplete
don't show.
Fixes: 2856945
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/error_dbconfig.php,
general/error_authconfig.php
general/error_emptyconfig.php: Error messages have it's own page.
* config_process.php, functions_config.php: Removed "inline" error pages,
and moved out. Auto_update is not set to ON if not present, just once, and
this is managed by extension itself.
* functions.php: Added function "return_graphtype" to calculate graphtype
depending on id_module_type.
* styles/install.css: Some style fixes.
* operation/agentes/estado_monitores.php: Some code cleanup using the new
function to get graphtype.
* operation/agentes/estado_ultimopaquete.php: Some code cleanup with the
new function to get graphtype and fixed a bug in data timestamp calculation.
* operation/agentes/status_monitor.php: monitor list now show quick links
to graph and show latest data, like the main agent view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1935 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
* godmode/agentes/configurar_agente.php: fix bug for character "`" in
name also in description, translate to html entitie.
Fixes: 2838129
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: fix bug in "Alerts » Manage alerts" when
you choose the agent the module select did'nt change to enable.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f