diff --git a/pandora_agents/pc/AIX/pandora_agent.conf b/pandora_agents/pc/AIX/pandora_agent.conf index 1d5368fee9..af9d4f6f3d 100644 --- a/pandora_agents/pc/AIX/pandora_agent.conf +++ b/pandora_agents/pc/AIX/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, AIX version +# Version 6.0RC1, AIX version # Licensed under GPL license v2, # Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/pc/FreeBSD/pandora_agent.conf b/pandora_agents/pc/FreeBSD/pandora_agent.conf index 4a9bf0cac4..4425b76bfa 100644 --- a/pandora_agents/pc/FreeBSD/pandora_agent.conf +++ b/pandora_agents/pc/FreeBSD/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, FreeBSD Version +# Version 6.0RC1, FreeBSD Version # Licensed under GPL license v2, # Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/pc/HP-UX/pandora_agent.conf b/pandora_agents/pc/HP-UX/pandora_agent.conf index 607ccb2094..935d3b2c19 100644 --- a/pandora_agents/pc/HP-UX/pandora_agent.conf +++ b/pandora_agents/pc/HP-UX/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, HP-UX Version +# Version 6.0RC1, HP-UX Version # Licensed under GPL license v2, # Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/pc/Linux/pandora_agent.conf b/pandora_agents/pc/Linux/pandora_agent.conf index 284f425210..300db5e7eb 100644 --- a/pandora_agents/pc/Linux/pandora_agent.conf +++ b/pandora_agents/pc/Linux/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, GNU/Linux +# Version 6.0RC1, GNU/Linux # Licensed under GPL license v2, # Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/pc/NT4/pandora_agent.conf b/pandora_agents/pc/NT4/pandora_agent.conf index 9a1014d840..31c5d12a57 100644 --- a/pandora_agents/pc/NT4/pandora_agent.conf +++ b/pandora_agents/pc/NT4/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, GNU/Linux +# Version 6.0RC1, GNU/Linux # Licensed under GPL license v2, # Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/pc/SunOS/pandora_agent.conf b/pandora_agents/pc/SunOS/pandora_agent.conf index b92eb62e0a..3c1af36139 100644 --- a/pandora_agents/pc/SunOS/pandora_agent.conf +++ b/pandora_agents/pc/SunOS/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, Solaris Version +# Version 6.0RC1, Solaris Version # Licensed under GPL license v2, # Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/pc/Win32/pandora_agent.conf b/pandora_agents/pc/Win32/pandora_agent.conf index eb868f2279..e3f3419a82 100644 --- a/pandora_agents/pc/Win32/pandora_agent.conf +++ b/pandora_agents/pc/Win32/pandora_agent.conf @@ -1,6 +1,6 @@ # Base config file for Pandora FMS Windows Agent # (c) 2006-2010 Artica Soluciones Tecnologicas -# Version 6.0dev +# Version 6.0RC1 # This program is Free Software, you can redistribute it and/or modify it # under the terms of the GNU General Public Licence as published by the Free Software diff --git a/pandora_agents/shellscript/aix/pandora_agent.conf b/pandora_agents/shellscript/aix/pandora_agent.conf index 3490fcfc8c..3b34ab58a3 100644 --- a/pandora_agents/shellscript/aix/pandora_agent.conf +++ b/pandora_agents/shellscript/aix/pandora_agent.conf @@ -1,6 +1,6 @@ # Fichero de configuracion base de agentes de Pandora # Base config file for Pandora agents -# Version 6.0dev, AIX version +# Version 6.0RC1, AIX version # General Parameters # ================== diff --git a/pandora_agents/shellscript/bsd-ipso/pandora_agent.conf b/pandora_agents/shellscript/bsd-ipso/pandora_agent.conf index 7401fb7a00..ad0ccb77ea 100644 --- a/pandora_agents/shellscript/bsd-ipso/pandora_agent.conf +++ b/pandora_agents/shellscript/bsd-ipso/pandora_agent.conf @@ -1,6 +1,6 @@ # Fichero de configuracion base de agentes de Pandora # Base config file for Pandora agents -# Version 6.0dev +# Version 6.0RC1 # FreeBSD/IPSO version # Licenced under GPL licence, 2003-2007 Sancho Lerena diff --git a/pandora_agents/shellscript/hp-ux/pandora_agent.conf b/pandora_agents/shellscript/hp-ux/pandora_agent.conf index f552eddb45..a65dad1f11 100644 --- a/pandora_agents/shellscript/hp-ux/pandora_agent.conf +++ b/pandora_agents/shellscript/hp-ux/pandora_agent.conf @@ -1,6 +1,6 @@ # Fichero de configuracion base de agentes de Pandora # Base config file for Pandora agents -# Version 6.0dev, HPUX Version +# Version 6.0RC1, HPUX Version # General Parameters # ================== diff --git a/pandora_agents/shellscript/linux/pandora_agent.conf b/pandora_agents/shellscript/linux/pandora_agent.conf index 7d03c0ba50..ad796b41ba 100644 --- a/pandora_agents/shellscript/linux/pandora_agent.conf +++ b/pandora_agents/shellscript/linux/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev +# Version 6.0RC1 # Licensed under GPL license v2, # (c) 2003-2010 Artica Soluciones Tecnologicas # please visit http://pandora.sourceforge.net diff --git a/pandora_agents/shellscript/mac_osx/pandora_agent.conf b/pandora_agents/shellscript/mac_osx/pandora_agent.conf index d4b1928fb2..b49848edb3 100644 --- a/pandora_agents/shellscript/mac_osx/pandora_agent.conf +++ b/pandora_agents/shellscript/mac_osx/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev +# Version 6.0RC1 # Licensed under GPL license v2, # (c) 2003-2009 Artica Soluciones Tecnologicas # please visit http://pandora.sourceforge.net diff --git a/pandora_agents/shellscript/openWRT/pandora_agent.conf b/pandora_agents/shellscript/openWRT/pandora_agent.conf index 6ef1da1f56..2ff09d492c 100644 --- a/pandora_agents/shellscript/openWRT/pandora_agent.conf +++ b/pandora_agents/shellscript/openWRT/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev +# Version 6.0RC1 # Licensed under GPL license v2, # please visit http://pandora.sourceforge.net diff --git a/pandora_agents/shellscript/solaris/pandora_agent.conf b/pandora_agents/shellscript/solaris/pandora_agent.conf index 105a9d0698..c742effdcd 100644 --- a/pandora_agents/shellscript/solaris/pandora_agent.conf +++ b/pandora_agents/shellscript/solaris/pandora_agent.conf @@ -1,6 +1,6 @@ # Fichero de configuracion base de agentes de Pandora # Base config file for Pandora agents -# Version 6.0dev, Solaris version +# Version 6.0RC1, Solaris version # General Parameters # ================== diff --git a/pandora_agents/unix/AIX/pandora_agent.conf b/pandora_agents/unix/AIX/pandora_agent.conf index 383df876bd..36eb61855d 100644 --- a/pandora_agents/unix/AIX/pandora_agent.conf +++ b/pandora_agents/unix/AIX/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, AIX version +# Version 6.0RC1, AIX version # Licensed under GPL license v2, # Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/unix/DEBIAN/control b/pandora_agents/unix/DEBIAN/control index 178e9fde12..4a0a286490 100644 --- a/pandora_agents/unix/DEBIAN/control +++ b/pandora_agents/unix/DEBIAN/control @@ -1,5 +1,5 @@ package: pandorafms-agent-unix -Version: 6.0dev-150724 +Version: 6.0RC1-150812 Architecture: all Priority: optional Section: admin diff --git a/pandora_agents/unix/DEBIAN/make_deb_package.sh b/pandora_agents/unix/DEBIAN/make_deb_package.sh index b22416ba7a..37181eeeb9 100644 --- a/pandora_agents/unix/DEBIAN/make_deb_package.sh +++ b/pandora_agents/unix/DEBIAN/make_deb_package.sh @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -pandora_version="6.0dev-150724" +pandora_version="6.0RC1-150812" echo "Test if you has the tools for to make the packages." whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null diff --git a/pandora_agents/unix/Darwin/pandora_agent.conf b/pandora_agents/unix/Darwin/pandora_agent.conf index f85b5ada80..3206987b27 100644 --- a/pandora_agents/unix/Darwin/pandora_agent.conf +++ b/pandora_agents/unix/Darwin/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, GNU/Linux +# Version 6.0RC1, GNU/Linux # Licensed under GPL license v2, # Copyright (c) 2003-2012 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/unix/FreeBSD/pandora_agent.conf b/pandora_agents/unix/FreeBSD/pandora_agent.conf index 5d263a003c..d833f82a87 100644 --- a/pandora_agents/unix/FreeBSD/pandora_agent.conf +++ b/pandora_agents/unix/FreeBSD/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, FreeBSD Version +# Version 6.0RC1, FreeBSD Version # Licensed under GPL license v2, # Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/unix/HP-UX/pandora_agent.conf b/pandora_agents/unix/HP-UX/pandora_agent.conf index 938fa17746..1d297f5e59 100644 --- a/pandora_agents/unix/HP-UX/pandora_agent.conf +++ b/pandora_agents/unix/HP-UX/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, HP-UX Version +# Version 6.0RC1, HP-UX Version # Licensed under GPL license v2, # Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/unix/Linux/pandora_agent.conf b/pandora_agents/unix/Linux/pandora_agent.conf index 13844d10a2..e0f9961967 100644 --- a/pandora_agents/unix/Linux/pandora_agent.conf +++ b/pandora_agents/unix/Linux/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, GNU/Linux +# Version 6.0RC1, GNU/Linux # Licensed under GPL license v2, # Copyright (c) 2003-2014 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/unix/NT4/pandora_agent.conf b/pandora_agents/unix/NT4/pandora_agent.conf index d02248b722..b63107a681 100644 --- a/pandora_agents/unix/NT4/pandora_agent.conf +++ b/pandora_agents/unix/NT4/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, GNU/Linux +# Version 6.0RC1, GNU/Linux # Licensed under GPL license v2, # Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/unix/NetBSD/pandora_agent.conf b/pandora_agents/unix/NetBSD/pandora_agent.conf index 648480c0d4..af6f01f03c 100644 --- a/pandora_agents/unix/NetBSD/pandora_agent.conf +++ b/pandora_agents/unix/NetBSD/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, NetBSD Version +# Version 6.0RC1, NetBSD Version # Licensed under GPL license v2, # Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/unix/SunOS/pandora_agent.conf b/pandora_agents/unix/SunOS/pandora_agent.conf index 60919981f4..e9bffa7d32 100644 --- a/pandora_agents/unix/SunOS/pandora_agent.conf +++ b/pandora_agents/unix/SunOS/pandora_agent.conf @@ -1,5 +1,5 @@ # Base config file for Pandora FMS agents -# Version 6.0dev, Solaris Version +# Version 6.0RC1, Solaris Version # Licensed under GPL license v2, # Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # http://www.pandorafms.com diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index fd65f00bc5..678ae7442f 100644 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -40,8 +40,8 @@ my $Sem = undef; # Semaphore used to control the number of threads my $ThreadSem = undef; -use constant AGENT_VERSION => '6.0dev'; -use constant AGENT_BUILD => '150724'; +use constant AGENT_VERSION => '6.0RC1'; +use constant AGENT_BUILD => '150812'; # Commands to retrieve total memory information in kB use constant TOTALMEMORY_CMDS => { diff --git a/pandora_agents/unix/pandora_agent.redhat.spec b/pandora_agents/unix/pandora_agent.redhat.spec index 1ecdb98832..66455d8b39 100644 --- a/pandora_agents/unix/pandora_agent.redhat.spec +++ b/pandora_agents/unix/pandora_agent.redhat.spec @@ -2,8 +2,8 @@ #Pandora FMS Linux Agent # %define name pandorafms_agent_unix -%define version 6.0dev -%define release 150724 +%define version 6.0RC1 +%define release 150812 Summary: Pandora FMS Linux agent, PERL version Name: %{name} diff --git a/pandora_agents/unix/pandora_agent.spec b/pandora_agents/unix/pandora_agent.spec index a82c835a6a..85dde173df 100644 --- a/pandora_agents/unix/pandora_agent.spec +++ b/pandora_agents/unix/pandora_agent.spec @@ -2,8 +2,8 @@ #Pandora FMS Linux Agent # %define name pandorafms_agent_unix -%define version 6.0dev -%define release 150724 +%define version 6.0RC1 +%define release 150812 Summary: Pandora FMS Linux agent, PERL version Name: %{name} diff --git a/pandora_agents/win32/bin/pandora_agent.conf b/pandora_agents/win32/bin/pandora_agent.conf index 93fc29cf44..f5be4893dc 100644 --- a/pandora_agents/win32/bin/pandora_agent.conf +++ b/pandora_agents/win32/bin/pandora_agent.conf @@ -1,6 +1,6 @@ # Base config file for Pandora FMS Windows Agent # (c) 2006-2014 Artica Soluciones Tecnologicas -# Version 6.0dev +# Version 6.0RC1 # This program is Free Software, you can redistribute it and/or modify it # under the terms of the GNU General Public Licence as published by the Free Software @@ -198,87 +198,73 @@ module_end # Windows inventory module (This information will be displayed only in enterprise version) module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\cpuinfo.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\cpuinfo.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\moboinfo.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\moboinfo.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\diskdrives.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\diskdrives.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\cdromdrives.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\cdromdrives.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\videocardinfo.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\videocardinfo.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\ifaces.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\ifaces.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\monitors.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\monitors.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\printers.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\printers.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\raminfo.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\raminfo.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\software_installed.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\software_installed.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\userslogged.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\userslogged.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\productkey.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\productkey.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\productID.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\productID.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end module_begin -module_plugin cscript.exe //B "%PROGRAMFILES%\Pandora_Agent\util\win_cf.vbs" +module_plugin cscript.exe //B //t:20 "%PROGRAMFILES%\Pandora_Agent\util\win_cf.vbs" module_crontab * 12-15 * * 1 -module_timeout 50 module_end diff --git a/pandora_agents/win32/installer/pandora.mpi b/pandora_agents/win32/installer/pandora.mpi index 849af09dbf..a36b97d6d7 100644 --- a/pandora_agents/win32/installer/pandora.mpi +++ b/pandora_agents/win32/installer/pandora.mpi @@ -3,7 +3,7 @@ AllowLanguageSelection {Yes} AppName -{Pandora FMS Windows Agent v6.0dev} +{Pandora FMS Windows Agent v6.0RC1} ApplicationID {17E3D2CF-CA02-406B-8A80-9D31C17BD08F} @@ -186,7 +186,7 @@ UpgradeApplicationID {} Version -{150724} +{150812} ViewReadme {Yes} diff --git a/pandora_agents/win32/pandora.cc b/pandora_agents/win32/pandora.cc index 48ac277de9..2644e39a8c 100644 --- a/pandora_agents/win32/pandora.cc +++ b/pandora_agents/win32/pandora.cc @@ -30,7 +30,7 @@ using namespace Pandora; using namespace Pandora_Strutils; #define PATH_SIZE _MAX_PATH+1 -#define PANDORA_VERSION ("6.0dev(Build 150724)") +#define PANDORA_VERSION ("6.0RC1(Build 150812)") string pandora_path; string pandora_dir; diff --git a/pandora_agents/win32/versioninfo.rc b/pandora_agents/win32/versioninfo.rc index e8c5e392fb..5620358c0b 100644 --- a/pandora_agents/win32/versioninfo.rc +++ b/pandora_agents/win32/versioninfo.rc @@ -11,7 +11,7 @@ BEGIN VALUE "LegalCopyright", "Artica ST" VALUE "OriginalFilename", "PandoraAgent.exe" VALUE "ProductName", "Pandora FMS Windows Agent" - VALUE "ProductVersion", "(6.0dev(Build 150724))" + VALUE "ProductVersion", "(6.0RC1(Build 150812))" VALUE "FileVersion", "1.0.0.0" END END diff --git a/pandora_console/DEBIAN/control b/pandora_console/DEBIAN/control index 3d820b3e3f..3b81a0f0e5 100644 --- a/pandora_console/DEBIAN/control +++ b/pandora_console/DEBIAN/control @@ -1,5 +1,5 @@ package: pandorafms-console -Version: 6.0dev-150724 +Version: 6.0RC1-150812 Architecture: all Priority: optional Section: admin diff --git a/pandora_console/DEBIAN/make_deb_package.sh b/pandora_console/DEBIAN/make_deb_package.sh index b90f4dd461..b12cd9d501 100644 --- a/pandora_console/DEBIAN/make_deb_package.sh +++ b/pandora_console/DEBIAN/make_deb_package.sh @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -pandora_version="6.0dev-150724" +pandora_version="6.0RC1-150812" package_pear=0 package_pandora=1 diff --git a/pandora_console/extensions/agents_modules.php b/pandora_console/extensions/agents_modules.php index 7bab565cff..5c16e6b039 100644 --- a/pandora_console/extensions/agents_modules.php +++ b/pandora_console/extensions/agents_modules.php @@ -67,7 +67,7 @@ function mainAgentsModules() { $group_id = (int)get_parameter('group_id', 0); $offset = (int)get_parameter('offset', 0); $hor_offset = (int)get_parameter('hor_offset', 0); - $block = 20; + $block = $config['block_size']; $groups = users_get_groups (); @@ -207,7 +207,7 @@ function mainAgentsModules() { "offset=" . $offset . "&" . "group_id=" . $group_id . "&" . "modulegroup=" . $modulegroup . "'>" . - html_print_image("images/darrowleft.png", true, + html_print_image("images/arrow_left.png", true, array('title' => __('Previous modules'))) . "" . ""; @@ -245,7 +245,7 @@ function mainAgentsModules() { "group_id=" . $group_id . "&" . "modulegroup=" . $modulegroup . "'>" . html_print_image( - "images/darrowright.png", true, + "images/arrow.png", true, array('title' => __('More modules'))) . "" . ""; diff --git a/pandora_console/extensions/insert_data.php b/pandora_console/extensions/insert_data.php index 592d0d2b2a..494bbdd0d2 100644 --- a/pandora_console/extensions/insert_data.php +++ b/pandora_console/extensions/insert_data.php @@ -209,7 +209,7 @@ function mainInsertData() { var inputs = []; inputs.push ("agent_name=" + agent_name); - inputs.push ('filter=delete_pending = 0'); + inputs.push ("delete_pending=0"); inputs.push ("get_agent_modules_json=1"); inputs.push ("page=operation/agentes/ver_agente"); jQuery.ajax ({ diff --git a/pandora_console/general/firts_task/custom_fields.php b/pandora_console/general/firts_task/custom_fields.php index 9b4a278d44..624bcac357 100644 --- a/pandora_console/general/firts_task/custom_fields.php +++ b/pandora_console/general/firts_task/custom_fields.php @@ -29,11 +29,8 @@ ui_print_info_message ( array('no_close'=>true, 'message'=> __('There are no cu

