2013-07-17 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/configurar_agente.php: fixed the default value for
	"prediction_module" in tagente_module.
	
	* include/graphs/functions_flot.php,
	include/graphs/functions_pchart.php,
	include/graphs/functions_gd.php, include/graphs/functions_utils.php,
	include/javascript/pandora_alerts.js,
	include/javascript/pandora_modules.js,
	include/javascript/pandora_events.js,
	include/functions_network_components.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-07-17 11:12:37 +00:00
parent fdc49c33ad
commit 6eb071f615
10 changed files with 78 additions and 64 deletions

View File

@ -1,3 +1,16 @@
2013-07-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fixed the default value for
"prediction_module" in tagente_module.
* include/graphs/functions_flot.php,
include/graphs/functions_pchart.php,
include/graphs/functions_gd.php, include/graphs/functions_utils.php,
include/javascript/pandora_alerts.js,
include/javascript/pandora_modules.js,
include/javascript/pandora_events.js,
include/functions_network_components.php: cleaned source code style.
2013-07-17 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/status_monitor.php

View File

@ -741,7 +741,7 @@ if ($update_module || $create_module) {
// 1.23E-10 is 0.000000000123
$post_process = (string) get_parameter ('post_process', 0.0);
$prediction_module = 1;
$prediction_module = 0;
$max_timeout = (int) get_parameter ('max_timeout');
$max_retries = (int) get_parameter ('max_retries');
$min = (int) get_parameter_post ("min");

View File

@ -19,6 +19,7 @@ function parse_alert_command (command) {
function render_command_preview (original_command) {
$("#textarea_command_preview").text (parse_alert_command (original_command));
}
function render_command_description (command_description) {
if (command_description != '') {
command_description = '<br>'+command_description;