-

ICMP (pings), - SNMP (detecting the topology of networks and their interfaces), and other customized - type. You can define your own customized recon script.'); ?>

+

'Manage monitoring' -> 'Manage custom fields'. "); ?>

diff --git a/pandora_console/general/firts_task/fields_manager.php b/pandora_console/general/firts_task/fields_manager.php index e4be4dfb47..90528cb8a0 100755 --- a/pandora_console/general/firts_task/fields_manager.php +++ b/pandora_console/general/firts_task/fields_manager.php @@ -26,11 +26,8 @@ ui_require_css_file ('firts_task');

-

ICMP (pings), - SNMP (detecting the topology of networks and their interfaces), and other customized - type. You can define your own customized recon script.'); ?>

+

'Manage monitoring' -> 'Manage custom fields'. "); ?>

diff --git a/pandora_console/general/firts_task/map_builder.php b/pandora_console/general/firts_task/map_builder.php index 6e16c6d048..705e553447 100755 --- a/pandora_console/general/firts_task/map_builder.php +++ b/pandora_console/general/firts_task/map_builder.php @@ -30,11 +30,11 @@ ui_print_info_message(

-

ICMP (pings), - SNMP (detecting the topology of networks and their interfaces), and other customized - type. You can define your own customized recon script.'); ?>

+

diff --git a/pandora_console/general/firts_task/snmp_filters.php b/pandora_console/general/firts_task/snmp_filters.php index 74f4edc766..b279218e5f 100755 --- a/pandora_console/general/firts_task/snmp_filters.php +++ b/pandora_console/general/firts_task/snmp_filters.php @@ -26,11 +26,11 @@ ui_require_css_file ('firts_task');

-

ICMP (pings), - SNMP (detecting the topology of networks and their interfaces), and other customized - type. You can define your own customized recon script.'); ?>

+

'Manage SNMP Console' and 'SNMP Filters'. + One trap which is going to run in conjunction with any of them - just the ones for the server are going to get ruled out automatically. "); ?>

diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php index 1ca451b48e..9295412c48 100644 --- a/pandora_console/godmode/agentes/modificar_agente.php +++ b/pandora_console/godmode/agentes/modificar_agente.php @@ -23,7 +23,7 @@ $ag_group = get_parameter ("ag_group_refresh", -1); $sortField = get_parameter('sort_field'); $sort = get_parameter('sort', 'none'); $recursion = get_parameter('recursion'); -$disabled = get_parameter('disabled'); +$disabled = get_parameter('disabled', 0); if ($ag_group == -1 ) $ag_group = (int) get_parameter ("ag_group", -1); diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index e05241a6d7..4f9d9f2d6c 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -225,6 +225,10 @@ $table_simple->data[1][3] = html_print_select_from_sql ('SELECT id_mg, name FROM 'id_module_group', $id_module_group, '', __('Not assigned'), '0', true, false, true, $disabledBecauseInPolicy); +if($disabledBecauseInPolicy){ + $table_simple->data[1][3] .= html_print_input_hidden ('id_module_group', $id_module_group, true); +} + $table_simple->data[2][0] = __('Warning status').' ' . ui_print_help_icon ('warning_status', true); $table_simple->data[2][1] = ''; diff --git a/pandora_console/godmode/agentes/planned_downtime.list.php b/pandora_console/godmode/agentes/planned_downtime.list.php index 592850167a..232ddbd819 100755 --- a/pandora_console/godmode/agentes/planned_downtime.list.php +++ b/pandora_console/godmode/agentes/planned_downtime.list.php @@ -177,26 +177,39 @@ $row[] = html_print_submit_button('Search', 'search', false, 'class="sub search" $table_form->data[] = $row; // End of table filter +// Useful to know if the user has done a form filtering +$filter_performed = false; + $groups = users_get_groups (); if (!empty($groups)) { $where_values = "1=1"; $groups_string = implode (",", array_keys ($groups)); $where_values .= " AND id_group IN ($groups_string)"; + + // WARNING: add $filter_performed = true; to any future filter if (!empty($search_text)) { + $filter_performed = true; + $where_values .= " AND (name LIKE '%$search_text%' OR description LIKE '%$search_text%')"; } if (!empty($execution_type)) { + $filter_performed = true; + $where_values .= " AND type_execution = '$execution_type'"; } if (!empty($date_from)) { + $filter_performed = true; + $where_values .= " AND (type_execution = 'periodically' OR (type_execution = 'once' AND date_from >= '".strtotime("$date_from 00:00:00")."'))"; } if (!empty($date_to)) { + $filter_performed = true; + $periodically_monthly_w = "type_periodicity = 'monthly' AND ((periodically_day_from <= '".date('d', strtotime($date_from))."' AND periodically_day_to >= '".date('d', strtotime($date_to))."') OR (periodically_day_from > periodically_day_to @@ -226,14 +239,20 @@ if (!empty($groups)) { } if (!$show_archived) { + $filter_performed = true; + $where_values .= " AND (type_execution = 'periodically' OR (type_execution = 'once' AND date_to >= '".time()."'))"; } if (!empty($agent_id)) { + $filter_performed = true; + $where_values .= " AND id IN (SELECT id_downtime FROM tplanned_downtime_agents WHERE id_agent = $agent_id)"; } if (!empty($module_id)) { + $filter_performed = true; + $where_values .= " AND (id IN (SELECT id_downtime FROM tplanned_downtime_modules WHERE id_agent_module = $module_id) @@ -322,9 +341,33 @@ else { $downtimes = array(); } -if (!$downtimes) { +// No downtimes cause the user has not anyone +if (!$downtimes && !$filter_performed) { require_once ($config['homedir'] . "/general/firts_task/planned_downtime.php"); } +// No downtimes cause the user performed a search +else if (!$downtimes) { + // Filter form + echo "
"; + html_print_table($table_form); + echo "
"; + + // Info message + echo '
'.__('No planned downtime').'
'; + + echo '
'; + + // Create button + if ($write_permisson) { + echo ' '; + echo '
'; + html_print_submit_button (__('Create'), 'create', false, 'class="sub next"'); + echo '
'; + } + + echo '
'; +} +// Has downtimes else { echo "
"; html_print_table($table_form); diff --git a/pandora_console/godmode/massive/massive_copy_modules.php b/pandora_console/godmode/massive/massive_copy_modules.php index a9d5178b4e..d386f34406 100755 --- a/pandora_console/godmode/massive/massive_copy_modules.php +++ b/pandora_console/godmode/massive/massive_copy_modules.php @@ -316,8 +316,8 @@ $(document).ready (function () { {"page" : "operation/agentes/ver_agente", "get_agent_modules_json" : 1, "id_agent" : this.value, - "filter" : "disabled = 0", - "fields" : "id_agente_modulo,nombre" + "disabled" : 0, + "get_id_and_name" : 1 }, function (data, status) { if (data.length == 0) { diff --git a/pandora_console/godmode/massive/massive_delete_modules.php b/pandora_console/godmode/massive/massive_delete_modules.php index f9e5279138..f74baa1ba1 100755 --- a/pandora_console/godmode/massive/massive_delete_modules.php +++ b/pandora_console/godmode/massive/massive_delete_modules.php @@ -412,25 +412,23 @@ $(document).ready (function () { $("tr#delete_table-edit1, tr#delete_table-edit2, tr#delete_table-edit3, tr#delete_table-edit35, tr#delete_table-edit4, tr#delete_table-edit5, tr#delete_table-edit6, tr#delete_table-edit7, tr#delete_table-edit8") .hide (); - if (this.value == '0') { - filter = ''; - } - else { - filter = "id_tipo_modulo="+this.value; - } + var params = { + "page" : "operation/agentes/ver_agente", + "get_agent_modules_json" : 1, + "get_distinct_name" : 1, + "indexed" : 0, + "privilege" : "AW" + }; + + if (this.value != '0') + params['id_tipo_modulo'] = this.value; $("#module_loading").show (); $("tr#delete_table-edit1, tr#delete_table-edit2").hide (); $("#module_name").attr ("disabled", "disabled") $("#module_name option[value!=0]").remove (); jQuery.post ("ajax.php", - {"page" : "operation/agentes/ver_agente", - "get_agent_modules_json" : 1, - "filter" : filter, - "fields" : "DISTINCT(nombre)", - "indexed" : 0, - "privilege" : "AW" - }, + params, function (data, status) { jQuery.each (data, function (id, value) { option = $("") diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index 2727436eb3..e1ca492ecb 100755 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -675,24 +675,22 @@ $(document).ready (function () { "tr#delete_table-edit13, " + "tr#delete_table-edit14").hide (); - if (this.value == '0') { - filter = ''; - } - else { - filter = "id_tipo_modulo="+this.value; - } + var params = { + "page" : "operation/agentes/ver_agente", + "get_agent_modules_json" : 1, + "get_distinct_name" : 1, + "indexed" : 0 + }; + + if (this.value != '0') + params['id_tipo_modulo'] = this.value; $("#module_loading").show (); $("tr#delete_table-edit1, tr#delete_table-edit2").hide (); $("#module_name").attr ("disabled", "disabled") $("#module_name option[value!=0]").remove (); jQuery.post ("ajax.php", - {"page" : "operation/agentes/ver_agente", - "get_agent_modules_json" : 1, - "filter" : filter, - "fields" : "DISTINCT(nombre)", - "indexed" : 0 - }, + params, function (data, status) { jQuery.each (data, function (id, value) { option = $("").attr ("value", value["nombre"]).html (value["nombre"]); diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php index 13e2949e32..bc2ced1ffc 100644 --- a/pandora_console/godmode/menu.php +++ b/pandora_console/godmode/menu.php @@ -128,6 +128,7 @@ if (check_acl ($config['id_user'], 0, "LM") || check_acl ($config['id_user'], 0, if (check_acl ($config['id_user'], 0, "LM")) { $sub = array (); + $sub["godmode/alerts/alert_list"]["text"] = __('List of Alerts'); $sub["godmode/alerts/alert_templates"]["text"] = __('Templates'); $sub["godmode/alerts/alert_actions"]["text"] = __('Actions'); diff --git a/pandora_console/godmode/reporting/reporting_builder.item_editor.php b/pandora_console/godmode/reporting/reporting_builder.item_editor.php index 35bddd860a..bb9fb84f84 100755 --- a/pandora_console/godmode/reporting/reporting_builder.item_editor.php +++ b/pandora_console/godmode/reporting/reporting_builder.item_editor.php @@ -30,6 +30,13 @@ $meta = false; if (($config['metaconsole'] == 1) && (defined('METACONSOLE'))) { $meta = true; } + + + + + + + $show_graph_options = Array(); $show_graph_options[0] = __('Only table'); $show_graph_options[1] = __('Table & Graph'); @@ -126,6 +133,7 @@ switch ($action) { // If we are creating a new report item then clean interface and display creation view $type = get_parameter('type', 'SLA'); + switch ($type) { case 'SLA_monthly': case 'SLA_services': @@ -137,6 +145,7 @@ switch ($action) { case 'availability': $get_data_editor = true; break; + default: $actionParameter = 'save'; $action = 'new'; @@ -180,6 +189,7 @@ switch ($action) { $idAgentModule = $item['id_agent_module']; $idAgent = db_get_value_filter('id_agente', 'tagente_modulo', array('id_agente_modulo' => $idAgentModule)); break; + case 'simple_graph': $only_avg = isset($style['only_avg']) ? (bool) $style['only_avg'] : true; // The break hasn't be forgotten. @@ -198,6 +208,7 @@ switch ($action) { // HACK it is saved in show_graph field. $time_compare_overlapped = $item['show_graph']; break; + case 'prediction_date': $description = $item['description']; $idAgentModule = $item['id_agent_module']; @@ -303,6 +314,13 @@ switch ($action) { $idAgentModule = $item['id_agent_module']; $period = $item['period']; break; + case 'historical_data': + $description = $item['description']; + $idAgentModule = $item['id_agent_module']; + $idAgent = db_get_value_filter('id_agente', 'tagente_modulo', array('id_agente_modulo' => $idAgentModule)); + $idAgentModule = $item['id_agent_module']; + $period = $item['period']; + break; case 'text': $description = $item['description']; $text = $item['text']; @@ -497,6 +515,7 @@ switch ($action) { $idAgent = $es['id_agents']; $idAgentModule = $inventory_modules; break; + case 'inventory_changes': $period = $item['period']; $description = $item['description']; @@ -504,12 +523,15 @@ switch ($action) { $inventory_modules = $es['inventory_modules']; $id_agents = $es['id_agents']; break; + case 'agent_configuration': $idAgent = $item['id_agent']; break; + case 'group_configuration': $group = $item['id_group']; break; + case 'netflow_area': case 'netflow_pie': case 'netflow_data': @@ -532,6 +554,7 @@ switch ($action) { break; } + $urlForm = $config['homeurl'] . 'index.php?sec=reporting&sec2=godmode/reporting/reporting_builder&tab=item_editor&action=' . $actionParameter . '&id_report=' . $idReport; @@ -555,10 +578,12 @@ $class = 'databox filters'; ?> - + + + + @@ -582,6 +608,7 @@ $class = 'databox filters'; ?> + @@ -600,6 +627,7 @@ $class = 'databox filters'; ?> + @@ -608,6 +636,7 @@ $class = 'databox filters'; ?> + @@ -645,8 +675,10 @@ $class = 'databox filters'; + ?> + + - + + ?> + @@ -765,6 +799,8 @@ $class = 'databox filters'; + + @@ -784,6 +820,7 @@ $class = 'databox filters'; ?> + @@ -834,8 +871,13 @@ $class = 'databox filters'; ?> + - + + + + @@ -892,6 +935,7 @@ $class = 'databox filters'; ?> + @@ -910,6 +954,7 @@ $class = 'databox filters'; ?> + @@ -927,6 +972,7 @@ $class = 'databox filters'; ?> + @@ -988,14 +1034,19 @@ $class = 'databox filters'; ?> + + + + + @@ -1005,6 +1056,7 @@ $class = 'databox filters'; + @@ -1019,10 +1071,12 @@ $class = 'databox filters'; + + @@ -1055,14 +1109,17 @@ $class = 'databox filters'; ?> + + + @@ -1076,6 +1133,7 @@ $class = 'databox filters'; ?> + @@ -1084,6 +1142,7 @@ $class = 'databox filters'; ?> + @@ -1099,7 +1158,9 @@ $class = 'databox filters'; - + __('Everything'), REPORT_EXCEPTION_CONDITION_GE => __('Greater or equal (>=)'), @@ -1113,7 +1174,9 @@ $class = 'databox filters'; ); html_print_select($list_exception_condition, 'exception_condition', $exception_condition); - /*echo ; + + /* + echo ; html_print_radio_button ('radiobutton_exception_condition', 0, '', $exception_condition); echo __('>='); html_print_radio_button ('radiobutton_exception_condition', 1, '', $exception_condition); @@ -1123,13 +1186,17 @@ $class = 'databox filters'; html_print_radio_button ('radiobutton_exception_condition', 3, '', $exception_condition); echo __('Not OK'); html_print_radio_button ('radiobutton_exception_condition', 4, '', $exception_condition); - */?> + */ + ?> + + + + @@ -1168,7 +1236,7 @@ $class = 'databox filters'; ?> - + @@ -1198,15 +1266,18 @@ $class = 'databox filters'; + + + @@ -1217,6 +1288,9 @@ $class = 'databox filters'; ?> + + + @@ -1244,6 +1318,7 @@ echo '
'; ui_include_time_picker(); ui_require_javascript_file('pandora'); + if ($enterpriseEnable) { reporting_enterprise_text_box(); } @@ -1301,6 +1376,8 @@ function print_SLA_list($width, $action, $idItem = null) { continue; } } + + $idAgent = db_get_value_filter('id_agente', 'tagente_modulo', array('id_agente_modulo' => $item['id_agent_module'])); @@ -1350,6 +1427,7 @@ function print_SLA_list($width, $action, $idItem = null) { ' . html_print_image("images/cross.png", true) . ' '; echo ''; + if ($meta) { //Restore db connection metaconsole_restore_db(); @@ -1369,11 +1447,13 @@ function print_SLA_list($width, $action, $idItem = null) { + + @@ -1418,7 +1498,10 @@ function print_SLA_list($width, $action, $idItem = null) { - + + + + - + + + $item['id_agent_module'])); @@ -1542,6 +1631,7 @@ function print_General_list($width, $action, $idItem = null, $type = 'general') } echo ''; ?> + @@ -1556,6 +1646,7 @@ function print_General_list($width, $action, $idItem = null, $type = 'general') + @@ -1601,6 +1692,7 @@ function print_General_list($width, $action, $idItem = null, $type = 'general') + ); break; + case 'inventory_changes': break; + case 'agent_configuration': $("#row_agent").show(); break; + case 'group_configuration': $("#row_group").show(); $("#row_servers").show(); break; + case 'netflow_area': $("#row_netflow_filter").show(); $("#row_description").show(); @@ -2524,6 +2668,7 @@ function chooseType() { $("#row_resolution").show(); $("#row_servers").show(); break; + case 'netflow_pie': $("#row_netflow_filter").show(); $("#row_description").show(); @@ -2532,6 +2677,7 @@ function chooseType() { $("#row_resolution").show(); $("#row_servers").show(); break; + case 'netflow_data': $("#row_netflow_filter").show(); $("#row_description").show(); @@ -2540,6 +2686,7 @@ function chooseType() { $("#row_resolution").show(); $("#row_servers").show(); break; + case 'netflow_summary': $("#row_netflow_filter").show(); $("#row_description").show(); @@ -2547,6 +2694,7 @@ function chooseType() { $("#row_resolution").show(); $("#row_servers").show(); break; + case 'netflow_statistics': $("#row_netflow_filter").show(); $("#row_description").show(); @@ -2555,6 +2703,7 @@ function chooseType() { $("#row_resolution").show(); $("#row_servers").show(); break; + } } @@ -2580,4 +2729,4 @@ function set_last_value_period() { $("#row_period").show(); } } - + \ No newline at end of file diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index 11bbec0178..120b68731a 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -238,8 +238,8 @@ function update_button_palette_callback() { $("#" + idItem).css('width', ''); $("#" + idItem).css('height', ''); } - - set_image("image", idItem, values['image']); + var image = values['image'] + ".png"; + set_image("image", idItem, image); break; default: //Maybe save in any Enterprise item. @@ -1626,8 +1626,8 @@ function createItem(type, values, id_data) { '
' + '
' ); - - set_image("image", id_data, values['image']); + var image = values['image'] + ".png"; + set_image("image", id_data, image); break; default: //Maybe create in any Enterprise item. @@ -1748,6 +1748,8 @@ function insertDB(type, values) { } $("#saving_in_progress_dialog").dialog("close"); + //Reload all events for the item and new item. + eventsItems(); } else { //TODO @@ -2691,6 +2693,8 @@ function showPreview(image) { case 'icon': showPreviewIcon(image); break; + case 'service': + showPreviewIcon(image); } } diff --git a/pandora_console/godmode/reporting/visual_console_builder.wizard.php b/pandora_console/godmode/reporting/visual_console_builder.wizard.php index bbafb2fbff..7137c5ba21 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.wizard.php +++ b/pandora_console/godmode/reporting/visual_console_builder.wizard.php @@ -51,7 +51,7 @@ require_once($config['homedir'] . "/include/functions_agents.php"); $table = new stdClass(); $table->id = 'wizard_table'; $table->head = array (); -if (!defined('METACONSOLE')) { +if (!is_metaconsole()) { $metaconsole_hack = ''; $table->width = '100%'; $table->class = 'databox filters'; @@ -189,16 +189,17 @@ $table->data["percentileitem_4"][1] = html_print_radio_button_extended( 'value', false, '', 'style="float: left;"', true); -if (defined('METACONSOLE')) { +if (is_metaconsole()) { $table->rowstyle["all_2"] = 'display: none;'; $table->data["all_2"][0] = __('Servers'); if ($strict_user) - $table->data["all_2"][1] = html_print_select('','server_id', - $server_id, 'metaconsole_init();', __('All'), '0', true); + $table->data["all_2"][1] = html_print_select('','servers', + '', 'metaconsole_init();', __('All'), '0', true); else + $sql = 'SELECT id, server_name + FROM tmetaconsole_setup'; $table->data["all_2"][1] = html_print_select_from_sql( - 'SELECT id, server_name FROM tmetaconsole_setup', - 'server_id', $server_id, 'metaconsole_init();', __('All'), + $sql, 'servers', '', 'metaconsole_init();', __('All'), '0', true); } @@ -230,7 +231,7 @@ $table->rowstyle["all_4"] = 'display: none;'; $table->data["all_4"][0] = __('Agents'); $agents_list = array(); -if (!defined('METACONSOLE')) +if (!is_metaconsole()) $agents_list = agents_get_group_agents(0, false, "none", false, true); @@ -283,7 +284,7 @@ $table->data["all_8"][3] = '' . -if (defined('METACONSOLE')) { +if (is_metaconsole()) { $pure = get_parameter('pure', 0); echo '
'; -if (defined('METACONSOLE')) { +if (is_metaconsole()) { html_print_input_hidden ('action2', 'update'); } else { @@ -325,7 +326,7 @@ echo '