mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Merge branch 'develop' into ent-13146-queda-fea-eso-en-el-filtro-de-notificaciones
This commit is contained in:
commit
294c7f60fa
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-agent-unix
|
package: pandorafms-agent-unix
|
||||||
Version: 7.0NG.776-240325
|
Version: 7.0NG.776-240326
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: admin
|
Section: admin
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_version="7.0NG.776-240325"
|
pandora_version="7.0NG.776-240326"
|
||||||
|
|
||||||
echo "Test if you has the tools for to make the packages."
|
echo "Test if you has the tools for to make the packages."
|
||||||
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null
|
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null
|
||||||
|
@ -1039,7 +1039,7 @@ my $Sem = undef;
|
|||||||
my $ThreadSem = undef;
|
my $ThreadSem = undef;
|
||||||
|
|
||||||
use constant AGENT_VERSION => '7.0NG.776';
|
use constant AGENT_VERSION => '7.0NG.776';
|
||||||
use constant AGENT_BUILD => '240325';
|
use constant AGENT_BUILD => '240326';
|
||||||
|
|
||||||
# Agent log default file size maximum and instances
|
# Agent log default file size maximum and instances
|
||||||
use constant DEFAULT_MAX_LOG_SIZE => 600000;
|
use constant DEFAULT_MAX_LOG_SIZE => 600000;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
%global __os_install_post %{nil}
|
%global __os_install_post %{nil}
|
||||||
%define name pandorafms_agent_linux
|
%define name pandorafms_agent_linux
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
|
|
||||||
Summary: Pandora FMS Linux agent, PERL version
|
Summary: Pandora FMS Linux agent, PERL version
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
%define name pandorafms_agent_linux_bin
|
%define name pandorafms_agent_linux_bin
|
||||||
%define source_name pandorafms_agent_linux
|
%define source_name pandorafms_agent_linux
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Summary: Pandora FMS Linux agent, binary version
|
Summary: Pandora FMS Linux agent, binary version
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
%define name pandorafms_agent_linux_bin
|
%define name pandorafms_agent_linux_bin
|
||||||
%define source_name pandorafms_agent_linux
|
%define source_name pandorafms_agent_linux
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Summary: Pandora FMS Linux agent, binary version
|
Summary: Pandora FMS Linux agent, binary version
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
%define name pandorafms_agent_linux_bin
|
%define name pandorafms_agent_linux_bin
|
||||||
%define source_name pandorafms_agent_linux
|
%define source_name pandorafms_agent_linux
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
|
|
||||||
Summary: Pandora FMS Linux agent, binary version
|
Summary: Pandora FMS Linux agent, binary version
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
%global __os_install_post %{nil}
|
%global __os_install_post %{nil}
|
||||||
%define name pandorafms_agent_linux
|
%define name pandorafms_agent_linux
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
|
|
||||||
Summary: Pandora FMS Linux agent, PERL version
|
Summary: Pandora FMS Linux agent, PERL version
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
PI_VERSION="7.0NG.776"
|
PI_VERSION="7.0NG.776"
|
||||||
PI_BUILD="240325"
|
PI_BUILD="240326"
|
||||||
OS_NAME=`uname -s`
|
OS_NAME=`uname -s`
|
||||||
|
|
||||||
FORCE=0
|
FORCE=0
|
||||||
|
@ -186,7 +186,7 @@ UpgradeApplicationID
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
Version
|
Version
|
||||||
{240325}
|
{240326}
|
||||||
|
|
||||||
ViewReadme
|
ViewReadme
|
||||||
{Yes}
|
{Yes}
|
||||||
|
@ -30,7 +30,7 @@ using namespace Pandora;
|
|||||||
using namespace Pandora_Strutils;
|
using namespace Pandora_Strutils;
|
||||||
|
|
||||||
#define PATH_SIZE _MAX_PATH+1
|
#define PATH_SIZE _MAX_PATH+1
|
||||||
#define PANDORA_VERSION ("7.0NG.776 Build 240325")
|
#define PANDORA_VERSION ("7.0NG.776 Build 240326")
|
||||||
|
|
||||||
string pandora_path;
|
string pandora_path;
|
||||||
string pandora_dir;
|
string pandora_dir;
|
||||||
|
@ -11,7 +11,7 @@ BEGIN
|
|||||||
VALUE "LegalCopyright", "Pandora FMS"
|
VALUE "LegalCopyright", "Pandora FMS"
|
||||||
VALUE "OriginalFilename", "PandoraAgent.exe"
|
VALUE "OriginalFilename", "PandoraAgent.exe"
|
||||||
VALUE "ProductName", "Pandora FMS Windows Agent"
|
VALUE "ProductName", "Pandora FMS Windows Agent"
|
||||||
VALUE "ProductVersion", "(7.0NG.776(Build 240325))"
|
VALUE "ProductVersion", "(7.0NG.776(Build 240326))"
|
||||||
VALUE "FileVersion", "1.0.0.0"
|
VALUE "FileVersion", "1.0.0.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-console
|
package: pandorafms-console
|
||||||
Version: 7.0NG.776-240325
|
Version: 7.0NG.776-240326
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: admin
|
Section: admin
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_version="7.0NG.776-240325"
|
pandora_version="7.0NG.776-240326"
|
||||||
|
|
||||||
package_pear=0
|
package_pear=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
|
@ -53,7 +53,7 @@ refresh[2]="0"
|
|||||||
source[2]="0"
|
source[2]="0"
|
||||||
source_data[2]="{\"tagente\":{\"nombre\":\"freebsd-1\"}}"
|
source_data[2]="{\"tagente\":{\"nombre\":\"freebsd-1\"}}"
|
||||||
options[2]=""
|
options[2]=""
|
||||||
style[2]="{\"shape\":\"circle\",\"image\":\"images/networkmap/freebsd@os.svg\",\"width\":null,\"height\":null,\"label\":\"freebsd-1\"}"
|
style[2]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/freebsd@os.svg\",\"width\":null,\"height\":null,\"label\":\"freebsd-1\"}"
|
||||||
|
|
||||||
id[3]="3"
|
id[3]="3"
|
||||||
id_map[3]="2"
|
id_map[3]="2"
|
||||||
@ -66,7 +66,7 @@ refresh[3]="0"
|
|||||||
source[3]="0"
|
source[3]="0"
|
||||||
source_data[3]="{\"tagente\":{\"nombre\":\"macos-1\"}}"
|
source_data[3]="{\"tagente\":{\"nombre\":\"macos-1\"}}"
|
||||||
options[3]=""
|
options[3]=""
|
||||||
style[3]="{\"shape\":\"circle\",\"image\":\"images/networkmap/apple@os.svg\",\"width\":null,\"height\":null,\"label\":\"macos-1\"}"
|
style[3]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/apple@os.svg\",\"width\":null,\"height\":null,\"label\":\"macos-1\"}"
|
||||||
|
|
||||||
id[4]="4"
|
id[4]="4"
|
||||||
id_map[4]="2"
|
id_map[4]="2"
|
||||||
@ -79,7 +79,7 @@ refresh[4]="0"
|
|||||||
source[4]="0"
|
source[4]="0"
|
||||||
source_data[4]="{\"tagente\":{\"nombre\":\"windows-1\"}}"
|
source_data[4]="{\"tagente\":{\"nombre\":\"windows-1\"}}"
|
||||||
options[4]=""
|
options[4]=""
|
||||||
style[4]="{\"shape\":\"circle\",\"image\":\"images/networkmap/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-1\"}"
|
style[4]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-1\"}"
|
||||||
|
|
||||||
id[5]="5"
|
id[5]="5"
|
||||||
id_map[5]="2"
|
id_map[5]="2"
|
||||||
@ -92,7 +92,7 @@ refresh[5]="0"
|
|||||||
source[5]="0"
|
source[5]="0"
|
||||||
source_data[5]="{\"tagente\":{\"nombre\":\"windows-2\"}}"
|
source_data[5]="{\"tagente\":{\"nombre\":\"windows-2\"}}"
|
||||||
options[5]=""
|
options[5]=""
|
||||||
style[5]="{\"shape\":\"circle\",\"image\":\"images/networkmap/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-2\"}"
|
style[5]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-2\"}"
|
||||||
|
|
||||||
id[6]="6"
|
id[6]="6"
|
||||||
id_map[6]="2"
|
id_map[6]="2"
|
||||||
@ -105,7 +105,7 @@ refresh[6]="0"
|
|||||||
source[6]="0"
|
source[6]="0"
|
||||||
source_data[6]="{\"tagente\":{\"nombre\":\"linux-1\"}}"
|
source_data[6]="{\"tagente\":{\"nombre\":\"linux-1\"}}"
|
||||||
options[6]=""
|
options[6]=""
|
||||||
style[6]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-1\"}"
|
style[6]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-1\"}"
|
||||||
|
|
||||||
id[7]="7"
|
id[7]="7"
|
||||||
id_map[7]="2"
|
id_map[7]="2"
|
||||||
@ -118,7 +118,7 @@ refresh[7]="0"
|
|||||||
source[7]="0"
|
source[7]="0"
|
||||||
source_data[7]="{\"tagente\":{\"nombre\":\"linux-2\"}}"
|
source_data[7]="{\"tagente\":{\"nombre\":\"linux-2\"}}"
|
||||||
options[7]=""
|
options[7]=""
|
||||||
style[7]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-2\"}"
|
style[7]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-2\"}"
|
||||||
|
|
||||||
id[8]="8"
|
id[8]="8"
|
||||||
id_map[8]="2"
|
id_map[8]="2"
|
||||||
@ -131,7 +131,7 @@ refresh[8]="0"
|
|||||||
source[8]="0"
|
source[8]="0"
|
||||||
source_data[8]="{\"tagente\":{\"nombre\":\"linux-3\"}}"
|
source_data[8]="{\"tagente\":{\"nombre\":\"linux-3\"}}"
|
||||||
options[8]=""
|
options[8]=""
|
||||||
style[8]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-3\"}"
|
style[8]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-3\"}"
|
||||||
|
|
||||||
id[9]="9"
|
id[9]="9"
|
||||||
id_map[9]="2"
|
id_map[9]="2"
|
||||||
@ -144,7 +144,7 @@ refresh[9]="0"
|
|||||||
source[9]="0"
|
source[9]="0"
|
||||||
source_data[9]="{\"tagente\":{\"nombre\":\"linux-4\"}}"
|
source_data[9]="{\"tagente\":{\"nombre\":\"linux-4\"}}"
|
||||||
options[9]=""
|
options[9]=""
|
||||||
style[9]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-4\"}"
|
style[9]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-4\"}"
|
||||||
|
|
||||||
id[10]="10"
|
id[10]="10"
|
||||||
id_map[10]="2"
|
id_map[10]="2"
|
||||||
@ -157,7 +157,7 @@ refresh[10]="0"
|
|||||||
source[10]="0"
|
source[10]="0"
|
||||||
source_data[10]="{\"tagente\":{\"nombre\":\"cisco-2\"}}"
|
source_data[10]="{\"tagente\":{\"nombre\":\"cisco-2\"}}"
|
||||||
options[10]=""
|
options[10]=""
|
||||||
style[10]="{\"shape\":\"circle\",\"image\":\"images/networkmap/cisco@os.svg\",\"width\":null,\"height\":null,\"label\":\"cisco-2\"}"
|
style[10]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/cisco@os.svg\",\"width\":null,\"height\":null,\"label\":\"cisco-2\"}"
|
||||||
|
|
||||||
id[11]="11"
|
id[11]="11"
|
||||||
id_map[11]="2"
|
id_map[11]="2"
|
||||||
@ -170,7 +170,7 @@ refresh[11]="0"
|
|||||||
source[11]="0"
|
source[11]="0"
|
||||||
source_data[11]="{\"tagente\":{\"nombre\":\"freebsd-2\"}}"
|
source_data[11]="{\"tagente\":{\"nombre\":\"freebsd-2\"}}"
|
||||||
options[11]=""
|
options[11]=""
|
||||||
style[11]="{\"shape\":\"circle\",\"image\":\"images/networkmap/freebsd@os.svg\",\"width\":null,\"height\":null,\"label\":\"freebsd-2\"}"
|
style[11]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/freebsd@os.svg\",\"width\":null,\"height\":null,\"label\":\"freebsd-2\"}"
|
||||||
|
|
||||||
id[12]="12"
|
id[12]="12"
|
||||||
id_map[12]="2"
|
id_map[12]="2"
|
||||||
@ -183,7 +183,7 @@ refresh[12]="0"
|
|||||||
source[12]="0"
|
source[12]="0"
|
||||||
source_data[12]="{\"tagente\":{\"nombre\":\"macos-2\"}}"
|
source_data[12]="{\"tagente\":{\"nombre\":\"macos-2\"}}"
|
||||||
options[12]=""
|
options[12]=""
|
||||||
style[12]="{\"shape\":\"circle\",\"image\":\"images/networkmap/apple@os.svg\",\"width\":null,\"height\":null,\"label\":\"macos-2\"}"
|
style[12]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/apple@os.svg\",\"width\":null,\"height\":null,\"label\":\"macos-2\"}"
|
||||||
|
|
||||||
id[13]="13"
|
id[13]="13"
|
||||||
id_map[13]="2"
|
id_map[13]="2"
|
||||||
@ -196,7 +196,7 @@ refresh[13]="0"
|
|||||||
source[13]="0"
|
source[13]="0"
|
||||||
source_data[13]="{\"tagente\":{\"nombre\":\"windows-3\"}}"
|
source_data[13]="{\"tagente\":{\"nombre\":\"windows-3\"}}"
|
||||||
options[13]=""
|
options[13]=""
|
||||||
style[13]="{\"shape\":\"circle\",\"image\":\"images/networkmap/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-3\"}"
|
style[13]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-3\"}"
|
||||||
|
|
||||||
id[14]="14"
|
id[14]="14"
|
||||||
id_map[14]="2"
|
id_map[14]="2"
|
||||||
@ -209,7 +209,7 @@ refresh[14]="0"
|
|||||||
source[14]="0"
|
source[14]="0"
|
||||||
source_data[14]="{\"tagente\":{\"nombre\":\"windows-4\"}}"
|
source_data[14]="{\"tagente\":{\"nombre\":\"windows-4\"}}"
|
||||||
options[14]=""
|
options[14]=""
|
||||||
style[14]="{\"shape\":\"circle\",\"image\":\"images/networkmap/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-4\"}"
|
style[14]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-4\"}"
|
||||||
|
|
||||||
id[15]="15"
|
id[15]="15"
|
||||||
id_map[15]="2"
|
id_map[15]="2"
|
||||||
@ -222,7 +222,7 @@ refresh[15]="0"
|
|||||||
source[15]="0"
|
source[15]="0"
|
||||||
source_data[15]="{\"tagente\":{\"nombre\":\"linux-5\"}}"
|
source_data[15]="{\"tagente\":{\"nombre\":\"linux-5\"}}"
|
||||||
options[15]=""
|
options[15]=""
|
||||||
style[15]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-5\"}"
|
style[15]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-5\"}"
|
||||||
|
|
||||||
id[16]="16"
|
id[16]="16"
|
||||||
id_map[16]="2"
|
id_map[16]="2"
|
||||||
@ -235,7 +235,7 @@ refresh[16]="0"
|
|||||||
source[16]="0"
|
source[16]="0"
|
||||||
source_data[16]="{\"tagente\":{\"nombre\":\"linux-6\"}}"
|
source_data[16]="{\"tagente\":{\"nombre\":\"linux-6\"}}"
|
||||||
options[16]=""
|
options[16]=""
|
||||||
style[16]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-6\"}"
|
style[16]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-6\"}"
|
||||||
|
|
||||||
id[17]="17"
|
id[17]="17"
|
||||||
id_map[17]="2"
|
id_map[17]="2"
|
||||||
@ -248,7 +248,7 @@ refresh[17]="0"
|
|||||||
source[17]="0"
|
source[17]="0"
|
||||||
source_data[17]="{\"tagente\":{\"nombre\":\"linux-7\"}}"
|
source_data[17]="{\"tagente\":{\"nombre\":\"linux-7\"}}"
|
||||||
options[17]=""
|
options[17]=""
|
||||||
style[17]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-7\"}"
|
style[17]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-7\"}"
|
||||||
|
|
||||||
id[18]="18"
|
id[18]="18"
|
||||||
id_map[18]="2"
|
id_map[18]="2"
|
||||||
@ -261,7 +261,7 @@ refresh[18]="0"
|
|||||||
source[18]="0"
|
source[18]="0"
|
||||||
source_data[18]="{\"tagente\":{\"nombre\":\"linux-8\"}}"
|
source_data[18]="{\"tagente\":{\"nombre\":\"linux-8\"}}"
|
||||||
options[18]=""
|
options[18]=""
|
||||||
style[18]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-8\"}"
|
style[18]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-8\"}"
|
||||||
|
|
||||||
id[19]="19"
|
id[19]="19"
|
||||||
id_map[19]="2"
|
id_map[19]="2"
|
||||||
@ -274,7 +274,7 @@ refresh[19]="0"
|
|||||||
source[19]="0"
|
source[19]="0"
|
||||||
source_data[19]="{\"tagente\":{\"nombre\":\"cisco-3\"}}"
|
source_data[19]="{\"tagente\":{\"nombre\":\"cisco-3\"}}"
|
||||||
options[19]=""
|
options[19]=""
|
||||||
style[19]="{\"shape\":\"circle\",\"image\":\"images/networkmap/cisco@os.svg\",\"width\":null,\"height\":null,\"label\":\"cisco-3\"}"
|
style[19]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/cisco@os.svg\",\"width\":null,\"height\":null,\"label\":\"cisco-3\"}"
|
||||||
|
|
||||||
id[20]="20"
|
id[20]="20"
|
||||||
id_map[20]="2"
|
id_map[20]="2"
|
||||||
@ -287,7 +287,7 @@ refresh[20]="0"
|
|||||||
source[20]="0"
|
source[20]="0"
|
||||||
source_data[20]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
source_data[20]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
||||||
options[20]=""
|
options[20]=""
|
||||||
style[20]="{\"shape\":\"circle\",\"image\":\"images/networkmap/freebsd@os.svg\",\"width\":null,\"height\":null,\"label\":\"freebsd-3\"}"
|
style[20]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/freebsd@os.svg\",\"width\":null,\"height\":null,\"label\":\"freebsd-3\"}"
|
||||||
|
|
||||||
id[21]="21"
|
id[21]="21"
|
||||||
id_map[21]="2"
|
id_map[21]="2"
|
||||||
@ -300,7 +300,7 @@ refresh[21]="0"
|
|||||||
source[21]="0"
|
source[21]="0"
|
||||||
source_data[21]="{\"tagente\":{\"nombre\":\"macos-3\"}}"
|
source_data[21]="{\"tagente\":{\"nombre\":\"macos-3\"}}"
|
||||||
options[21]=""
|
options[21]=""
|
||||||
style[21]="{\"shape\":\"circle\",\"image\":\"images/networkmap/apple@os.svg\",\"width\":null,\"height\":null,\"label\":\"macos-3\"}"
|
style[21]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/apple@os.svg\",\"width\":null,\"height\":null,\"label\":\"macos-3\"}"
|
||||||
|
|
||||||
id[22]="22"
|
id[22]="22"
|
||||||
id_map[22]="2"
|
id_map[22]="2"
|
||||||
@ -313,7 +313,7 @@ refresh[22]="0"
|
|||||||
source[22]="0"
|
source[22]="0"
|
||||||
source_data[22]="{\"tagente\":{\"nombre\":\"windows-5\"}}"
|
source_data[22]="{\"tagente\":{\"nombre\":\"windows-5\"}}"
|
||||||
options[22]=""
|
options[22]=""
|
||||||
style[22]="{\"shape\":\"circle\",\"image\":\"images/networkmap/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-5\"}"
|
style[22]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-5\"}"
|
||||||
|
|
||||||
id[23]="23"
|
id[23]="23"
|
||||||
id_map[23]="2"
|
id_map[23]="2"
|
||||||
@ -326,7 +326,7 @@ refresh[23]="0"
|
|||||||
source[23]="0"
|
source[23]="0"
|
||||||
source_data[23]="{\"tagente\":{\"nombre\":\"windows-6\"}}"
|
source_data[23]="{\"tagente\":{\"nombre\":\"windows-6\"}}"
|
||||||
options[23]=""
|
options[23]=""
|
||||||
style[23]="{\"shape\":\"circle\",\"image\":\"images/networkmap/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-6\"}"
|
style[23]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/windows@os.svg\",\"width\":null,\"height\":null,\"label\":\"windows-6\"}"
|
||||||
|
|
||||||
id[24]="24"
|
id[24]="24"
|
||||||
id_map[24]="2"
|
id_map[24]="2"
|
||||||
@ -339,7 +339,7 @@ refresh[24]="0"
|
|||||||
source[24]="0"
|
source[24]="0"
|
||||||
source_data[24]="{\"tagente\":{\"nombre\":\"linux-9\"}}"
|
source_data[24]="{\"tagente\":{\"nombre\":\"linux-9\"}}"
|
||||||
options[24]=""
|
options[24]=""
|
||||||
style[24]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-9\"}"
|
style[24]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-9\"}"
|
||||||
|
|
||||||
id[25]="25"
|
id[25]="25"
|
||||||
id_map[25]="2"
|
id_map[25]="2"
|
||||||
@ -352,7 +352,7 @@ refresh[25]="0"
|
|||||||
source[25]="0"
|
source[25]="0"
|
||||||
source_data[25]="{\"tagente\":{\"nombre\":\"linux-10\"}}"
|
source_data[25]="{\"tagente\":{\"nombre\":\"linux-10\"}}"
|
||||||
options[25]=""
|
options[25]=""
|
||||||
style[25]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-10\"}"
|
style[25]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-10\"}"
|
||||||
|
|
||||||
id[26]="26"
|
id[26]="26"
|
||||||
id_map[26]="2"
|
id_map[26]="2"
|
||||||
@ -365,7 +365,7 @@ refresh[26]="0"
|
|||||||
source[26]="0"
|
source[26]="0"
|
||||||
source_data[26]="{\"tagente\":{\"nombre\":\"linux-11\"}}"
|
source_data[26]="{\"tagente\":{\"nombre\":\"linux-11\"}}"
|
||||||
options[26]=""
|
options[26]=""
|
||||||
style[26]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-11\"}"
|
style[26]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-11\"}"
|
||||||
|
|
||||||
id[27]="27"
|
id[27]="27"
|
||||||
id_map[27]="2"
|
id_map[27]="2"
|
||||||
@ -378,13 +378,13 @@ refresh[27]="0"
|
|||||||
source[27]="0"
|
source[27]="0"
|
||||||
source_data[27]="{\"tagente\":{\"nombre\":\"linux-12\"}}"
|
source_data[27]="{\"tagente\":{\"nombre\":\"linux-12\"}}"
|
||||||
options[27]=""
|
options[27]=""
|
||||||
style[27]="{\"shape\":\"circle\",\"image\":\"images/networkmap/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-12\"}"
|
style[27]="{\"shape\":\"circle\",\"image\":\"images\/networkmap\/linux@os.svg\",\"width\":null,\"height\":null,\"label\":\"linux-12\"}"
|
||||||
|
|
||||||
[trel_item]
|
[trel_item]
|
||||||
|
|
||||||
id[1]="1"
|
id[1]="1"
|
||||||
id_parent[1]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"12\",\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
id_parent[1]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-1\"}},\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
||||||
id_child[1]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"11\",\"x\":\"1184\",\"y\":\"-25\",\"z\":\"0\"}}"
|
id_child[1]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"freebsd-1\"}},\"x\":\"1184\",\"y\":\"-25\",\"z\":\"0\"}}"
|
||||||
id_map[1]="2"
|
id_map[1]="2"
|
||||||
id_parent_source_data[1]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
id_parent_source_data[1]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
||||||
id_child_source_data[1]="{\"tagente\":{\"nombre\":\"freebsd-1\"}}"
|
id_child_source_data[1]="{\"tagente\":{\"nombre\":\"freebsd-1\"}}"
|
||||||
@ -394,8 +394,8 @@ id_item[1]="0"
|
|||||||
deleted[1]="0"
|
deleted[1]="0"
|
||||||
|
|
||||||
id[2]="2"
|
id[2]="2"
|
||||||
id_parent[2]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"12\",\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
id_parent[2]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-1\"}},\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
||||||
id_child[2]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"10\",\"x\":\"1268\",\"y\":\"235\",\"z\":\"0\"}}"
|
id_child[2]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"macos-1\"}},\"x\":\"1268\",\"y\":\"235\",\"z\":\"0\"}}"
|
||||||
id_map[2]="2"
|
id_map[2]="2"
|
||||||
id_parent_source_data[2]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
id_parent_source_data[2]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
||||||
id_child_source_data[2]="{\"tagente\":{\"nombre\":\"macos-1\"}}"
|
id_child_source_data[2]="{\"tagente\":{\"nombre\":\"macos-1\"}}"
|
||||||
@ -405,8 +405,8 @@ id_item[2]="0"
|
|||||||
deleted[2]="0"
|
deleted[2]="0"
|
||||||
|
|
||||||
id[3]="3"
|
id[3]="3"
|
||||||
id_parent[3]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"12\",\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
id_parent[3]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-1\"}},\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
||||||
id_child[3]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"8\",\"x\":\"528\",\"y\":\"-37\",\"z\":\"0\"}}"
|
id_child[3]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-1\"}},\"x\":\"528\",\"y\":\"-37\",\"z\":\"0\"}}"
|
||||||
id_map[3]="2"
|
id_map[3]="2"
|
||||||
id_parent_source_data[3]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
id_parent_source_data[3]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
||||||
id_child_source_data[3]="{\"tagente\":{\"nombre\":\"windows-1\"}}"
|
id_child_source_data[3]="{\"tagente\":{\"nombre\":\"windows-1\"}}"
|
||||||
@ -416,8 +416,8 @@ id_item[3]="0"
|
|||||||
deleted[3]="0"
|
deleted[3]="0"
|
||||||
|
|
||||||
id[4]="4"
|
id[4]="4"
|
||||||
id_parent[4]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"12\",\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
id_parent[4]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-1\"}},\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
||||||
id_child[4]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"9\",\"x\":\"514\",\"y\":\"389\",\"z\":\"0\"}}"
|
id_child[4]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-2\"}},\"x\":\"514\",\"y\":\"389\",\"z\":\"0\"}}"
|
||||||
id_map[4]="2"
|
id_map[4]="2"
|
||||||
id_parent_source_data[4]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
id_parent_source_data[4]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
||||||
id_child_source_data[4]="{\"tagente\":{\"nombre\":\"windows-2\"}}"
|
id_child_source_data[4]="{\"tagente\":{\"nombre\":\"windows-2\"}}"
|
||||||
@ -427,8 +427,8 @@ id_item[4]="0"
|
|||||||
deleted[4]="0"
|
deleted[4]="0"
|
||||||
|
|
||||||
id[5]="5"
|
id[5]="5"
|
||||||
id_parent[5]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"8\",\"x\":\"528\",\"y\":\"-37\",\"z\":\"0\"}}"
|
id_parent[5]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-1\"}},\"x\":\"528\",\"y\":\"-37\",\"z\":\"0\"}}"
|
||||||
id_child[5]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"4\",\"x\":\"342\",\"y\":\"-273\",\"z\":\"0\"}}"
|
id_child[5]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-1\"}},\"x\":\"342\",\"y\":\"-273\",\"z\":\"0\"}}"
|
||||||
id_map[5]="2"
|
id_map[5]="2"
|
||||||
id_parent_source_data[5]="{\"tagente\":{\"nombre\":\"windows-1\"}}"
|
id_parent_source_data[5]="{\"tagente\":{\"nombre\":\"windows-1\"}}"
|
||||||
id_child_source_data[5]="{\"tagente\":{\"nombre\":\"linux-1\"}}"
|
id_child_source_data[5]="{\"tagente\":{\"nombre\":\"linux-1\"}}"
|
||||||
@ -438,8 +438,8 @@ id_item[5]="0"
|
|||||||
deleted[5]="0"
|
deleted[5]="0"
|
||||||
|
|
||||||
id[6]="6"
|
id[6]="6"
|
||||||
id_parent[6]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"8\",\"x\":\"528\",\"y\":\"-37\",\"z\":\"0\"}}"
|
id_parent[6]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-1\"}},\"x\":\"528\",\"y\":\"-37\",\"z\":\"0\"}}"
|
||||||
id_child[6]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"5\",\"x\":\"240\",\"y\":\"-7\",\"z\":\"0\"}}"
|
id_child[6]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-2\"}},\"x\":\"240\",\"y\":\"-7\",\"z\":\"0\"}}"
|
||||||
id_map[6]="2"
|
id_map[6]="2"
|
||||||
id_parent_source_data[6]="{\"tagente\":{\"nombre\":\"windows-1\"}}"
|
id_parent_source_data[6]="{\"tagente\":{\"nombre\":\"windows-1\"}}"
|
||||||
id_child_source_data[6]="{\"tagente\":{\"nombre\":\"linux-2\"}}"
|
id_child_source_data[6]="{\"tagente\":{\"nombre\":\"linux-2\"}}"
|
||||||
@ -449,8 +449,8 @@ id_item[6]="0"
|
|||||||
deleted[6]="0"
|
deleted[6]="0"
|
||||||
|
|
||||||
id[7]="7"
|
id[7]="7"
|
||||||
id_parent[7]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"9\",\"x\":\"514\",\"y\":\"389\",\"z\":\"0\"}}"
|
id_parent[7]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-2\"}},\"x\":\"514\",\"y\":\"389\",\"z\":\"0\"}}"
|
||||||
id_child[7]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"6\",\"x\":\"214\",\"y\":\"275\",\"z\":\"0\"}}"
|
id_child[7]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-3\"}},\"x\":\"214\",\"y\":\"275\",\"z\":\"0\"}}"
|
||||||
id_map[7]="2"
|
id_map[7]="2"
|
||||||
id_parent_source_data[7]="{\"tagente\":{\"nombre\":\"windows-2\"}}"
|
id_parent_source_data[7]="{\"tagente\":{\"nombre\":\"windows-2\"}}"
|
||||||
id_child_source_data[7]="{\"tagente\":{\"nombre\":\"linux-3\"}}"
|
id_child_source_data[7]="{\"tagente\":{\"nombre\":\"linux-3\"}}"
|
||||||
@ -460,8 +460,8 @@ id_item[7]="0"
|
|||||||
deleted[7]="0"
|
deleted[7]="0"
|
||||||
|
|
||||||
id[8]="8"
|
id[8]="8"
|
||||||
id_parent[8]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"9\",\"x\":\"514\",\"y\":\"389\",\"z\":\"0\"}}"
|
id_parent[8]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-2\"}},\"x\":\"514\",\"y\":\"389\",\"z\":\"0\"}}"
|
||||||
id_child[8]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"7\",\"x\":\"226\",\"y\":\"595\",\"z\":\"0\"}}"
|
id_child[8]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-4\"}},\"x\":\"226\",\"y\":\"595\",\"z\":\"0\"}}"
|
||||||
id_map[8]="2"
|
id_map[8]="2"
|
||||||
id_parent_source_data[8]="{\"tagente\":{\"nombre\":\"windows-2\"}}"
|
id_parent_source_data[8]="{\"tagente\":{\"nombre\":\"windows-2\"}}"
|
||||||
id_child_source_data[8]="{\"tagente\":{\"nombre\":\"linux-4\"}}"
|
id_child_source_data[8]="{\"tagente\":{\"nombre\":\"linux-4\"}}"
|
||||||
@ -471,8 +471,8 @@ id_item[8]="0"
|
|||||||
deleted[8]="0"
|
deleted[8]="0"
|
||||||
|
|
||||||
id[9]="9"
|
id[9]="9"
|
||||||
id_parent[9]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"12\",\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
id_parent[9]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-1\"}},\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
||||||
id_child[9]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"22\",\"x\":\"1036\",\"y\":\"711\",\"z\":\"0\"}}"
|
id_child[9]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-2\"}},\"x\":\"1036\",\"y\":\"711\",\"z\":\"0\"}}"
|
||||||
id_map[9]="2"
|
id_map[9]="2"
|
||||||
id_parent_source_data[9]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
id_parent_source_data[9]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
||||||
id_child_source_data[9]="{\"tagente\":{\"nombre\":\"cisco-2\"}}"
|
id_child_source_data[9]="{\"tagente\":{\"nombre\":\"cisco-2\"}}"
|
||||||
@ -482,8 +482,8 @@ id_item[9]="0"
|
|||||||
deleted[9]="0"
|
deleted[9]="0"
|
||||||
|
|
||||||
id[10]="10"
|
id[10]="10"
|
||||||
id_parent[10]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"12\",\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
id_parent[10]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-1\"}},\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
||||||
id_child[10]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"21\",\"x\":\"892\",\"y\":\"-47\",\"z\":\"0\"}}"
|
id_child[10]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"freebsd-2\"}},\"x\":\"892\",\"y\":\"-47\",\"z\":\"0\"}}"
|
||||||
id_map[10]="2"
|
id_map[10]="2"
|
||||||
id_parent_source_data[10]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
id_parent_source_data[10]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
||||||
id_child_source_data[10]="{\"tagente\":{\"nombre\":\"freebsd-2\"}}"
|
id_child_source_data[10]="{\"tagente\":{\"nombre\":\"freebsd-2\"}}"
|
||||||
@ -493,8 +493,8 @@ id_item[10]="0"
|
|||||||
deleted[10]="0"
|
deleted[10]="0"
|
||||||
|
|
||||||
id[11]="11"
|
id[11]="11"
|
||||||
id_parent[11]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"12\",\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
id_parent[11]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-1\"}},\"x\":\"854\",\"y\":\"221\",\"z\":\"0\"}}"
|
||||||
id_child[11]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"20\",\"x\":\"1150\",\"y\":\"409\",\"z\":\"0\"}}"
|
id_child[11]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"macos-2\"}},\"x\":\"1150\",\"y\":\"409\",\"z\":\"0\"}}"
|
||||||
id_map[11]="2"
|
id_map[11]="2"
|
||||||
id_parent_source_data[11]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
id_parent_source_data[11]="{\"tagente\":{\"nombre\":\"cisco-1\"}}"
|
||||||
id_child_source_data[11]="{\"tagente\":{\"nombre\":\"macos-2\"}}"
|
id_child_source_data[11]="{\"tagente\":{\"nombre\":\"macos-2\"}}"
|
||||||
@ -504,8 +504,8 @@ id_item[11]="0"
|
|||||||
deleted[11]="0"
|
deleted[11]="0"
|
||||||
|
|
||||||
id[12]="12"
|
id[12]="12"
|
||||||
id_parent[12]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"22\",\"x\":\"1036\",\"y\":\"711\",\"z\":\"0\"}}"
|
id_parent[12]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-2\"}},\"x\":\"1036\",\"y\":\"711\",\"z\":\"0\"}}"
|
||||||
id_child[12]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"18\",\"x\":\"686\",\"y\":\"875\",\"z\":\"0\"}}"
|
id_child[12]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-3\"}},\"x\":\"686\",\"y\":\"875\",\"z\":\"0\"}}"
|
||||||
id_map[12]="2"
|
id_map[12]="2"
|
||||||
id_parent_source_data[12]="{\"tagente\":{\"nombre\":\"cisco-2\"}}"
|
id_parent_source_data[12]="{\"tagente\":{\"nombre\":\"cisco-2\"}}"
|
||||||
id_child_source_data[12]="{\"tagente\":{\"nombre\":\"windows-3\"}}"
|
id_child_source_data[12]="{\"tagente\":{\"nombre\":\"windows-3\"}}"
|
||||||
@ -515,8 +515,8 @@ id_item[12]="0"
|
|||||||
deleted[12]="0"
|
deleted[12]="0"
|
||||||
|
|
||||||
id[13]="13"
|
id[13]="13"
|
||||||
id_parent[13]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"22\",\"x\":\"1036\",\"y\":\"711\",\"z\":\"0\"}}"
|
id_parent[13]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-2\"}},\"x\":\"1036\",\"y\":\"711\",\"z\":\"0\"}}"
|
||||||
id_child[13]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"19\",\"x\":\"1452\",\"y\":\"847\",\"z\":\"0\"}}"
|
id_child[13]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-4\"}},\"x\":\"1452\",\"y\":\"847\",\"z\":\"0\"}}"
|
||||||
id_map[13]="2"
|
id_map[13]="2"
|
||||||
id_parent_source_data[13]="{\"tagente\":{\"nombre\":\"cisco-2\"}}"
|
id_parent_source_data[13]="{\"tagente\":{\"nombre\":\"cisco-2\"}}"
|
||||||
id_child_source_data[13]="{\"tagente\":{\"nombre\":\"windows-4\"}}"
|
id_child_source_data[13]="{\"tagente\":{\"nombre\":\"windows-4\"}}"
|
||||||
@ -526,8 +526,8 @@ id_item[13]="0"
|
|||||||
deleted[13]="0"
|
deleted[13]="0"
|
||||||
|
|
||||||
id[14]="14"
|
id[14]="14"
|
||||||
id_parent[14]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"18\",\"x\":\"686\",\"y\":\"875\",\"z\":\"0\"}}"
|
id_parent[14]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-3\"}},\"x\":\"686\",\"y\":\"875\",\"z\":\"0\"}}"
|
||||||
id_child[14]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"14\",\"x\":\"314\",\"y\":\"845\",\"z\":\"0\"}}"
|
id_child[14]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-5\"}},\"x\":\"314\",\"y\":\"845\",\"z\":\"0\"}}"
|
||||||
id_map[14]="2"
|
id_map[14]="2"
|
||||||
id_parent_source_data[14]="{\"tagente\":{\"nombre\":\"windows-3\"}}"
|
id_parent_source_data[14]="{\"tagente\":{\"nombre\":\"windows-3\"}}"
|
||||||
id_child_source_data[14]="{\"tagente\":{\"nombre\":\"linux-5\"}}"
|
id_child_source_data[14]="{\"tagente\":{\"nombre\":\"linux-5\"}}"
|
||||||
@ -537,8 +537,8 @@ id_item[14]="0"
|
|||||||
deleted[14]="0"
|
deleted[14]="0"
|
||||||
|
|
||||||
id[15]="15"
|
id[15]="15"
|
||||||
id_parent[15]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"18\",\"x\":\"686\",\"y\":\"875\",\"z\":\"0\"}}"
|
id_parent[15]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-3\"}},\"x\":\"686\",\"y\":\"875\",\"z\":\"0\"}}"
|
||||||
id_child[15]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"15\",\"x\":\"474\",\"y\":\"1043\",\"z\":\"0\"}}"
|
id_child[15]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-6\"}},\"x\":\"474\",\"y\":\"1043\",\"z\":\"0\"}}"
|
||||||
id_map[15]="2"
|
id_map[15]="2"
|
||||||
id_parent_source_data[15]="{\"tagente\":{\"nombre\":\"windows-3\"}}"
|
id_parent_source_data[15]="{\"tagente\":{\"nombre\":\"windows-3\"}}"
|
||||||
id_child_source_data[15]="{\"tagente\":{\"nombre\":\"linux-6\"}}"
|
id_child_source_data[15]="{\"tagente\":{\"nombre\":\"linux-6\"}}"
|
||||||
@ -548,8 +548,8 @@ id_item[15]="0"
|
|||||||
deleted[15]="0"
|
deleted[15]="0"
|
||||||
|
|
||||||
id[16]="16"
|
id[16]="16"
|
||||||
id_parent[16]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"19\",\"x\":\"1452\",\"y\":\"847\",\"z\":\"0\"}}"
|
id_parent[16]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-4\"}},\"x\":\"1452\",\"y\":\"847\",\"z\":\"0\"}}"
|
||||||
id_child[16]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"16\",\"x\":\"1812\",\"y\":\"1011\",\"z\":\"0\"}}"
|
id_child[16]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-7\"}},\"x\":\"1812\",\"y\":\"1011\",\"z\":\"0\"}}"
|
||||||
id_map[16]="2"
|
id_map[16]="2"
|
||||||
id_parent_source_data[16]="{\"tagente\":{\"nombre\":\"windows-4\"}}"
|
id_parent_source_data[16]="{\"tagente\":{\"nombre\":\"windows-4\"}}"
|
||||||
id_child_source_data[16]="{\"tagente\":{\"nombre\":\"linux-7\"}}"
|
id_child_source_data[16]="{\"tagente\":{\"nombre\":\"linux-7\"}}"
|
||||||
@ -559,8 +559,8 @@ id_item[16]="0"
|
|||||||
deleted[16]="0"
|
deleted[16]="0"
|
||||||
|
|
||||||
id[17]="17"
|
id[17]="17"
|
||||||
id_parent[17]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"19\",\"x\":\"1452\",\"y\":\"847\",\"z\":\"0\"}}"
|
id_parent[17]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-4\"}},\"x\":\"1452\",\"y\":\"847\",\"z\":\"0\"}}"
|
||||||
id_child[17]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"17\",\"x\":\"1828\",\"y\":\"723\",\"z\":\"0\"}}"
|
id_child[17]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-8\"}},\"x\":\"1828\",\"y\":\"723\",\"z\":\"0\"}}"
|
||||||
id_map[17]="2"
|
id_map[17]="2"
|
||||||
id_parent_source_data[17]="{\"tagente\":{\"nombre\":\"windows-4\"}}"
|
id_parent_source_data[17]="{\"tagente\":{\"nombre\":\"windows-4\"}}"
|
||||||
id_child_source_data[17]="{\"tagente\":{\"nombre\":\"linux-8\"}}"
|
id_child_source_data[17]="{\"tagente\":{\"nombre\":\"linux-8\"}}"
|
||||||
@ -570,8 +570,8 @@ id_item[17]="0"
|
|||||||
deleted[17]="0"
|
deleted[17]="0"
|
||||||
|
|
||||||
id[18]="18"
|
id[18]="18"
|
||||||
id_parent[18]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"10\",\"x\":\"1268\",\"y\":\"235\",\"z\":\"0\"}}"
|
id_parent[18]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"macos-1\"}},\"x\":\"1268\",\"y\":\"235\",\"z\":\"0\"}}"
|
||||||
id_child[18]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"32\",\"x\":\"1824\",\"y\":\"285\",\"z\":\"0\"}}"
|
id_child[18]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-3\"}},\"x\":\"1824\",\"y\":\"285\",\"z\":\"0\"}}"
|
||||||
id_map[18]="2"
|
id_map[18]="2"
|
||||||
id_parent_source_data[18]="{\"tagente\":{\"nombre\":\"macos-1\"}}"
|
id_parent_source_data[18]="{\"tagente\":{\"nombre\":\"macos-1\"}}"
|
||||||
id_child_source_data[18]="{\"tagente\":{\"nombre\":\"cisco-3\"}}"
|
id_child_source_data[18]="{\"tagente\":{\"nombre\":\"cisco-3\"}}"
|
||||||
@ -581,8 +581,8 @@ id_item[18]="0"
|
|||||||
deleted[18]="0"
|
deleted[18]="0"
|
||||||
|
|
||||||
id[19]="19"
|
id[19]="19"
|
||||||
id_parent[19]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"7\",\"x\":\"226\",\"y\":\"595\",\"z\":\"0\"}}"
|
id_parent[19]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-4\"}},\"x\":\"226\",\"y\":\"595\",\"z\":\"0\"}}"
|
||||||
id_child[19]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"31\",\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
id_child[19]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"freebsd-3\"}},\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
||||||
id_map[19]="2"
|
id_map[19]="2"
|
||||||
id_parent_source_data[19]="{\"tagente\":{\"nombre\":\"linux-4\"}}"
|
id_parent_source_data[19]="{\"tagente\":{\"nombre\":\"linux-4\"}}"
|
||||||
id_child_source_data[19]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
id_child_source_data[19]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
||||||
@ -592,8 +592,8 @@ id_item[19]="0"
|
|||||||
deleted[19]="0"
|
deleted[19]="0"
|
||||||
|
|
||||||
id[20]="20"
|
id[20]="20"
|
||||||
id_parent[20]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"31\",\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
id_parent[20]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"freebsd-3\"}},\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
||||||
id_child[20]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"30\",\"x\":\"-140\",\"y\":\"299\",\"z\":\"0\"}}"
|
id_child[20]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"macos-3\"}},\"x\":\"-140\",\"y\":\"299\",\"z\":\"0\"}}"
|
||||||
id_map[20]="2"
|
id_map[20]="2"
|
||||||
id_parent_source_data[20]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
id_parent_source_data[20]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
||||||
id_child_source_data[20]="{\"tagente\":{\"nombre\":\"macos-3\"}}"
|
id_child_source_data[20]="{\"tagente\":{\"nombre\":\"macos-3\"}}"
|
||||||
@ -603,8 +603,8 @@ id_item[20]="0"
|
|||||||
deleted[20]="0"
|
deleted[20]="0"
|
||||||
|
|
||||||
id[21]="21"
|
id[21]="21"
|
||||||
id_parent[21]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"31\",\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
id_parent[21]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"freebsd-3\"}},\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
||||||
id_child[21]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"28\",\"x\":\"-390\",\"y\":\"385\",\"z\":\"0\"}}"
|
id_child[21]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-5\"}},\"x\":\"-390\",\"y\":\"385\",\"z\":\"0\"}}"
|
||||||
id_map[21]="2"
|
id_map[21]="2"
|
||||||
id_parent_source_data[21]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
id_parent_source_data[21]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
||||||
id_child_source_data[21]="{\"tagente\":{\"nombre\":\"windows-5\"}}"
|
id_child_source_data[21]="{\"tagente\":{\"nombre\":\"windows-5\"}}"
|
||||||
@ -614,8 +614,8 @@ id_item[21]="0"
|
|||||||
deleted[21]="0"
|
deleted[21]="0"
|
||||||
|
|
||||||
id[22]="22"
|
id[22]="22"
|
||||||
id_parent[22]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"31\",\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
id_parent[22]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"freebsd-3\"}},\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
||||||
id_child[22]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"29\",\"x\":\"-470\",\"y\":\"671\",\"z\":\"0\"}}"
|
id_child[22]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"windows-6\"}},\"x\":\"-470\",\"y\":\"671\",\"z\":\"0\"}}"
|
||||||
id_map[22]="2"
|
id_map[22]="2"
|
||||||
id_parent_source_data[22]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
id_parent_source_data[22]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
||||||
id_child_source_data[22]="{\"tagente\":{\"nombre\":\"windows-6\"}}"
|
id_child_source_data[22]="{\"tagente\":{\"nombre\":\"windows-6\"}}"
|
||||||
@ -625,8 +625,8 @@ id_item[22]="0"
|
|||||||
deleted[22]="0"
|
deleted[22]="0"
|
||||||
|
|
||||||
id[23]="23"
|
id[23]="23"
|
||||||
id_parent[23]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"31\",\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
id_parent[23]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"freebsd-3\"}},\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
||||||
id_child[23]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"24\",\"x\":\"-296\",\"y\":\"899\",\"z\":\"0\"}}"
|
id_child[23]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-9\"}},\"x\":\"-296\",\"y\":\"899\",\"z\":\"0\"}}"
|
||||||
id_map[23]="2"
|
id_map[23]="2"
|
||||||
id_parent_source_data[23]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
id_parent_source_data[23]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
||||||
id_child_source_data[23]="{\"tagente\":{\"nombre\":\"linux-9\"}}"
|
id_child_source_data[23]="{\"tagente\":{\"nombre\":\"linux-9\"}}"
|
||||||
@ -636,8 +636,8 @@ id_item[23]="0"
|
|||||||
deleted[23]="0"
|
deleted[23]="0"
|
||||||
|
|
||||||
id[24]="24"
|
id[24]="24"
|
||||||
id_parent[24]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"31\",\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
id_parent[24]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"freebsd-3\"}},\"x\":\"-82\",\"y\":\"583\",\"z\":\"0\"}}"
|
||||||
id_child[24]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"25\",\"x\":\"-25\",\"y\":\"961\",\"z\":\"0\"}}"
|
id_child[24]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-10\"}},\"x\":\"-25\",\"y\":\"961\",\"z\":\"0\"}}"
|
||||||
id_map[24]="2"
|
id_map[24]="2"
|
||||||
id_parent_source_data[24]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
id_parent_source_data[24]="{\"tagente\":{\"nombre\":\"freebsd-3\"}}"
|
||||||
id_child_source_data[24]="{\"tagente\":{\"nombre\":\"linux-10\"}}"
|
id_child_source_data[24]="{\"tagente\":{\"nombre\":\"linux-10\"}}"
|
||||||
@ -647,8 +647,8 @@ id_item[24]="0"
|
|||||||
deleted[24]="0"
|
deleted[24]="0"
|
||||||
|
|
||||||
id[25]="25"
|
id[25]="25"
|
||||||
id_parent[25]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"32\",\"x\":\"1824\",\"y\":\"285\",\"z\":\"0\"}}"
|
id_parent[25]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-3\"}},\"x\":\"1824\",\"y\":\"285\",\"z\":\"0\"}}"
|
||||||
id_child[25]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"26\",\"x\":\"1683\",\"y\":\"13\",\"z\":\"0\"}}"
|
id_child[25]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-11\"}},\"x\":\"1683\",\"y\":\"13\",\"z\":\"0\"}}"
|
||||||
id_map[25]="2"
|
id_map[25]="2"
|
||||||
id_parent_source_data[25]="{\"tagente\":{\"nombre\":\"cisco-3\"}}"
|
id_parent_source_data[25]="{\"tagente\":{\"nombre\":\"cisco-3\"}}"
|
||||||
id_child_source_data[25]="{\"tagente\":{\"nombre\":\"linux-11\"}}"
|
id_child_source_data[25]="{\"tagente\":{\"nombre\":\"linux-11\"}}"
|
||||||
@ -658,8 +658,8 @@ id_item[25]="0"
|
|||||||
deleted[25]="0"
|
deleted[25]="0"
|
||||||
|
|
||||||
id[26]="26"
|
id[26]="26"
|
||||||
id_parent[26]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"32\",\"x\":\"1824\",\"y\":\"285\",\"z\":\"0\"}}"
|
id_parent[26]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"cisco-3\"}},\"x\":\"1824\",\"y\":\"285\",\"z\":\"0\"}}"
|
||||||
id_child[26]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":\"27\",\"x\":\"2135\",\"y\":\"51\",\"z\":\"0\"}}"
|
id_child[26]="{\"titem\":{\"id_map\":\"2\",\"type\":\"0\",\"source_data\":{\"tagente\":{\"nombre\":\"linux-12\"}},\"x\":\"2135\",\"y\":\"51\",\"z\":\"0\"}}"
|
||||||
id_map[26]="2"
|
id_map[26]="2"
|
||||||
id_parent_source_data[26]="{\"tagente\":{\"nombre\":\"cisco-3\"}}"
|
id_parent_source_data[26]="{\"tagente\":{\"nombre\":\"cisco-3\"}}"
|
||||||
id_child_source_data[26]="{\"tagente\":{\"nombre\":\"linux-12\"}}"
|
id_child_source_data[26]="{\"tagente\":{\"nombre\":\"linux-12\"}}"
|
||||||
|
@ -2,6 +2,9 @@ START TRANSACTION;
|
|||||||
|
|
||||||
DROP TABLE tskin;
|
DROP TABLE tskin;
|
||||||
|
|
||||||
|
ALTER TABLE `tusuario`
|
||||||
|
ADD COLUMN `stop_lts_modal` TINYINT NOT NULL DEFAULT 0 AFTER `session_max_time_expire`;
|
||||||
|
|
||||||
-- START MIGRATION MSSQL --
|
-- START MIGRATION MSSQL --
|
||||||
SET @current_app_type = 12;
|
SET @current_app_type = 12;
|
||||||
SET @short_name = 'pandorafms.mssql';
|
SET @short_name = 'pandorafms.mssql';
|
||||||
@ -7673,4 +7676,35 @@ UPDATE `trecon_task`
|
|||||||
|
|
||||||
-- END MIGRATION SAP DESET --
|
-- END MIGRATION SAP DESET --
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/03_monitoring/06_web_monitoring' WHERE title = '¿Sabías que puedes monitorizar webs?';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_snmp' WHERE title = 'Monitorización remota de dispositivos SNMP';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_de_rutas' WHERE title = 'Monitorizar rutas desde una IP a otra';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/11_managing_and_administration#paradas_de_servicio_planificadas' WHERE title = 'Paradas planificadas';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/pandorafms/management_and_operation/01_alerts#configuracion_de_correos_para_alertas_en_pandora_fms' WHERE title = 'Personalizar los emails de alerta ';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=es/documentation/04_using/05_data_presentation_visual_maps' WHERE title = 'Usando iconos personalizados en consolas visuales ';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/05_data_presentation_visual_maps#mapa_de_calor_o_nube_de_color' WHERE title = 'Consolas visuales: mapas de calor ';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/11_managing_and_administration#log_de_auditoria' WHERE title = 'Auditoría interna de la consola ';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=es/documentation/02_installation/05_configuration_agents#configuracion_automatica_de_agentes' WHERE title = 'Sistema de provisión automática de agentes ';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/05_data_presentation_visual_maps#enlace_de_red' WHERE title = 'Enlaces de red en la consola visual ';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/08_data_presentation_reports#grafico_de_disponibilidad' WHERE title = 'Gráficas de disponibilidad ';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/es/documentation/04_using/12_console_setup?s%5B%5D%3Dcontrase%25C3%25B1as#password_policy' WHERE title = 'Política de contraseñas';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dgoogle%26s%5B%5D%3Dauth#authentication' WHERE title = 'Autenticación de doble factor ';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/03_monitoring/06_web_monitoring' WHERE title = 'Did you know that you can monitor websites?';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/11_managing_and_administration#log_de_auditoria' WHERE title = 'Console Internal Audit';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dgoogle%26s%5B%5D%' WHERE title = 'Two-factor authentication';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/05_data_presentation_visual_maps#mapa_de_cal' WHERE title = 'Visual consoles: heat maps';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/05_data_presentation_visual_maps#enlace_de_red' WHERE title = 'Network links in the visual console';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/08_data_presentation_reports#grafico_de_disp' WHERE title = 'Availability graphs';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/03_monitoring/03_remote_monitoring#monitorizacion_snmp' WHERE title = 'Remote monitoring of SNMP devices';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/03_monitoring/03_remote_monitoring#monitorizacion_de_rutas' WHERE title = 'Monitor routes from one IP to another';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/11_managing_and_administration#scheduled_downtimes' WHERE title = 'Scheduled downtimes';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/01_alerts#editing_an_action' WHERE title = 'Customize alert emails';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dcontrase%25C3%25B' WHERE title = 'password policy';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf' WHERE title = 'Automatic agent provision system';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf' WHERE title = 'Automatic agent provision system';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf' WHERE title = 'Automatic agent provision system';
|
||||||
|
UPDATE `twelcome_tip` SET url = 'https://pandorafms.com/manual/!current/start?id=en/documentation/04_using/05_data_presentation_visual_maps' WHERE title = 'Using custom icons in visual consoles';
|
||||||
|
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
@ -1049,8 +1049,10 @@ echo sprintf('<div id="header_table" class="header_table_%s">', $menuTypeClass);
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
closeOnEscape: true,
|
||||||
onload: () => {
|
onload: () => {
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
$(".ui-dialog-titlebar-close").hide();
|
||||||
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
|
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
|
||||||
$(buttonpane).append(`
|
$(buttonpane).append(`
|
||||||
<div class="welcome-wizard-buttons">
|
<div class="welcome-wizard-buttons">
|
||||||
|
@ -662,6 +662,7 @@ if ($modules !== false) {
|
|||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->class = 'tactical_table info_table';
|
$table->class = 'tactical_table info_table';
|
||||||
$table->head = [];
|
$table->head = [];
|
||||||
|
if (check_acl_one_of_groups($config['id_user'], $all_groups, 'AW') === true) {
|
||||||
$table->head['checkbox'] = html_print_checkbox(
|
$table->head['checkbox'] = html_print_checkbox(
|
||||||
'all_delete',
|
'all_delete',
|
||||||
0,
|
0,
|
||||||
@ -669,6 +670,8 @@ if ($modules !== false) {
|
|||||||
true,
|
true,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
$table->head[0] = '<span>'.__('Name').'</span>'.ui_get_sorting_arrows(
|
$table->head[0] = '<span>'.__('Name').'</span>'.ui_get_sorting_arrows(
|
||||||
$url_name.'up',
|
$url_name.'up',
|
||||||
$url_name.'down',
|
$url_name.'down',
|
||||||
@ -1262,23 +1265,11 @@ html_print_div(
|
|||||||
$('#modal').dialog("close");
|
$('#modal').dialog("close");
|
||||||
});
|
});
|
||||||
|
|
||||||
$('[id^=checkbox-id_delete]').change(function(){
|
|
||||||
if($(this).parent().parent().hasClass('checkselected')){
|
|
||||||
$(this).parent().parent().removeClass('checkselected');
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
$(this).parent().parent().addClass('checkselected');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
$('[id^=checkbox-all_delete]').change(function(){
|
$('[id^=checkbox-all_delete]').change(function(){
|
||||||
if ($("#checkbox-all_delete").prop("checked")) {
|
if ($("#checkbox-all_delete").prop("checked")) {
|
||||||
$('[id^=checkbox-id_delete]').parent().parent().addClass('checkselected');
|
|
||||||
$("[name^=id_delete").prop("checked", true);
|
$("[name^=id_delete").prop("checked", true);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$('[id^=checkbox-id_delete]').parent().parent().removeClass('checkselected');
|
|
||||||
$("[name^=id_delete").prop("checked", false);
|
$("[name^=id_delete").prop("checked", false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -259,12 +259,12 @@ $table->data[3][1] = html_print_label_input_block(
|
|||||||
|
|
||||||
$table->data[4][0] = html_print_label_input_block(
|
$table->data[4][0] = html_print_label_input_block(
|
||||||
__('Contact').ui_print_help_tip(__('Contact information accessible through the _groupcontact_ macro'), true),
|
__('Contact').ui_print_help_tip(__('Contact information accessible through the _groupcontact_ macro'), true),
|
||||||
html_print_textarea('contact', 4, 40, $contact, "class='min-height-0px'", true)
|
html_print_input_text('contact', $contact, '', false, '', true)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[4][1] = html_print_label_input_block(
|
$table->data[4][1] = html_print_label_input_block(
|
||||||
__('Other').ui_print_help_tip(__('Information accessible through the _group_other_ macro'), true),
|
__('Other').ui_print_help_tip(__('Information accessible through the _group_other_ macro'), true),
|
||||||
html_print_textarea('other', 4, 40, $other, "class='min-height-0px'", true)
|
html_print_input_text('other', $other, '', false, '', true)
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->data[5][0] = html_print_label_input_block(
|
$table->data[5][0] = html_print_label_input_block(
|
||||||
|
@ -804,8 +804,10 @@ $("#conf_wizard").click(function() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
closeOnEscape: true,
|
||||||
onload: () => {
|
onload: () => {
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
$(".ui-dialog-titlebar-close").hide();
|
||||||
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
|
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
|
||||||
$(buttonpane).append(`
|
$(buttonpane).append(`
|
||||||
<div class="welcome-wizard-buttons">
|
<div class="welcome-wizard-buttons">
|
||||||
|
@ -319,7 +319,7 @@ $ActionButtons[] = html_print_button(
|
|||||||
__('Go back'),
|
__('Go back'),
|
||||||
'back',
|
'back',
|
||||||
false,
|
false,
|
||||||
"window.location.href = 'index.php?sec=reporting&sec2=godmode/reporting/graphs'",
|
'history.go(-1)',
|
||||||
[
|
[
|
||||||
'class' => 'sub ok submitButton',
|
'class' => 'sub ok submitButton',
|
||||||
'icon' => 'back',
|
'icon' => 'back',
|
||||||
|
@ -553,6 +553,10 @@ if (!$maps && is_metaconsole() === false) {
|
|||||||
['class' => 'main_menu_icon invert_filter']
|
['class' => 'main_menu_icon invert_filter']
|
||||||
).'</a>';
|
).'</a>';
|
||||||
} else {
|
} else {
|
||||||
|
$table->cellclass[] = [
|
||||||
|
3 => 'table_action_buttons',
|
||||||
|
4 => 'table_action_buttons',
|
||||||
|
];
|
||||||
$data[3] = '<a class="copy_visualmap" href="index.php?sec=screen&sec2=screens/screens&action=visualmap&pure='.$pure.'&id_layout='.$map['id'].'&copy_layout=1">'.html_print_image(
|
$data[3] = '<a class="copy_visualmap" href="index.php?sec=screen&sec2=screens/screens&action=visualmap&pure='.$pure.'&id_layout='.$map['id'].'&copy_layout=1">'.html_print_image(
|
||||||
'images/copy.svg',
|
'images/copy.svg',
|
||||||
true,
|
true,
|
||||||
|
@ -2860,20 +2860,32 @@ if (is_metaconsole() === true) {
|
|||||||
|
|
||||||
if (!empty($style_button_create_custom_graph)) {
|
if (!empty($style_button_create_custom_graph)) {
|
||||||
$style_create = [
|
$style_create = [
|
||||||
'mode' => 'link',
|
'mode' => 'mini',
|
||||||
|
'icon' => 'next',
|
||||||
|
'class' => 'mrgn_lft_10px',
|
||||||
'style' => 'display:none',
|
'style' => 'display:none',
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
$style_create = [ 'mode' => 'link' ];
|
$style_create = [
|
||||||
|
'mode' => 'mini',
|
||||||
|
'icon' => 'next',
|
||||||
|
'class' => 'mrgn_lft_10px',
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($style_button_edit_custom_graph)) {
|
if (!empty($style_button_edit_custom_graph)) {
|
||||||
$style_edit = [
|
$style_edit = [
|
||||||
'mode' => 'link',
|
'mode' => 'mini',
|
||||||
|
'icon' => 'update',
|
||||||
|
'class' => 'mrgn_lft_10px',
|
||||||
'style' => 'display:none',
|
'style' => 'display:none',
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
$style_edit = [ 'mode' => 'link' ];
|
$style_edit = [
|
||||||
|
'mode' => 'mini',
|
||||||
|
'icon' => 'update',
|
||||||
|
'class' => 'mrgn_lft_10px',
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
html_print_button(
|
html_print_button(
|
||||||
|
@ -157,7 +157,7 @@ if ((bool) users_is_admin() === false) {
|
|||||||
$where = sprintf(' AND id_usuario = "%s"', $config['id_user']);
|
$where = sprintf(' AND id_usuario = "%s"', $config['id_user']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'SELECT * FROM tuser_task_scheduled WHERE id_user_task IN (1,2,3,4) '.$where;
|
$sql = 'SELECT * FROM tuser_task_scheduled WHERE id_user_task IN (1,2,3) '.$where;
|
||||||
$reports = db_get_all_rows_sql($sql);
|
$reports = db_get_all_rows_sql($sql);
|
||||||
if ($reports !== false) {
|
if ($reports !== false) {
|
||||||
$table = new stdClass();
|
$table = new stdClass();
|
||||||
|
@ -145,6 +145,11 @@ $table->data['all_0'][0] = html_print_label_input_block(
|
|||||||
|
|
||||||
$table->rowstyle['staticgraph'] = 'display: none;';
|
$table->rowstyle['staticgraph'] = 'display: none;';
|
||||||
$table->colspan['staticgraph'][0] = 2;
|
$table->colspan['staticgraph'][0] = 2;
|
||||||
|
$src = $config['homeurl'].'/images/console/icons/appliance_ok.png';
|
||||||
|
if (is_metaconsole() === true) {
|
||||||
|
$src = $config['homeurl'].'../../images/console/icons/appliance_ok.png';
|
||||||
|
}
|
||||||
|
|
||||||
$table->data['staticgraph'][0] = html_print_label_input_block(
|
$table->data['staticgraph'][0] = html_print_label_input_block(
|
||||||
__('Image'),
|
__('Image'),
|
||||||
'<div class="flex">'.html_print_select(
|
'<div class="flex">'.html_print_select(
|
||||||
@ -160,7 +165,7 @@ $table->data['staticgraph'][0] = html_print_label_input_block(
|
|||||||
'',
|
'',
|
||||||
false,
|
false,
|
||||||
'width: 49%'
|
'width: 49%'
|
||||||
).'<span id="image_prev" class="mrgn_lft_10px mrgn_top-10px"><img src="'.$config['homeurl'].'/images/console/icons/appliance_ok.png"></span></div>'
|
).'<span id="image_prev" class="mrgn_lft_10px mrgn_top-10px"><img src="'.$src.'"></span></div>'
|
||||||
);
|
);
|
||||||
|
|
||||||
$table->rowstyle['all_1'] = 'display: none;';
|
$table->rowstyle['all_1'] = 'display: none;';
|
||||||
@ -904,8 +909,13 @@ function findInSelect(selectid, find){
|
|||||||
|
|
||||||
$('#image').on('change', function() {
|
$('#image').on('change', function() {
|
||||||
var img = $(this).val();
|
var img = $(this).val();
|
||||||
$('#image_prev').html('<img src="<?php echo $config['homeurl']; ?>/images/console/icons/'+img+'.png">');
|
var src = "<?php echo $config['homeurl']; ?>"+`/images/console/icons/${img}.png`;
|
||||||
})
|
if (metaconsole_enabled) {
|
||||||
|
src = "<?php echo $config['homeurl']; ?>"+`../../images/console/icons/${img}.png`;
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#image_prev').html(`<img src="${src}">`);
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
@ -180,7 +180,7 @@ $button_test .= html_print_image(
|
|||||||
'images/status_sets/default/severity_normal.png',
|
'images/status_sets/default/severity_normal.png',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$button_test .= ' '.__('Connection its OK').'</span>';
|
$button_test .= ' '.__('Connection is OK').'</span>';
|
||||||
$button_test .= '<span id="ITSM-failure" class="invisible"> ';
|
$button_test .= '<span id="ITSM-failure" class="invisible"> ';
|
||||||
$button_test .= html_print_image(
|
$button_test .= html_print_image(
|
||||||
'images/status_sets/default/severity_critical.png',
|
'images/status_sets/default/severity_critical.png',
|
||||||
@ -190,7 +190,7 @@ $button_test .= ' '.__('Connection failed').'</span>';
|
|||||||
$button_test .= ' <span id="ITSM-message" class="invisible"></span>';
|
$button_test .= ' <span id="ITSM-message" class="invisible"></span>';
|
||||||
|
|
||||||
$row['control'] = html_print_label_input_block(
|
$row['control'] = html_print_label_input_block(
|
||||||
__('Test connection pandora to ITSM'),
|
__('Test connection PFMS to Pandora ITSM'),
|
||||||
$button_test,
|
$button_test,
|
||||||
['div_class' => 'ITSM-remote-setup-ITSM_token']
|
['div_class' => 'ITSM-remote-setup-ITSM_token']
|
||||||
);
|
);
|
||||||
@ -206,8 +206,8 @@ if (empty($itsm_public_url) === true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$row['publicUrl'] = html_print_label_input_block(
|
$row['publicUrl'] = html_print_label_input_block(
|
||||||
__('URL conect to API %s', get_product_name()).ui_print_help_tip(
|
__('URL connect to API %s', get_product_name()).ui_print_help_tip(
|
||||||
__('Full URL to your Pandora (e.g., http://192.168.1.20).'),
|
__('Full URL to your Pandora FMS (e.g., http://192.168.1.20).'),
|
||||||
true
|
true
|
||||||
),
|
),
|
||||||
html_print_input_text(
|
html_print_input_text(
|
||||||
@ -221,7 +221,7 @@ $row['publicUrl'] = html_print_label_input_block(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$row['agentsSync'] = html_print_label_input_block(
|
$row['agentsSync'] = html_print_label_input_block(
|
||||||
__('Number Agents to synchronize').ui_print_help_tip(
|
__('Number of Agents to synchronize').ui_print_help_tip(
|
||||||
__('Number of agents that will synchronize at the same time, minimum 10 max 1000'),
|
__('Number of agents that will synchronize at the same time, minimum 10 max 1000'),
|
||||||
true
|
true
|
||||||
),
|
),
|
||||||
@ -261,7 +261,7 @@ $button_test_pandora .= html_print_image(
|
|||||||
'images/status_sets/default/severity_normal.png',
|
'images/status_sets/default/severity_normal.png',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$button_test_pandora .= ' '.__('Connection its OK').'</span>';
|
$button_test_pandora .= ' '.__('Connection is OK').'</span>';
|
||||||
$button_test_pandora .= '<span id="ITSM-failure-pandora" class="invisible"> ';
|
$button_test_pandora .= '<span id="ITSM-failure-pandora" class="invisible"> ';
|
||||||
$button_test_pandora .= html_print_image(
|
$button_test_pandora .= html_print_image(
|
||||||
'images/status_sets/default/severity_critical.png',
|
'images/status_sets/default/severity_critical.png',
|
||||||
@ -300,7 +300,7 @@ if (empty($node) === false) {
|
|||||||
|
|
||||||
// $progressbar .= (empty($node['dateStart']) === false) ? human_time_comparation($node['dateStart']) : __('Never');
|
// $progressbar .= (empty($node['dateStart']) === false) ? human_time_comparation($node['dateStart']) : __('Never');
|
||||||
$row['control-test-pandora'] = html_print_label_input_block(
|
$row['control-test-pandora'] = html_print_label_input_block(
|
||||||
__('Progress agents to synch'),
|
__('Progress on agents to be synchronized'),
|
||||||
$progressbar
|
$progressbar
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -569,7 +569,7 @@ $table->data[$i][] = html_print_label_input_block(
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
$table->data[$i++][] = html_print_label_input_block(
|
$table->data[$i++][] = html_print_label_input_block(
|
||||||
__('Referer security').ui_print_help_tip(__('When it is active, the source of the requests is checked. If the user comes from a URL external to Pandora FMS, the source of the activity will be considered suspicious.'), true),
|
__('Referrer security').ui_print_help_tip(__('When it is active, the source of the requests is checked. If the user comes from a URL external to Pandora FMS, the source of the activity will be considered suspicious.'), true),
|
||||||
html_print_checkbox_switch(
|
html_print_checkbox_switch(
|
||||||
'referer_security',
|
'referer_security',
|
||||||
1,
|
1,
|
||||||
|
@ -42,7 +42,7 @@ $table->border = 0;
|
|||||||
$table->data = [];
|
$table->data = [];
|
||||||
|
|
||||||
$table->data[0][] = html_print_label_input_block(
|
$table->data[0][] = html_print_label_input_block(
|
||||||
__('Data storage path'),
|
__('Data storage path').ui_print_help_tip(__('The Netflow data will be saved in the directory specified here, which will be located in the path defined by the "General Network path" parameter (this parameter is found in the General Settings).'), true),
|
||||||
html_print_input_text('netflow_name_dir', $config['netflow_name_dir'], false, 50, 200, true)
|
html_print_input_text('netflow_name_dir', $config['netflow_name_dir'], false, 50, 200, true)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -40,6 +40,19 @@ if (! check_acl($config['id_user'], 0, 'PM') && ! is_user_admin($config['id_user
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_ajax()) {
|
||||||
|
$stopShowingModal = get_parameter('stopShowingModal', 0);
|
||||||
|
if ($stopShowingModal === '1') {
|
||||||
|
db_process_sql_update(
|
||||||
|
'tusuario',
|
||||||
|
['stop_lts_modal' => '1'],
|
||||||
|
['id_user' => $config['id_user']],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
require_once $config['homedir'].'/vendor/autoload.php';
|
require_once $config['homedir'].'/vendor/autoload.php';
|
||||||
|
|
||||||
$php_version = phpversion();
|
$php_version = phpversion();
|
||||||
@ -83,7 +96,10 @@ if ($php_version_array[0] < 7) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
||||||
|
$stop_lts_modal = db_get_value('stop_lts_modal', 'tusuario', 'id_user', $config['id_user']);
|
||||||
|
if ($stop_lts_modal === '0') {
|
||||||
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// Lts Updates.
|
// Lts Updates.
|
||||||
@ -100,12 +116,36 @@ if ($php_version_array[0] < 7) {
|
|||||||
buttons: [{
|
buttons: [{
|
||||||
text: "OK",
|
text: "OK",
|
||||||
click: function() {
|
click: function() {
|
||||||
|
var no_show_more = $('#checkbox-no_show_more').is(':checked');
|
||||||
|
if (no_show_more === true){
|
||||||
|
$.ajax({
|
||||||
|
url: 'ajax.php',
|
||||||
|
data: {
|
||||||
|
page: 'godmode/update_manager/modal_lts_update',
|
||||||
|
stopShowingModal: 1,
|
||||||
|
},
|
||||||
|
type: 'POST',
|
||||||
|
async: false,
|
||||||
|
dataType: 'json'
|
||||||
|
});
|
||||||
|
}
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
open: function(event, ui) {
|
open: function(event, ui) {
|
||||||
$(".ui-dialog-titlebar-close").hide();
|
$(".ui-dialog-titlebar-close").hide();
|
||||||
|
$("div.ui-dialog-buttonset").addClass('flex-rr-sb-important');
|
||||||
|
$("div.ui-dialog-buttonset").append(`
|
||||||
|
<div class="welcome-wizard-buttons">
|
||||||
|
<label class="flex-row-center">
|
||||||
|
<input type="checkbox" id="checkbox-no_show_more" class="welcome-wizard-do-not-show"/>
|
||||||
|
<?php echo __('Do not show anymore'); ?>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
@ -242,6 +242,14 @@ if (!$action_update_url_update_manager) {
|
|||||||
$result = config_update_value('identification_reminder', $identification_reminder);
|
$result = config_update_value('identification_reminder', $identification_reminder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($result && $lts_updates === 1) {
|
||||||
|
db_process_sql_update(
|
||||||
|
'tusuario',
|
||||||
|
['stop_lts_modal' => '0'],
|
||||||
|
['id_user' => $config['id_user']],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
ui_print_result_message(
|
ui_print_result_message(
|
||||||
$result,
|
$result,
|
||||||
__('Succesful Update the url config vars.'),
|
__('Succesful Update the url config vars.'),
|
||||||
|
@ -124,6 +124,14 @@ class DiscoveryTaskList extends HTML
|
|||||||
$this->printHeader(true)
|
$this->printHeader(true)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Div neccesary for modal map task.
|
||||||
|
echo '<div id="map_task" class="invisible"></div>';
|
||||||
|
echo '<div id="task_review" class="invisible"></div>';
|
||||||
|
echo '<div id="msg" class="invisible"></div>';
|
||||||
|
echo '<input type="hidden" id="ajax-url" value="'.ui_get_full_url('ajax.php').'"/>';
|
||||||
|
echo '<input type="hidden" id="success-str" value="'.__('Success').'"/>';
|
||||||
|
echo '<input type="hidden" id="failed-str" value="'.__('Failed').'"/>';
|
||||||
|
|
||||||
// Show redirected messages from discovery.php.
|
// Show redirected messages from discovery.php.
|
||||||
if ($status === 0) {
|
if ($status === 0) {
|
||||||
ui_print_success_message($message);
|
ui_print_success_message($message);
|
||||||
@ -1145,14 +1153,6 @@ class DiscoveryTaskList extends HTML
|
|||||||
|
|
||||||
ui_toggle($content, $titleTable, '', '', false);
|
ui_toggle($content, $titleTable, '', '', false);
|
||||||
|
|
||||||
// Div neccesary for modal map task.
|
|
||||||
echo '<div id="map_task" class="invisible"></div>';
|
|
||||||
echo '<div id="task_review" class="invisible"></div>';
|
|
||||||
echo '<div id="msg" class="invisible"></div>';
|
|
||||||
echo '<input type="hidden" id="ajax-url" value="'.ui_get_full_url('ajax.php').'"/>';
|
|
||||||
echo '<input type="hidden" id="success-str" value="'.__('Success').'"/>';
|
|
||||||
echo '<input type="hidden" id="failed-str" value="'.__('Failed').'"/>';
|
|
||||||
|
|
||||||
unset($table);
|
unset($table);
|
||||||
|
|
||||||
ui_require_javascript_file('pandora_ui');
|
ui_require_javascript_file('pandora_ui');
|
||||||
|
@ -789,7 +789,6 @@ if ($action === 'create_demo_data') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get last trap in database.
|
// Get last trap in database.
|
||||||
|
|
||||||
/*
|
/*
|
||||||
$id_trap_begin = db_get_value(
|
$id_trap_begin = db_get_value(
|
||||||
'MAX(id_trap)',
|
'MAX(id_trap)',
|
||||||
@ -1068,37 +1067,37 @@ if ($action === 'cleanup_demo_data') {
|
|||||||
|
|
||||||
$demo_items = db_get_all_rows_in_table('tdemo_data');
|
$demo_items = db_get_all_rows_in_table('tdemo_data');
|
||||||
|
|
||||||
$module_items = array_filter(
|
$module_items = array_map(
|
||||||
|
function ($item) {
|
||||||
|
$json_data = json_decode($item['item_id'], true);
|
||||||
|
return $json_data['id_agente_modulo'];
|
||||||
|
},
|
||||||
|
array_filter(
|
||||||
$demo_items,
|
$demo_items,
|
||||||
function ($item) {
|
function ($item) {
|
||||||
return ($item['table_name'] === 'tagente_modulo');
|
return ($item['table_name'] === 'tagente_modulo');
|
||||||
}
|
}
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$inventory_module_items = array_filter(
|
$inventory_module_items = array_map(
|
||||||
|
function ($item) {
|
||||||
|
$json_data = json_decode($item['item_id'], true);
|
||||||
|
return $json_data['id_agent_module_inventory'];
|
||||||
|
},
|
||||||
|
array_filter(
|
||||||
$demo_items,
|
$demo_items,
|
||||||
function ($item) {
|
function ($item) {
|
||||||
return ($item['table_name'] === 'tagent_module_inventory');
|
return ($item['table_name'] === 'tagent_module_inventory');
|
||||||
}
|
}
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$items_delete_id_bfr = [];
|
$in_clause = implode(',', $inventory_module_items);
|
||||||
|
|
||||||
foreach ($inventory_module_items as $item) {
|
|
||||||
$items_delete_id_bfr[] = $item['item_id'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$in_clause = implode(',', $items_delete_id_bfr);
|
|
||||||
// Delete data from tagente_datos_inventory given inventory module id.
|
// Delete data from tagente_datos_inventory given inventory module id.
|
||||||
db_process_sql('DELETE FROM tagente_datos_inventory where id_agent_module_inventory IN ('.$in_clause.')');
|
db_process_sql('DELETE FROM tagente_datos_inventory where id_agent_module_inventory IN ('.$in_clause.')');
|
||||||
|
|
||||||
$items_delete_id_bfr = [];
|
$in_clause = implode(',', $module_items);
|
||||||
|
|
||||||
foreach ($module_items as $item) {
|
|
||||||
$items_delete_id_bfr[] = $item['item_id'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$in_clause = implode(',', $items_delete_id_bfr);
|
|
||||||
// Delete data from tagente_datos give agent module id.
|
// Delete data from tagente_datos give agent module id.
|
||||||
db_process_sql('DELETE FROM tagente_datos where id_agente_modulo IN ('.$in_clause.')');
|
db_process_sql('DELETE FROM tagente_datos where id_agente_modulo IN ('.$in_clause.')');
|
||||||
|
|
||||||
|
@ -1196,7 +1196,7 @@ if (check_login()) {
|
|||||||
$data[2] .= ui_print_truncate_text($module['nombre'], 'module_medium', false, true, true, '…', 'font-size: 9pt;');
|
$data[2] .= ui_print_truncate_text($module['nombre'], 'module_medium', false, true, true, '…', 'font-size: 9pt;');
|
||||||
$data[2] .= '</a>';
|
$data[2] .= '</a>';
|
||||||
if (empty($module['extended_info']) === false) {
|
if (empty($module['extended_info']) === false) {
|
||||||
$data[2] .= ui_print_help_tip($module['extended_info'], true, '/images/default_list.png');
|
$data[2] .= ui_print_help_tip(io_safe_output($module['extended_info']), true, '/images/default_list.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adds tag context information.
|
// Adds tag context information.
|
||||||
|
@ -1358,9 +1358,12 @@ class AgentWizard extends HTML
|
|||||||
$table->rowstyle[$i] = 'color:#ccc;';
|
$table->rowstyle[$i] = 'color:#ccc;';
|
||||||
$data[0] .= ' ';
|
$data[0] .= ' ';
|
||||||
$data[0] .= html_print_image(
|
$data[0] .= html_print_image(
|
||||||
'images/alert-warning@svg.svg',
|
'images/info-warning.svg',
|
||||||
true,
|
true,
|
||||||
['title' => $msgError]
|
[
|
||||||
|
'title' => $msgError,
|
||||||
|
'class' => 'main_menu_icon',
|
||||||
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,6 +262,7 @@ class AgentsAlerts extends HTML
|
|||||||
$data[0] = io_safe_output($agent_module['alias']);
|
$data[0] = io_safe_output($agent_module['alias']);
|
||||||
$data[1] = io_safe_output($agent_module['nombre']);
|
$data[1] = io_safe_output($agent_module['nombre']);
|
||||||
$uniqid = $agent_module['id_agente_modulo'];
|
$uniqid = $agent_module['id_agente_modulo'];
|
||||||
|
if (check_acl($this->idUser, 0, 'LM')) {
|
||||||
$data[2] = html_print_anchor(
|
$data[2] = html_print_anchor(
|
||||||
[
|
[
|
||||||
'href' => sprintf(
|
'href' => sprintf(
|
||||||
@ -276,6 +277,9 @@ class AgentsAlerts extends HTML
|
|||||||
],
|
],
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
$data[2] = '';
|
||||||
|
}
|
||||||
|
|
||||||
array_push($table->data, $data);
|
array_push($table->data, $data);
|
||||||
|
|
||||||
|
@ -280,6 +280,13 @@ class Prd
|
|||||||
*/
|
*/
|
||||||
private $itemsReferences;
|
private $itemsReferences;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Current prdData.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
private $currentPrdData;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
@ -2282,12 +2289,37 @@ class Prd
|
|||||||
|
|
||||||
$value = implode($csv_separator, $ref_arr);
|
$value = implode($csv_separator, $ref_arr);
|
||||||
} else {
|
} else {
|
||||||
|
$columns_ref = $this->getOneColumnRefs($ref['table']);
|
||||||
|
|
||||||
$value = $this->searchValue(
|
$value = $this->searchValue(
|
||||||
$ref['columns'],
|
$ref['columns'],
|
||||||
$ref['table'],
|
$ref['table'],
|
||||||
$ref['id'],
|
$ref['id'],
|
||||||
$value
|
$value
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Get reference in value
|
||||||
|
if ($columns_ref !== false) {
|
||||||
|
foreach ($columns_ref as $col => $col_ref) {
|
||||||
|
if (array_key_exists($col, $value[$ref['table']])) {
|
||||||
|
$sql = sprintf(
|
||||||
|
'SELECT * FROM %s WHERE %s = "%s"',
|
||||||
|
$ref['table'],
|
||||||
|
$col,
|
||||||
|
$value[$ref['table']][$col],
|
||||||
|
);
|
||||||
|
$row = db_get_row_sql($sql);
|
||||||
|
|
||||||
|
$this->getReferenceFromValue(
|
||||||
|
$ref['table'],
|
||||||
|
$col,
|
||||||
|
$col_ref,
|
||||||
|
$row,
|
||||||
|
$value[$ref['table']][$col]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2413,12 +2445,37 @@ class Prd
|
|||||||
|
|
||||||
$value = implode($csv_separator, $ref_arr);
|
$value = implode($csv_separator, $ref_arr);
|
||||||
} else {
|
} else {
|
||||||
|
$columns_ref = $this->getOneColumnRefs($ref['table']);
|
||||||
|
|
||||||
$value = $this->searchValue(
|
$value = $this->searchValue(
|
||||||
$ref['columns'],
|
$ref['columns'],
|
||||||
$ref['table'],
|
$ref['table'],
|
||||||
$ref['id'],
|
$ref['id'],
|
||||||
$value
|
$value
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Get reference in value
|
||||||
|
if ($columns_ref !== false) {
|
||||||
|
foreach ($columns_ref as $col => $col_ref) {
|
||||||
|
if (array_key_exists($col, $value[$ref['table']])) {
|
||||||
|
$sql = sprintf(
|
||||||
|
'SELECT * FROM %s WHERE %s = "%s"',
|
||||||
|
$ref['table'],
|
||||||
|
$col,
|
||||||
|
$value[$ref['table']][$col],
|
||||||
|
);
|
||||||
|
$row = db_get_row_sql($sql);
|
||||||
|
|
||||||
|
$this->getReferenceFromValue(
|
||||||
|
$ref['table'],
|
||||||
|
$col,
|
||||||
|
$col_ref,
|
||||||
|
$row,
|
||||||
|
$value[$ref['table']][$col]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2435,7 +2492,7 @@ class Prd
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
private function getValueFromReference($table, $column, $reference, &$value)
|
private function getValueFromReference($table, $column, $reference, $item, &$value)
|
||||||
{
|
{
|
||||||
if (isset($reference['conditional_refs']) === true) {
|
if (isset($reference['conditional_refs']) === true) {
|
||||||
// Conditional refs.
|
// Conditional refs.
|
||||||
@ -2445,8 +2502,8 @@ class Prd
|
|||||||
if (isset($condition['when']) === true
|
if (isset($condition['when']) === true
|
||||||
&& isset($condition['ref']) === true
|
&& isset($condition['ref']) === true
|
||||||
) {
|
) {
|
||||||
if (isset($this->currentItem['parsed'][array_key_first($condition['when'])]) === true) {
|
if (isset($item[array_key_first($condition['when'])]) === true) {
|
||||||
$compare_value = $this->currentItem['parsed'][array_key_first($condition['when'])];
|
$compare_value = $item[array_key_first($condition['when'])];
|
||||||
|
|
||||||
if ($this->evalConditionalRef($compare_value, $condition['when']) === true
|
if ($this->evalConditionalRef($compare_value, $condition['when']) === true
|
||||||
&& empty($value) === false
|
&& empty($value) === false
|
||||||
@ -2656,6 +2713,7 @@ class Prd
|
|||||||
$result = '';
|
$result = '';
|
||||||
|
|
||||||
$prd_data = $this->getOnePrdData($type);
|
$prd_data = $this->getOnePrdData($type);
|
||||||
|
$this->currentPrdData = $prd_data;
|
||||||
if (empty($prd_data) === false) {
|
if (empty($prd_data) === false) {
|
||||||
$result .= '[prd_data]'.LINE_BREAK.LINE_BREAK;
|
$result .= '[prd_data]'.LINE_BREAK.LINE_BREAK;
|
||||||
$result .= 'type="'.$type.'"'.LINE_BREAK;
|
$result .= 'type="'.$type.'"'.LINE_BREAK;
|
||||||
@ -2903,6 +2961,7 @@ class Prd
|
|||||||
unset($data_file['prd_data']);
|
unset($data_file['prd_data']);
|
||||||
|
|
||||||
$prd_data = $this->getOnePrdData($type);
|
$prd_data = $this->getOnePrdData($type);
|
||||||
|
$this->currentPrdData = $prd_data;
|
||||||
if ($prd_data !== false) {
|
if ($prd_data !== false) {
|
||||||
// Begin transaction.
|
// Begin transaction.
|
||||||
$db = $config['dbconnection'];
|
$db = $config['dbconnection'];
|
||||||
@ -2941,6 +3000,7 @@ class Prd
|
|||||||
$table,
|
$table,
|
||||||
$column,
|
$column,
|
||||||
$column_refs[$column],
|
$column_refs[$column],
|
||||||
|
$this->currentItem['parsed'],
|
||||||
$value
|
$value
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -2968,6 +3028,7 @@ class Prd
|
|||||||
$table,
|
$table,
|
||||||
$column,
|
$column,
|
||||||
$json_refs[$column][$json_key],
|
$json_refs[$column][$json_key],
|
||||||
|
$this->currentItem['parsed'],
|
||||||
$json_value
|
$json_value
|
||||||
) === true
|
) === true
|
||||||
) {
|
) {
|
||||||
@ -3064,8 +3125,42 @@ class Prd
|
|||||||
&& empty($array_value[$ref['table']]) === false
|
&& empty($array_value[$ref['table']]) === false
|
||||||
) {
|
) {
|
||||||
$where = '';
|
$where = '';
|
||||||
|
$columns_ref = $this->getOneColumnRefs($ref['table']);
|
||||||
foreach ($ref['columns'] as $column_name) {
|
foreach ($ref['columns'] as $column_name) {
|
||||||
if (isset($array_value[$ref['table']][$column_name])) {
|
if (isset($array_value[$ref['table']][$column_name])) {
|
||||||
|
// Get value from crossed reference in current value
|
||||||
|
if (isset($this->crossed_refs[$ref['table']]) === true
|
||||||
|
&& empty($this->crossed_refs[$ref['table']]['ref']) === false
|
||||||
|
&& in_array($column_name, $this->crossed_refs[$ref['table']]['ref'])
|
||||||
|
) {
|
||||||
|
$parent_table = $this->crossed_refs[$ref['table']]['parent_table'];
|
||||||
|
foreach ($this->crossed_refs[$ref['table']]['ref'] as $k => $f) {
|
||||||
|
$itemReference = $this->getItemReference(
|
||||||
|
$parent_table,
|
||||||
|
$this->crossed_refs[$parent_table]['value'][$k],
|
||||||
|
$array_value[$ref['table']][$f]
|
||||||
|
);
|
||||||
|
|
||||||
|
if ($itemReference !== false) {
|
||||||
|
$array_value[$ref['table']][$column_name] = $itemReference;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($columns_ref !== false) {
|
||||||
|
if (array_key_exists($column_name, $columns_ref)) {
|
||||||
|
$temp_value = $array_value[$ref['table']][$column_name];
|
||||||
|
$temp_value = (is_array($temp_value) ? json_encode($temp_value) : $temp_value);
|
||||||
|
|
||||||
|
// Get value from reference in current value
|
||||||
|
$ref_value = $this->getValueFromReference($ref['table'], $column_name, $columns_ref[$column_name], $array_value[$ref['table']], $temp_value);
|
||||||
|
|
||||||
|
if ($ref_value === true) {
|
||||||
|
$array_value[$ref['table']][$column_name] = $temp_value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$where .= sprintf(
|
$where .= sprintf(
|
||||||
"%s = '%s' AND ",
|
"%s = '%s' AND ",
|
||||||
$column_name,
|
$column_name,
|
||||||
|
@ -182,8 +182,10 @@ class WelcomeWindow extends Wizard
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
closeOnEscape: true,
|
||||||
onload: () => {
|
onload: () => {
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
$(".ui-dialog-titlebar-close").hide();
|
||||||
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
|
var buttonpane = $("div[aria-describedby='welcome_modal_window'] .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix");
|
||||||
$(buttonpane).append(`
|
$(buttonpane).append(`
|
||||||
<div class="welcome-wizard-buttons">
|
<div class="welcome-wizard-buttons">
|
||||||
|
@ -22,7 +22,7 @@ use DI\ContainerBuilder;
|
|||||||
/*
|
/*
|
||||||
* Pandora build version and version
|
* Pandora build version and version
|
||||||
*/
|
*/
|
||||||
$build_version = 'PC240325';
|
$build_version = 'PC240326';
|
||||||
$pandora_version = 'v7.0NG.776';
|
$pandora_version = 'v7.0NG.776';
|
||||||
|
|
||||||
// Do not overwrite default timezone set if defined.
|
// Do not overwrite default timezone set if defined.
|
||||||
|
@ -1006,13 +1006,14 @@ function get_parameter($name, $default='')
|
|||||||
|
|
||||||
function get_parameter_date($name, $default='', $date_format='Y/m/d')
|
function get_parameter_date($name, $default='', $date_format='Y/m/d')
|
||||||
{
|
{
|
||||||
|
// TODO: Configure default value.
|
||||||
$date_end = get_parameter('date_end', 0);
|
$date_end = get_parameter('date_end', 0);
|
||||||
$time_end = get_parameter('time_end');
|
$time_end = get_parameter('time_end');
|
||||||
$datetime_end = strtotime($date_end.' '.$time_end);
|
$datetime_end = strtotime($date_end.' '.$time_end);
|
||||||
|
|
||||||
$custom_date = get_parameter('custom_date', 0);
|
$custom_date = get_parameter('custom_date', 0);
|
||||||
$range = get_parameter('range', SECONDS_1DAY);
|
$range = get_parameter($name, SECONDS_1DAY);
|
||||||
$date_text = get_parameter('range_text', SECONDS_1DAY);
|
$date_text = get_parameter($name.'_text', SECONDS_1DAY);
|
||||||
$date_init_less = (strtotime(date('Y/m/d')) - SECONDS_1DAY);
|
$date_init_less = (strtotime(date('Y/m/d')) - SECONDS_1DAY);
|
||||||
$date_init = get_parameter('date_init', date(DATE_FORMAT, $date_init_less));
|
$date_init = get_parameter('date_init', date(DATE_FORMAT, $date_init_less));
|
||||||
$time_init = get_parameter('time_init', date(TIME_FORMAT, $date_init_less));
|
$time_init = get_parameter('time_init', date(TIME_FORMAT, $date_init_less));
|
||||||
@ -1026,7 +1027,7 @@ function get_parameter_date($name, $default='', $date_format='Y/m/d')
|
|||||||
$date_end = date('Y/m/d H:i:s', $datetime_end);
|
$date_end = date('Y/m/d H:i:s', $datetime_end);
|
||||||
$period = ($datetime_end - $datetime_init);
|
$period = ($datetime_end - $datetime_init);
|
||||||
} else if ($custom_date === '2') {
|
} else if ($custom_date === '2') {
|
||||||
$date_units = get_parameter('range_units');
|
$date_units = get_parameter($name.'_units');
|
||||||
$date_end = date('Y/m/d H:i:s');
|
$date_end = date('Y/m/d H:i:s');
|
||||||
$date_init = date('Y/m/d H:i:s', (strtotime($date_end) - ((int) $date_text * (int) $date_units)));
|
$date_init = date('Y/m/d H:i:s', (strtotime($date_end) - ((int) $date_text * (int) $date_units)));
|
||||||
$period = (strtotime($date_end) - strtotime($date_init));
|
$period = (strtotime($date_end) - strtotime($date_init));
|
||||||
@ -2427,11 +2428,6 @@ function check_login($output=true)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
db_pandora_audit(
|
|
||||||
AUDIT_LOG_HACK_ATTEMPT,
|
|
||||||
'Trying to access without a valid session',
|
|
||||||
'N/A'
|
|
||||||
);
|
|
||||||
include $config['homedir'].'/general/noaccess.php';
|
include $config['homedir'].'/general/noaccess.php';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -2312,26 +2312,35 @@ function agents_get_agent_with_ip($ip_address)
|
|||||||
* Get all IP addresses of an agent
|
* Get all IP addresses of an agent
|
||||||
*
|
*
|
||||||
* @param int Agent id
|
* @param int Agent id
|
||||||
|
* @param bool Order by id
|
||||||
*
|
*
|
||||||
* @return array Array with the IP address of the given agent or an empty array.
|
* @return array Array with the IP address of the given agent or an empty array.
|
||||||
*/
|
*/
|
||||||
function agents_get_addresses($id_agent)
|
function agents_get_addresses(
|
||||||
{
|
$id_agent,
|
||||||
|
$order_by_id=false
|
||||||
|
) {
|
||||||
|
$order_clause = ($order_by_id === true) ? 'ORDER BY taddress.id_a DESC' : '';
|
||||||
|
|
||||||
if (is_array($id_agent)) {
|
if (is_array($id_agent)) {
|
||||||
$sql = sprintf(
|
$sql = sprintf(
|
||||||
'SELECT ip
|
'SELECT ip
|
||||||
FROM taddress_agent, taddress
|
FROM taddress_agent, taddress
|
||||||
WHERE taddress_agent.id_a = taddress.id_a
|
WHERE taddress_agent.id_a = taddress.id_a
|
||||||
AND id_agent IN (%s)',
|
AND id_agent IN (%s)
|
||||||
implode(',', $id_agent)
|
%s',
|
||||||
|
implode(',', $id_agent),
|
||||||
|
$order_clause
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$sql = sprintf(
|
$sql = sprintf(
|
||||||
'SELECT ip
|
'SELECT ip
|
||||||
FROM taddress_agent, taddress
|
FROM taddress_agent, taddress
|
||||||
WHERE taddress_agent.id_a = taddress.id_a
|
WHERE taddress_agent.id_a = taddress.id_a
|
||||||
AND id_agent = %d',
|
AND id_agent = %d
|
||||||
$id_agent
|
%s',
|
||||||
|
$id_agent,
|
||||||
|
$order_clause
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -805,7 +805,7 @@ function filemanager_file_explorer(
|
|||||||
|
|
||||||
// Actions buttons
|
// Actions buttons
|
||||||
// Delete button.
|
// Delete button.
|
||||||
$data[4] = '<div class="table_action_buttons flex">';
|
$data[4] = '<div class="table_action_buttons flex flex-end">';
|
||||||
$typefile = array_pop(explode('.', $fileinfo['name']));
|
$typefile = array_pop(explode('.', $fileinfo['name']));
|
||||||
if (is_writable($fileinfo['realpath']) === true
|
if (is_writable($fileinfo['realpath']) === true
|
||||||
&& (is_dir($fileinfo['realpath']) === false || count(scandir($fileinfo['realpath'])) < 3)
|
&& (is_dir($fileinfo['realpath']) === false || count(scandir($fileinfo['realpath'])) < 3)
|
||||||
@ -1069,7 +1069,7 @@ function filemanager_file_explorer(
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Show Modal Real Path
|
// Show Modal Real Path
|
||||||
$modal_real_path = "<div><b>Real path to plugin execution is:</b></div>
|
$modal_real_path = "<div><b>Real path is:</b></div>
|
||||||
<div id='real_path'></div>";
|
<div id='real_path'></div>";
|
||||||
|
|
||||||
if (isset($_SERVER['HTTPS']) === true) {
|
if (isset($_SERVER['HTTPS']) === true) {
|
||||||
|
@ -3398,8 +3398,10 @@ function graph_custom_sql_graph(
|
|||||||
|
|
||||||
if ($count <= $max_num_elements) {
|
if ($count <= $max_num_elements) {
|
||||||
$label = __('Data');
|
$label = __('Data');
|
||||||
|
$full_label = __('Data');
|
||||||
if (empty($data_item['label']) === false) {
|
if (empty($data_item['label']) === false) {
|
||||||
$label = io_safe_output($data_item['label']);
|
$label = io_safe_output($data_item['label']);
|
||||||
|
$full_label = io_safe_output($data_item['label']);
|
||||||
if (strlen($label) > $SQL_GRAPH_MAX_LABEL_SIZE) {
|
if (strlen($label) > $SQL_GRAPH_MAX_LABEL_SIZE) {
|
||||||
$first_label = $label;
|
$first_label = $label;
|
||||||
$label = substr(
|
$label = substr(
|
||||||
@ -3413,11 +3415,13 @@ function graph_custom_sql_graph(
|
|||||||
$labels_bar[] = $label;
|
$labels_bar[] = $label;
|
||||||
if ($type === 'sql_graph_hbar') {
|
if ($type === 'sql_graph_hbar') {
|
||||||
$data_bar[] = [
|
$data_bar[] = [
|
||||||
|
'full_title' => $full_label,
|
||||||
'y' => $label,
|
'y' => $label,
|
||||||
'x' => $value,
|
'x' => $value,
|
||||||
];
|
];
|
||||||
} else {
|
} else {
|
||||||
$data_bar[] = [
|
$data_bar[] = [
|
||||||
|
'full_title' => $full_label,
|
||||||
'x' => $label,
|
'x' => $label,
|
||||||
'y' => $value,
|
'y' => $value,
|
||||||
];
|
];
|
||||||
@ -3493,6 +3497,9 @@ function graph_custom_sql_graph(
|
|||||||
'grid' => ['display' => false],
|
'grid' => ['display' => false],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'tooltip' => [
|
||||||
|
'title' => ['fullTitle' => true],
|
||||||
|
],
|
||||||
'labels' => $labels_bar,
|
'labels' => $labels_bar,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -2946,7 +2946,7 @@ function ui_print_help_tip(
|
|||||||
|
|
||||||
$id = random_int(1, 99999);
|
$id = random_int(1, 99999);
|
||||||
$output = '<div id="div_tip_'.$id.'" class="tip" style="'.$style.'" >';
|
$output = '<div id="div_tip_'.$id.'" class="tip" style="'.$style.'" >';
|
||||||
$output .= '<div id="tip_dialog_'.$id.'" class="invisible margin-15" data-title="'.__('Help').'"><span class="font_13px">'.$text.'</span></div>';
|
$output .= '<div id="tip_dialog_'.$id.'" class="invisible margin-15" data-title="'.__('Help').'"><span class="font_13px">'.io_safe_output($text).'</span></div>';
|
||||||
$output .= html_print_image(
|
$output .= html_print_image(
|
||||||
$img,
|
$img,
|
||||||
true,
|
true,
|
||||||
|
@ -1272,6 +1272,28 @@ function get_build_setup_charts($type, $options, $data)
|
|||||||
$chart->labels()->exchangeArray($options['labels']);
|
$chart->labels()->exchangeArray($options['labels']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Edit tooltip.
|
||||||
|
if (isset($options['tooltip']) === true && empty($options['tooltip']) === false) {
|
||||||
|
$tooltip_callback_value = 'item.formattedValue';
|
||||||
|
if (isset($options['tooltip']['value']) === true && empty($options['tooltip']['value']) === false) {
|
||||||
|
$tooltip_callback_value = ''.$options['tooltip']['value'].'';
|
||||||
|
}
|
||||||
|
|
||||||
|
$tooltip_callback_unit = '';
|
||||||
|
if (isset($options['tooltip']['unit']) === true && empty($options['tooltip']['unit']) === false) {
|
||||||
|
$tooltip_callback_unit = '"'.$options['tooltip']['unit'].'"';
|
||||||
|
}
|
||||||
|
|
||||||
|
$tooltip_callback = '(item) => " " + '.$tooltip_callback_value.' + "'.$tooltip_callback_unit.'"';
|
||||||
|
$chart->options()->getPlugins()->getTooltip()->callbacks()->setLabel($tooltip_callback);
|
||||||
|
|
||||||
|
if (isset($options['tooltip']['title']) === true && empty($options['tooltip']['title']) === false) {
|
||||||
|
if (isset($options['tooltip']['title']['fullTitle']) === true && $options['tooltip']['title']['fullTitle'] === true) {
|
||||||
|
$chart->options()->getPlugins()->getTooltip()->callbacks()->setTitle('(item) => item[0].dataset.data[item[0].dataIndex].full_title');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Add Datasets.
|
// Add Datasets.
|
||||||
$setData = $chart->createDataSet();
|
$setData = $chart->createDataSet();
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
|
@ -1553,9 +1553,11 @@ function changePlugin() {
|
|||||||
var moduleProtocol = $("#module_protocol").val();
|
var moduleProtocol = $("#module_protocol").val();
|
||||||
var executionType = $("#execution_type").val();
|
var executionType = $("#execution_type").val();
|
||||||
var pluginSelected = $("#server_plugin_" + moduleProtocol).val();
|
var pluginSelected = $("#server_plugin_" + moduleProtocol).val();
|
||||||
var pluginAllData = JSON.parse(
|
var pluginAllDataSafe = $("#hidden-server_plugin_data_" + pluginSelected)
|
||||||
$("#hidden-server_plugin_data_" + pluginSelected).val()
|
.val()
|
||||||
);
|
.replace(/(?:\r\n|\r|\n)/g, "<br>");
|
||||||
|
|
||||||
|
var pluginAllData = JSON.parse(pluginAllDataSafe);
|
||||||
|
|
||||||
var pluginDescription = pluginAllData.description;
|
var pluginDescription = pluginAllData.description;
|
||||||
var pluginMacros = pluginAllData.macros;
|
var pluginMacros = pluginAllData.macros;
|
||||||
@ -1586,11 +1588,15 @@ function changePlugin() {
|
|||||||
let macro = this.macro;
|
let macro = this.macro;
|
||||||
let value = this.value;
|
let value = this.value;
|
||||||
|
|
||||||
|
if (pluginMacrosElement !== null) {
|
||||||
if (pluginMacrosElement["server_plugin"] == pluginSelected) {
|
if (pluginMacrosElement["server_plugin"] == pluginSelected) {
|
||||||
if (pluginMacrosElement[macro + "_" + moduleProtocol + "_field"]) {
|
if (pluginMacrosElement[macro + "_" + moduleProtocol + "_field"]) {
|
||||||
value = pluginMacrosElement[macro + "_" + moduleProtocol + "_field"];
|
value = pluginMacrosElement[macro + "_" + moduleProtocol + "_field"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
value = "";
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
typeof description == "undefined" ||
|
typeof description == "undefined" ||
|
||||||
|
@ -449,6 +449,10 @@ function load_modal(settings) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (settings.closeOnEscape == undefined) {
|
||||||
|
settings.closeOnEscape = true;
|
||||||
|
}
|
||||||
|
|
||||||
required_buttons.push({
|
required_buttons.push({
|
||||||
class:
|
class:
|
||||||
"ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok submit-next",
|
"ui-widget ui-state-default ui-corner-all ui-button-text-only sub ok submit-next",
|
||||||
@ -518,7 +522,7 @@ function load_modal(settings) {
|
|||||||
collision: "fit"
|
collision: "fit"
|
||||||
},
|
},
|
||||||
buttons: required_buttons,
|
buttons: required_buttons,
|
||||||
closeOnEscape: true,
|
closeOnEscape: settings.closeOnEscape,
|
||||||
open: function() {
|
open: function() {
|
||||||
//$(".ui-dialog-titlebar-close").hide();
|
//$(".ui-dialog-titlebar-close").hide();
|
||||||
},
|
},
|
||||||
|
@ -172,18 +172,21 @@ class Overview extends Element
|
|||||||
$used = 0;
|
$used = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = [
|
if ($used > 0) {
|
||||||
'agents_used' => [
|
$data['agents_used'] = [
|
||||||
'label' => __('% Agents used'),
|
'label' => __('% Agents used'),
|
||||||
'perc' => $used,
|
'perc' => $used,
|
||||||
'color' => '#1C4E6B',
|
'color' => '#1C4E6B',
|
||||||
],
|
];
|
||||||
'free_agents' => [
|
}
|
||||||
|
|
||||||
|
if ($free > 0) {
|
||||||
|
$data['free_agents'] = [
|
||||||
'label' => __('% Free agents'),
|
'label' => __('% Free agents'),
|
||||||
'perc' => $free,
|
'perc' => $free,
|
||||||
'color' => '#5C63A2',
|
'color' => '#5C63A2',
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$agents = agents_get_agents();
|
$agents = agents_get_agents();
|
||||||
$enabled_agents = agents_get_agents(
|
$enabled_agents = agents_get_agents(
|
||||||
@ -207,23 +210,26 @@ class Overview extends Element
|
|||||||
$total_disabled_agents = round((($total - count($enabled_agents)) * 100) / $total);
|
$total_disabled_agents = round((($total - count($enabled_agents)) * 100) / $total);
|
||||||
$total_enabled_agents = round((count($enabled_agents) * 100) / $total);
|
$total_enabled_agents = round((count($enabled_agents) * 100) / $total);
|
||||||
} else {
|
} else {
|
||||||
$total_disabled_agents = 0;
|
$total_disabled_agents = 100;
|
||||||
$total_enabled_agents = 100;
|
$total_enabled_agents = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = [
|
if ($total_enabled_agents > 0) {
|
||||||
'agents_enabled' => [
|
$data['agents_enabled'] = [
|
||||||
'label' => __('% Agents enabled'),
|
'label' => __('% Agents enabled'),
|
||||||
'perc' => $total_enabled_agents,
|
'perc' => $total_enabled_agents,
|
||||||
'color' => '#1C4E6B',
|
'color' => '#1C4E6B',
|
||||||
],
|
];
|
||||||
'agents_disabled' => [
|
}
|
||||||
|
|
||||||
|
if ($total_disabled_agents > 0) {
|
||||||
|
$data['agents_disabled'] = [
|
||||||
'label' => __('% Agents disabled'),
|
'label' => __('% Agents disabled'),
|
||||||
'perc' => $total_disabled_agents,
|
'perc' => $total_disabled_agents,
|
||||||
'color' => '#5C63A2',
|
'color' => '#5C63A2',
|
||||||
],
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$bar = $this->printHorizontalBar($data);
|
$bar = $this->printHorizontalBar($data);
|
||||||
$output = html_print_div(
|
$output = html_print_div(
|
||||||
|
@ -1859,6 +1859,30 @@ class Item extends CachedModel
|
|||||||
$save = array_merge($dataModelEncode, $dataEncode);
|
$save = array_merge($dataModelEncode, $dataEncode);
|
||||||
|
|
||||||
if (!empty($save['label'])) {
|
if (!empty($save['label'])) {
|
||||||
|
// Multi-span problem with TinyMCE. Do not delete.
|
||||||
|
$dom = new \DOMDocument();
|
||||||
|
$dom->loadHTML(io_safe_output($save['label']));
|
||||||
|
|
||||||
|
// XPath object.
|
||||||
|
$xpath = new \DOMXPath($dom);
|
||||||
|
|
||||||
|
// Find all span tags with style attribute.
|
||||||
|
$span_nodes = $xpath->query('//span[@style]');
|
||||||
|
|
||||||
|
if ($span_nodes->length > 1) {
|
||||||
|
$style = '';
|
||||||
|
foreach ($span_nodes as $span) {
|
||||||
|
$style .= $span->getAttribute('style');
|
||||||
|
}
|
||||||
|
|
||||||
|
$last_span = $span_nodes[($span_nodes->length - 1)];
|
||||||
|
|
||||||
|
// Set style.
|
||||||
|
$last_span->setAttribute('style', $style);
|
||||||
|
|
||||||
|
$save['label'] = io_safe_input($dom->saveHTML());
|
||||||
|
}
|
||||||
|
|
||||||
$save['label'] = io_safe_output(io_safe_input(str_replace("'", "\'", $save['label'])));
|
$save['label'] = io_safe_output(io_safe_input(str_replace("'", "\'", $save['label'])));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2416,10 +2440,10 @@ class Item extends CachedModel
|
|||||||
foreach ($fields as $k => $v) {
|
foreach ($fields as $k => $v) {
|
||||||
if (isset($v['id']) === true && isset($v['name']) === true) {
|
if (isset($v['id']) === true && isset($v['name']) === true) {
|
||||||
// Modern environments use id-name format.
|
// Modern environments use id-name format.
|
||||||
$rs[$v['id']] = $v;
|
$rs[$v['id']] = io_safe_output($v);
|
||||||
} else {
|
} else {
|
||||||
// In MC environments is key-value.
|
// In MC environments is key-value.
|
||||||
$rs[$k] = $v;
|
$rs[$k] = io_safe_output($v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,6 +225,7 @@ div.graphs-div-main {
|
|||||||
/* height: 20px; */
|
/* height: 20px; */
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#droppable-graphs .droppable-zone {
|
#droppable-graphs .droppable-zone {
|
||||||
|
@ -265,7 +265,6 @@ div#welcome_modal_window .wizard #li-div_wizard_agent > div {
|
|||||||
}
|
}
|
||||||
|
|
||||||
div#welcome_modal_window .wizard #li-div_wizard_agent .select2-selection {
|
div#welcome_modal_window .wizard #li-div_wizard_agent .select2-selection {
|
||||||
background-color: #f6f7fb !important;
|
|
||||||
border: 1px solid #c0ccdc !important;
|
border: 1px solid #c0ccdc !important;
|
||||||
border-radius: 6px !important;
|
border-radius: 6px !important;
|
||||||
width: 290px;
|
width: 290px;
|
||||||
|
@ -676,6 +676,10 @@ select:-internal-list-box {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.align-center-important {
|
||||||
|
align-items: center !important;
|
||||||
|
}
|
||||||
|
|
||||||
.relative {
|
.relative {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@ -943,6 +947,18 @@ select:-internal-list-box {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flex-rr-sb {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row-reverse;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flex-rr-sb-important {
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: row-reverse !important;
|
||||||
|
justify-content: space-between !important;
|
||||||
|
}
|
||||||
|
|
||||||
.flex-row-vcenter {
|
.flex-row-vcenter {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@ -1956,7 +1972,7 @@ div.title_line {
|
|||||||
#menu_tab_frame_view_bc {
|
#menu_tab_frame_view_bc {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 61px;
|
top: 61px;
|
||||||
z-index: 3;
|
z-index: 2;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@ -13862,6 +13878,10 @@ button.disabled {
|
|||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.white_table_graph > div {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.link-bold {
|
.link-bold {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -38,7 +38,8 @@ ul.subsubmenu li,
|
|||||||
input.search_input,
|
input.search_input,
|
||||||
.filters input,
|
.filters input,
|
||||||
input#text-id_parent.ac_input,
|
input#text-id_parent.ac_input,
|
||||||
input:not(div.login_pass > input):not(div.login_nick > input),
|
input:not(div.login_pass > input):not(div.login_nick
|
||||||
|
> input):not([src$=".svg"]),
|
||||||
textarea,
|
textarea,
|
||||||
select,
|
select,
|
||||||
.edit_user_comments #textarea_comments,
|
.edit_user_comments #textarea_comments,
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: -100000px;
|
left: -100000px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 1051;
|
z-index: 1118;
|
||||||
}
|
}
|
||||||
.select2-results {
|
.select2-results {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -131,7 +131,7 @@
|
|||||||
<div style='padding-bottom: 50px'>
|
<div style='padding-bottom: 50px'>
|
||||||
<?php
|
<?php
|
||||||
$version = '7.0NG.776';
|
$version = '7.0NG.776';
|
||||||
$build = '240325';
|
$build = '240326';
|
||||||
$banner = "v$version Build $build";
|
$banner = "v$version Build $build";
|
||||||
error_reporting(0);
|
error_reporting(0);
|
||||||
|
|
||||||
|
@ -493,6 +493,11 @@ if (is_metaconsole() === false) {
|
|||||||
['type' => 'form_action']
|
['type' => 'form_action']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
html_print_action_buttons(
|
||||||
|
'',
|
||||||
|
['type' => 'form_action']
|
||||||
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
echo "<form method='post' action='index.php?sec=galertas&sec2=godmode/alerts/alert_list&tab=builder&pure=0'>";
|
echo "<form method='post' action='index.php?sec=galertas&sec2=godmode/alerts/alert_list&tab=builder&pure=0'>";
|
||||||
|
@ -430,6 +430,7 @@ if (function_exists('policies_get_policies') === true) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (enterprise_installed() === true) {
|
||||||
$table->data[2][1] = html_print_label_input_block(
|
$table->data[2][1] = html_print_label_input_block(
|
||||||
__('Policies'),
|
__('Policies'),
|
||||||
html_print_select(
|
html_print_select(
|
||||||
@ -447,6 +448,7 @@ $table->data[2][1] = html_print_label_input_block(
|
|||||||
'width: 100%'
|
'width: 100%'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
$custom_fields = db_get_all_fields_in_table('tagent_custom_fields');
|
$custom_fields = db_get_all_fields_in_table('tagent_custom_fields');
|
||||||
if ($custom_fields === false) {
|
if ($custom_fields === false) {
|
||||||
|
@ -142,7 +142,7 @@ if (empty($agent['os_version']) !== true) {
|
|||||||
$table_status->data['agent_os_version'][1] = $os_agent_text;
|
$table_status->data['agent_os_version'][1] = $os_agent_text;
|
||||||
}
|
}
|
||||||
|
|
||||||
$addresses = agents_get_addresses($id_agente);
|
$addresses = agents_get_addresses($id_agente, true);
|
||||||
$address = agents_get_address($id_agente);
|
$address = agents_get_address($id_agente);
|
||||||
|
|
||||||
foreach ($addresses as $k => $add) {
|
foreach ($addresses as $k => $add) {
|
||||||
@ -154,8 +154,30 @@ foreach ($addresses as $k => $add) {
|
|||||||
if (empty($address) === false) {
|
if (empty($address) === false) {
|
||||||
$address_text = '<span class="bolder" >'.$address.'</span>';
|
$address_text = '<span class="bolder" >'.$address.'</span>';
|
||||||
if (!empty($addresses) === true) {
|
if (!empty($addresses) === true) {
|
||||||
foreach ($addresses as $sec_address) {
|
if (count($addresses) > 3) {
|
||||||
$address_text .= '<br/><span class="italic">'.$sec_address.'</span>';
|
$address_text .= '  <span id="deploy_sec_ips_down">'.html_print_image(
|
||||||
|
'images/sort_down_black.png',
|
||||||
|
true,
|
||||||
|
['alt' => 'down']
|
||||||
|
).'</span><span id="deploy_sec_ips_up" style="display: none;">'.html_print_image(
|
||||||
|
'images/sort_up_black.png',
|
||||||
|
true,
|
||||||
|
['alt' => 'up']
|
||||||
|
).'</span>';
|
||||||
|
$address_text .= '<div id="secondary_ips" class="invisible">';
|
||||||
|
}
|
||||||
|
|
||||||
|
$first_key = key($addresses);
|
||||||
|
foreach ($addresses as $key => $sec_address) {
|
||||||
|
if ($first_key !== $key || count($addresses) <= 3) {
|
||||||
|
$address_text .= '<br/>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$address_text .= '<span class="italic">'.$sec_address.'</span>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (count($addresses) > 3) {
|
||||||
|
$address_text .= '</div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -638,3 +660,23 @@ if (isset($table_interface) === true) {
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready (function () {
|
||||||
|
$('#deploy_sec_ips_up').on('click', function() {
|
||||||
|
$('#secondary_ips').hide();
|
||||||
|
// Avoid setting display block property with show/hide methods.
|
||||||
|
$('#deploy_sec_ips_up').css('display', 'none');
|
||||||
|
$('#deploy_sec_ips_down').css('display', '');
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#deploy_sec_ips_down').on('click', function() {
|
||||||
|
$('#secondary_ips').show();
|
||||||
|
// Avoid setting display block property with show/hide methods.
|
||||||
|
$('#deploy_sec_ips_down').css('display', 'none');
|
||||||
|
$('#deploy_sec_ips_up').css('display', '');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
@ -597,6 +597,7 @@ function print_table(
|
|||||||
} else {
|
} else {
|
||||||
foreach ($all_interfaces as $key => $value) {
|
foreach ($all_interfaces as $key => $value) {
|
||||||
// Filter interfaces array.
|
// Filter interfaces array.
|
||||||
|
if (empty($selected_interfaces) === false && in_array('', $selected_interfaces) === false) {
|
||||||
$filtered_interfaces[$key] = array_filter(
|
$filtered_interfaces[$key] = array_filter(
|
||||||
$value,
|
$value,
|
||||||
function ($interface) use ($selected_interfaces) {
|
function ($interface) use ($selected_interfaces) {
|
||||||
@ -606,6 +607,9 @@ function print_table(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
$filtered_interfaces = $all_interfaces;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -265,13 +265,16 @@ function load_agent_interfaces_selector(selected_agents) {
|
|||||||
},
|
},
|
||||||
function (data, status) {
|
function (data, status) {
|
||||||
$("#module").html('');
|
$("#module").html('');
|
||||||
|
var option = $("<option></option>")
|
||||||
|
.attr ("value", "")
|
||||||
|
.html ("Any");
|
||||||
|
$("#selected_interfaces").append(option);
|
||||||
if (data) {
|
if (data) {
|
||||||
Object.values(data).forEach(function(obj) {
|
Object.values(data).forEach(function(obj) {
|
||||||
for (const [key, value] of Object.entries(obj.interfaces)) {
|
for (const [key, value] of Object.entries(obj.interfaces)) {
|
||||||
option = $("<option></option>")
|
option = $("<option></option>")
|
||||||
.attr ("value", value.status_module_id)
|
.attr ("value", value.status_module_id)
|
||||||
.html (key + ' (' + obj.agent_alias + ')');
|
.html ('(' + obj.agent_alias + ') ' + key);
|
||||||
$("#selected_interfaces").append(option);
|
$("#selected_interfaces").append(option);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -481,6 +481,7 @@ else if ($update_networkmap || $copy_networkmap || $delete) {
|
|||||||
[
|
[
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'id_group_map' => $id_group_map,
|
'id_group_map' => $id_group_map,
|
||||||
|
'!id' => $id,
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1613,7 +1613,7 @@ if (empty($result) === false) {
|
|||||||
$table->align[11] = 'left';
|
$table->align[11] = 'left';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_acl($config['id_user'], 0, 'AR')) {
|
if (check_acl($config['id_user'], 0, 'AW')) {
|
||||||
$actions_list = true;
|
$actions_list = true;
|
||||||
$table->head[12] = __('Actions');
|
$table->head[12] = __('Actions');
|
||||||
$table->align[12] = 'left';
|
$table->align[12] = 'left';
|
||||||
@ -2263,7 +2263,7 @@ if (empty($result) === false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (check_acl_one_of_groups($config['id_user'], $agent_groups, 'AW')) {
|
if (check_acl_one_of_groups($config['id_user'], $agent_groups, 'AW')) {
|
||||||
$table->cellclass[][2] = 'action_buttons';
|
$table->cellclass[][12] = 'table_action_buttons';
|
||||||
|
|
||||||
if (is_metaconsole() === true) {
|
if (is_metaconsole() === true) {
|
||||||
echo "<form id='agent-edit-redirection-".$inc_id."' target='_blank' method='POST' action='".$row['server_url']."index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=module&edit_module=1'>";
|
echo "<form id='agent-edit-redirection-".$inc_id."' target='_blank' method='POST' action='".$row['server_url']."index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=module&edit_module=1'>";
|
||||||
|
@ -169,6 +169,8 @@ if (is_ajax()) {
|
|||||||
},
|
},
|
||||||
[]
|
[]
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
echo json_encode([]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,82 +43,20 @@ if (!reporting_user_can_see_report($id_report)) {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calculations in order to modify init date of the report.
|
$date_params = get_parameter_date('date', '', 'U');
|
||||||
$date_init_less = (strtotime(date('Y-m-j')) - SECONDS_1DAY);
|
$date_end = date('Y/m/d', $date_params['date_end']);
|
||||||
$date_init = get_parameter('date_init', date(DATE_FORMAT, $date_init_less));
|
$time_end = date('H:i:s', $date_params['date_end']);
|
||||||
$time_init = get_parameter('time_init', date(TIME_FORMAT, $date_init_less));
|
|
||||||
$datetime_init = strtotime($date_init.' '.$time_init);
|
|
||||||
$pure = (int) get_parameter('pure', 0);
|
|
||||||
|
|
||||||
$period = null;
|
$date_start = date('Y/m/d', $date_params['date_init']);
|
||||||
// Get different date to search the report.
|
$time_start = date('H:i:s', $date_params['date_init']);
|
||||||
$date_end = (string) get_parameter('date_end', date(DATE_FORMAT));
|
|
||||||
$time_end = (string) get_parameter('time_end', date(TIME_FORMAT));
|
|
||||||
$datetime_end = strtotime($date_end.' '.$time_end);
|
|
||||||
|
|
||||||
// Calculate new inteval for all reports.
|
$date_init = date('Y/m/d', $date_params['date_init']);
|
||||||
$custom_date = get_parameter('custom_date', 0);
|
$time_init = date('H:i:s', $date_params['date_init']);
|
||||||
$date = get_parameter('date', 'none');
|
|
||||||
$date_text = get_parameter('date_text', SECONDS_1DAY);
|
|
||||||
|
|
||||||
$custom_date_end = '';
|
$custom_date_end = date('Y/m/d H:i:s', $date_params['date_end']);
|
||||||
$filter_type = '';
|
|
||||||
$custom_period = false;
|
|
||||||
if ($custom_date === '1') {
|
|
||||||
if ($date === 'chose_range') {
|
|
||||||
$date_init = get_parameter('date_init', 0);
|
|
||||||
$date_init = explode(' ', $date_init);
|
|
||||||
$date_init = $date_init[0];
|
|
||||||
$date_init .= ' '.get_parameter('time_init', '00:00:00');
|
|
||||||
$custom_date_end = get_parameter('date_end', 0);
|
|
||||||
$custom_date_end .= ' '.get_parameter('time_end', '00:00:00');
|
|
||||||
$date_end = date('Y/m/d H:i:s');
|
|
||||||
$period = (strtotime($date_end) - strtotime($date_init));
|
|
||||||
$custom_period = (strtotime($custom_date_end) - strtotime($date_init));
|
|
||||||
$filter_type = 'chose_range';
|
|
||||||
} else {
|
|
||||||
if ($datetime_init >= $datetime_end) {
|
|
||||||
$datetime_init = $date_init_less;
|
|
||||||
}
|
|
||||||
|
|
||||||
$period = ($datetime_end - $datetime_init);
|
$period = $date_params['period'];
|
||||||
}
|
$custom_period = $date_params['period'];
|
||||||
} else if ($custom_date === '2') {
|
|
||||||
$date_units = get_parameter('date_units');
|
|
||||||
$date_end = date('Y/m/d H:i:s');
|
|
||||||
$date_start = date('Y/m/d H:i:s', (strtotime($date_end) - ($date_text * $date_units)));
|
|
||||||
$period = (strtotime($date_end) - strtotime($date_start));
|
|
||||||
} else if (in_array($date, ['this_week', 'this_month', 'past_week', 'past_month'])) {
|
|
||||||
if ($date === 'this_week') {
|
|
||||||
// Last monday.
|
|
||||||
$date_init = date('Y/m/d H:i:s', strtotime('last monday'));
|
|
||||||
// $date_end = date('Y/m/d H:i:s', strtotime($date_init.' +6 days'));
|
|
||||||
$date_end = date('Y/m/d H:i:s');
|
|
||||||
$period = (strtotime($date_end) - strtotime($date_init));
|
|
||||||
$filter_type = 'this_week';
|
|
||||||
} else if ($date === 'this_month') {
|
|
||||||
// $date_end = date('Y/m/d', strtotime('last day of this month'));
|
|
||||||
$date_end = date('Y/m/d H:i:s');
|
|
||||||
$first_of_month = date('Y/m/d', strtotime('first day of this month'));
|
|
||||||
$period = (strtotime($date_end) - strtotime($first_of_month));
|
|
||||||
$filter_type = 'this_month';
|
|
||||||
} else if ($date === 'past_month') {
|
|
||||||
$date_end = date('Y/m/d', strtotime('last day of previous month'));
|
|
||||||
$first_of_month = date('Y/m/d', strtotime('first day of previous month'));
|
|
||||||
$period = (strtotime($date_end) - strtotime($first_of_month));
|
|
||||||
} else if ($date === 'past_week') {
|
|
||||||
$date_end = date('Y-m-d', strtotime('sunday', strtotime('last week')));
|
|
||||||
$first_of_week = date('Y-m-d', strtotime('monday', strtotime('last week')));
|
|
||||||
$period = (strtotime($date_end) - strtotime($first_of_week));
|
|
||||||
}
|
|
||||||
} else if ($date === 'none') {
|
|
||||||
// Prioritize the report item period based on the current local date/time.
|
|
||||||
$date_end = date('Y/m/d H:i:s');
|
|
||||||
} else {
|
|
||||||
$date_end = date('Y/m/d H:i:s');
|
|
||||||
$date_start = date('Y/m/d H:i:s', (strtotime($date_end) - $date));
|
|
||||||
$period = (strtotime($date_end) - strtotime($date_start));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Shchedule report email.
|
// Shchedule report email.
|
||||||
$schedule_report = get_parameter('schbutton', '');
|
$schedule_report = get_parameter('schbutton', '');
|
||||||
@ -318,12 +256,12 @@ if ($html_menu_export === ENTERPRISE_NOT_HOOK) {
|
|||||||
if ((bool) is_metaconsole() === true) {
|
if ((bool) is_metaconsole() === true) {
|
||||||
$table2->data[0][2] = html_print_label_input_block(
|
$table2->data[0][2] = html_print_label_input_block(
|
||||||
__('Date').' ',
|
__('Date').' ',
|
||||||
html_print_select_date_range('date', true, get_parameter('date', 'none'), $date_init, $time_init, date('Y/m/d'), date('H:i:s'), $date_text),
|
html_print_select_date_range('date', true, get_parameter('date', 'none'), $date_init, $time_init, $date_end, $time_end, $date_text),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$table2->data[0][2] = html_print_label_input_block(
|
$table2->data[0][2] = html_print_label_input_block(
|
||||||
__('Date').' ',
|
__('Date').' ',
|
||||||
html_print_select_date_range('date', true, get_parameter('date', 'none'), $date_init, $time_init, date('Y/m/d'), date('H:i:s'), $date_text),
|
html_print_select_date_range('date', true, get_parameter('date', 'none'), $date_init, $time_init, $date_end, $time_end, $date_text),
|
||||||
['label_class' => 'filter_label_position_before']
|
['label_class' => 'filter_label_position_before']
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
%define name pandorafms_console
|
%define name pandorafms_console
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
|
|
||||||
# User and Group under which Apache is running
|
# User and Group under which Apache is running
|
||||||
%define httpd_name httpd
|
%define httpd_name httpd
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
%define name pandorafms_console
|
%define name pandorafms_console
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
|
|
||||||
# User and Group under which Apache is running
|
# User and Group under which Apache is running
|
||||||
%define httpd_name httpd
|
%define httpd_name httpd
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
%define name pandorafms_console
|
%define name pandorafms_console
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
%define httpd_name httpd
|
%define httpd_name httpd
|
||||||
# User and Group under which Apache is running
|
# User and Group under which Apache is running
|
||||||
%define httpd_name apache2
|
%define httpd_name apache2
|
||||||
|
@ -1326,6 +1326,7 @@ CREATE TABLE IF NOT EXISTS `tusuario` (
|
|||||||
`allowed_ip_list` TEXT,
|
`allowed_ip_list` TEXT,
|
||||||
`auth_token_secret` VARCHAR(45) DEFAULT NULL,
|
`auth_token_secret` VARCHAR(45) DEFAULT NULL,
|
||||||
`session_max_time_expire` INT NOT NULL DEFAULT 0,
|
`session_max_time_expire` INT NOT NULL DEFAULT 0,
|
||||||
|
`stop_lts_modal` TINYINT NOT NULL DEFAULT 0,
|
||||||
CONSTRAINT `fk_filter_id` FOREIGN KEY (`id_filter`) REFERENCES tevent_filter (`id_filter`) ON DELETE SET NULL,
|
CONSTRAINT `fk_filter_id` FOREIGN KEY (`id_filter`) REFERENCES tevent_filter (`id_filter`) ON DELETE SET NULL,
|
||||||
UNIQUE KEY `id_user` (`id_user`)
|
UNIQUE KEY `id_user` (`id_user`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
|
@ -2673,30 +2673,29 @@ INSERT INTO `tncm_agent_data_template_scripts`(`id_agent_data_template`, `id_scr
|
|||||||
INSERT INTO `talert_calendar` VALUES (1, 'Default', 0, 'Default calendar');
|
INSERT INTO `talert_calendar` VALUES (1, 'Default', 0, 'Default calendar');
|
||||||
|
|
||||||
INSERT INTO `twelcome_tip` VALUES
|
INSERT INTO `twelcome_tip` VALUES
|
||||||
(1,'es',0,'¿Sabías que puedes monitorizar webs?','De manera sencilla a través de chequeos HTTP estándar o transaccional mediante transacciones centralizadas WUX, o descentralizadas con el plugin UX de agente.','https://pandorafms.com/manual/es/documentation/03_monitoring/06_web_monitoring','1'),
|
(1,'es',0,'¿Sabías que puedes monitorizar webs?','De manera sencilla a través de chequeos HTTP estándar o transaccional mediante transacciones centralizadas WUX, o descentralizadas con el plugin UX de agente.','https://pandorafms.com/manual/!current/es/documentation/03_monitoring/06_web_monitoring','1'),
|
||||||
(2,'es',0,'Monitorización remota de dispositivos SNMP','Los dispositivos de red como switches, AP, routers y firewalls se pueden monitorizar remotamente usando el protocolo SNMP. Basta con saber su IP, la comunidad SNMP y lanzar un wizard SNMP desde la consola.','https://pandorafms.com/manual/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_snmp','1'),
|
(2,'es',0,'Monitorización remota de dispositivos SNMP','Los dispositivos de red como switches, AP, routers y firewalls se pueden monitorizar remotamente usando el protocolo SNMP. Basta con saber su IP, la comunidad SNMP y lanzar un wizard SNMP desde la consola.','https://pandorafms.com/manual/!current/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_snmp','1'),
|
||||||
(3,'es',0,'Monitorizar rutas desde una IP a otra','Existe un plugin especial que sirve para monitorizar visualmente las rutas desde una IP a otra de manera visual y dinámica, según va cambiando con el tiempo.','https://pandorafms.com/manual/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_de_rutas','1'),
|
(3,'es',0,'Monitorizar rutas desde una IP a otra','Existe un plugin especial que sirve para monitorizar visualmente las rutas desde una IP a otra de manera visual y dinámica, según va cambiando con el tiempo.','https://pandorafms.com/manual/!current/es/documentation/03_monitoring/03_remote_monitoring#monitorizacion_de_rutas','1'),
|
||||||
(4,'es',0,'¿Tu red pierde paquetes?','Se puede medir la pérdida de paquetes en tu red usando un agente y un plugin libre llamado “Packet Loss”. Esto es especialmente útil en redes Wifi o redes compartidas con muchos usuarios. Escribimos un artículo en nuestro blog hablando de ello, echale un vistazo','https://pandorafms.com/blog/es/perdida-de-paquetes/','1'),
|
(4,'es',0,'¿Tu red pierde paquetes?','Se puede medir la pérdida de paquetes en tu red usando un agente y un plugin libre llamado “Packet Loss”. Esto es especialmente útil en redes Wifi o redes compartidas con muchos usuarios. Escribimos un artículo en nuestro blog hablando de ello, echale un vistazo','https://pandorafms.com/blog/es/perdida-de-paquetes/','1'),
|
||||||
(5,'es',0,'Usar Telegram con Pandora FMS','Perfecto para recibir alertas con gráficas empotradas y personalizar así la recepción de avisos de manera individual o en un canal común con mas personas. ','https://pandorafms.com/library/telegram-bot-cli/','1'),
|
(5,'es',0,'Usar Telegram con Pandora FMS','Perfecto para recibir alertas con gráficas empotradas y personalizar así la recepción de avisos de manera individual o en un canal común con mas personas. ','https://pandorafms.com/library/telegram-bot-cli/','1'),
|
||||||
(6,'es',0,'Monitorizar JMX (Tomcat, Websphere, Weblogic, Jboss, Apache Kafka, Jetty, GlassFish…)','Existe un plugin Enterprise que sirve para monitorizar cualquier tecnología JMX. Se puede usar de manera local (como plugin local) o de manera remota con el plugin server.','https://pandorafms.com/library/jmx-monitoring/','1'),
|
(6,'es',0,'Monitorizar JMX (Tomcat, Websphere, Weblogic, Jboss, Apache Kafka, Jetty, GlassFish…)','Existe un plugin Enterprise que sirve para monitorizar cualquier tecnología JMX. Se puede usar de manera local (como plugin local) o de manera remota con el plugin server.','https://pandorafms.com/library/jmx-monitoring/','1'),
|
||||||
(7,'es',0,'¿Sabes que cada usuario puede tener su propia Zona Horaria?','Se puede establecer zonas horarias diferentes para cada usuario, de manera que interprete los datos teniendo en cuenta la diferencia horaria. Pandora FMS también puede tener servidores y agentes en diferentes zonas horarias. ¡Por todo el mundo!','','1'),
|
(7,'es',0,'¿Sabes que cada usuario puede tener su propia Zona Horaria?','Se puede establecer zonas horarias diferentes para cada usuario, de manera que interprete los datos teniendo en cuenta la diferencia horaria. Pandora FMS también puede tener servidores y agentes en diferentes zonas horarias. ¡Por todo el mundo!','','1'),
|
||||||
(8,'es',0,'Paradas planificadas','Se puede definir, a nivel de agente y a nivel de módulo, períodos en los cuales se ignoren las alertas y/o los datos recogidos. Es perfecto para planificar paradas de servicio o desconexión de los sistemas monitorizados. También afecta a los informes SLA, evitando que se tengan en cuenta esos intervalos de tiempo.    ','https://pandorafms.com/manual/es/documentation/04_using/11_managing_and_administration#paradas_de_servicio_planificadas','1'),
|
(8,'es',0,'Paradas planificadas','Se puede definir, a nivel de agente y a nivel de módulo, períodos en los cuales se ignoren las alertas y/o los datos recogidos. Es perfecto para planificar paradas de servicio o desconexión de los sistemas monitorizados. También afecta a los informes SLA, evitando que se tengan en cuenta esos intervalos de tiempo.    ','https://pandorafms.com/manual/!current/es/documentation/04_using/11_managing_and_administration#paradas_de_servicio_planificadas','1'),
|
||||||
(9,'es',0,'Personalizar los emails de alerta ','¿Sabías que se pueden personalizar los mails de alertas de Pandora? Solo tienes que editar el código HTML por defecto de las acciones de alerta de tipo email.  ','https://pandorafms.com/manual/en/documentation/04_using/01_alerts#editing_an_action','1'),
|
(9,'es',0,'Personalizar los emails de alerta ','¿Sabías que se pueden personalizar los mails de alertas de Pandora? Solo tienes que editar el código HTML por defecto de las acciones de alerta de tipo email.  ','https://pandorafms.com/manual/!current/es/documentation/pandorafms/management_and_operation/01_alerts#configuracion_de_correos_para_alertas_en_pandora_fms','1'),
|
||||||
(10,'es',0,'Usando iconos personalizados en consolas visuales ','Gracias a los iconos personalizados se pueden crear vistas muy personalizadas, como la de la imagen, que representa racks con los tipos de servidores en el orden que están colocados dentro del rack. Perfecto para que un técnico sepa exactamente qué máquina esta fallando. Más visual no puede ser, de ahi el nombre.  ','https://pandorafms.com/manual/start?id=es/documentation/04_using/05_data_presentation_visual_maps','1'),
|
(10,'es',0,'Usando iconos personalizados en consolas visuales ','Gracias a los iconos personalizados se pueden crear vistas muy personalizadas, como la de la imagen, que representa racks con los tipos de servidores en el orden que están colocados dentro del rack. Perfecto para que un técnico sepa exactamente qué máquina esta fallando. Más visual no puede ser, de ahi el nombre.  ','https://pandorafms.com/manual/!current/start?id=es/documentation/04_using/05_data_presentation_visual_maps','1'),
|
||||||
(11,'es',0,'Consolas visuales: mapas de calor ','La consola permite integrar en un fondo personalizado una serie de datos, que en función de su valor se representen con unos colores u otros, en tiempo real. Las aplicaciones son infinitas, solo depende de tu imaginación.   ','https://pandorafms.com/manual/es/documentation/04_using/05_data_presentation_visual_maps#mapa_de_calor_o_nube_de_color','1'),
|
(11,'es',0,'Consolas visuales: mapas de calor ','La consola permite integrar en un fondo personalizado una serie de datos, que en función de su valor se representen con unos colores u otros, en tiempo real. Las aplicaciones son infinitas, solo depende de tu imaginación.   ','https://pandorafms.com/manual/!current/es/documentation/04_using/05_data_presentation_visual_maps#mapa_de_calor_o_nube_de_color','1'),
|
||||||
(12,'es',0,'Auditoría interna de la consola ','La consola registra todas las actividades relevantes de cada usuario conectado a la consola. Esto incluye la aplicación de configuraciones, validaciones de eventos y alertas, conexión y desconexión y cientos de otras operaciones. La seguridad en Pandora FMS ha sido siempre una de las características del diseño de su arquitectura.  ','https://pandorafms.com/manual/es/documentation/04_using/11_managing_and_administration#log_de_auditoria','1'),
|
(12,'es',0,'Auditoría interna de la consola ','La consola registra todas las actividades relevantes de cada usuario conectado a la consola. Esto incluye la aplicación de configuraciones, validaciones de eventos y alertas, conexión y desconexión y cientos de otras operaciones. La seguridad en Pandora FMS ha sido siempre una de las características del diseño de su arquitectura.  ','https://pandorafms.com/manual/!current/es/documentation/04_using/11_managing_and_administration#log_de_auditoria','1'),
|
||||||
(13,'es',0,'Sistema de provisión automática de agentes ','El sistema de autoprovisión de agentes, permite que un agente recién ingresado en el sistema aplique automáticamente cambios en su configuración (como moverlo de grupo, asignarle ciertos valores en campos personalizados) y por supuesto aplicarle determinadas politicas de monitorización. Es una de las funcionalidades más potentes, orientadas a gestionar parques de sistemas muy extensos.  ','https://pandorafms.com/manual/start?id=es/documentation/02_installation/05_configuration_agents#configuracion_automatica_de_agentes','1'),
|
(13,'es',0,'Sistema de provisión automática de agentes ','El sistema de autoprovisión de agentes, permite que un agente recién ingresado en el sistema aplique automáticamente cambios en su configuración (como moverlo de grupo, asignarle ciertos valores en campos personalizados) y por supuesto aplicarle determinadas politicas de monitorización. Es una de las funcionalidades más potentes, orientadas a gestionar parques de sistemas muy extensos.  ','https://pandorafms.com/manual/!current/start?id=es/documentation/02_installation/05_configuration_agents#configuracion_automatica_de_agentes','1'),
|
||||||
(14,'es',0,'Modo oscuro ','¿Sabes que existe un modo oscuro en Pandora FMS? Un administrador lo puede activar a nivel global desde las opciones de configuración visuales o cualquier usuario a nivel individual, en las opciones de usuario. ','','1'),
|
(14,'es',0,'Modo oscuro ','¿Sabes que existe un modo oscuro en Pandora FMS? Un administrador lo puede activar a nivel global desde las opciones de configuración visuales o cualquier usuario a nivel individual, en las opciones de usuario. ','','1'),
|
||||||
(15,'es',0,'Google Sheet ','¿Sabes que se puede coger el valor de una celda de una hoja de cálculo de Google Sheet?, utilizamos la API para pedir el dato a través de un plugin remoto. Es perfecto para construir cuadros de mando de negocio, obtener alertas en tiempo real y crear tus propios informes a medida.  ','https://pandorafms.com/library/google-sheets-plugin/','1'),
|
(15,'es',0,'Google Sheet ','¿Sabes que se puede coger el valor de una celda de una hoja de cálculo de Google Sheet?, utilizamos la API para pedir el dato a través de un plugin remoto. Es perfecto para construir cuadros de mando de negocio, obtener alertas en tiempo real y crear tus propios informes a medida.  ','https://pandorafms.com/library/google-sheets-plugin/','1'),
|
||||||
(16,'es',0,'Tablas de ARP','¿Sabes que existe un módulo de inventario para sacar las tablas ARP de tus servidores windows? Es fácil de instalar y puede darte información muy detallada de tus equipos.','https://pandorafms.com/library/arp-table-windows-local/','1'),
|
(16,'es',0,'Tablas de ARP','¿Sabes que existe un módulo de inventario para sacar las tablas ARP de tus servidores windows? Es fácil de instalar y puede darte información muy detallada de tus equipos.','https://pandorafms.com/library/arp-table-windows-local/','1'),
|
||||||
(17,'es',0,'Enlaces de red en la consola visual ','Existe un elemento de consola visual llamado “Network link” que permite mostrar visualmente la unión de dos interfaces de red, su estado y el tráfico de subida/bajada, de una manera muy visual.  ','https://pandorafms.com/manual/es/documentation/04_using/05_data_presentation_visual_maps#enlace_de_red','1'),
|
(17,'es',0,'Enlaces de red en la consola visual ','Existe un elemento de consola visual llamado “Network link” que permite mostrar visualmente la unión de dos interfaces de red, su estado y el tráfico de subida/bajada, de una manera muy visual.  ','https://pandorafms.com/manual/!current/es/documentation/04_using/05_data_presentation_visual_maps#enlace_de_red','1'),
|
||||||
(18,'es',0,'¿Conoces los informes de disponibilidad? ','Son muy útiles ya que te dicen el tiempo (%) que un chequeo ha estado en diferentes estados a lo largo de un lapso de tiempo, por ejemplo, una semana. Ofrece datos crudos completos de lo que se ha hecho con el detalle suficiente para convencer a un proveedor o un cliente.  ','','1'),
|
(18,'es',0,'¿Conoces los informes de disponibilidad? ','Son muy útiles ya que te dicen el tiempo (%) que un chequeo ha estado en diferentes estados a lo largo de un lapso de tiempo, por ejemplo, una semana. Ofrece datos crudos completos de lo que se ha hecho con el detalle suficiente para convencer a un proveedor o un cliente.  ','','1'),
|
||||||
(19,'es',0,'Gráficas de disponibilidad ','Parecidos a los informes de disponibilidad, pero mucho mas visuales, ofrecen el detalle de estado de un monitor a lo largo del tiempo. Se pueden agrupar con otro módulo para ofrecer datos finales teniendo en cuenta la alta disponibilidad de un servicio. Son perfectos para su uso en informes a proveedores y/o clientes.  ','https://pandorafms.com/manual/es/documentation/04_using/08_data_presentation_reports#grafico_de_disponibilidad','1'),
|
(19,'es',0,'Gráficas de disponibilidad ','Parecidos a los informes de disponibilidad, pero mucho mas visuales, ofrecen el detalle de estado de un monitor a lo largo del tiempo. Se pueden agrupar con otro módulo para ofrecer datos finales teniendo en cuenta la alta disponibilidad de un servicio. Son perfectos para su uso en informes a proveedores y/o clientes.  ','https://pandorafms.com/manual/!current/es/documentation/04_using/08_data_presentation_reports#grafico_de_disponibilidad','1'),
|
||||||
(20,'es',0,'Zoom en gráficas de datos ','¿Sabes que Pandora FMS permite hacer zoom en una parte de la gráfica. Con eso ampliarás la información de la gráfica. Si estás viendo una gráfica de un mes y amplías, podrás ver los datos de ese intervalo. Si utilizas una gráfica con datos de resolución completa (los llamamos gráficas TIP) podrás ver el detalle de cada dato, aunque tu gráfica tenga miles de muestras.  ','','1'),
|
(20,'es',0,'Zoom en gráficas de datos ','¿Sabes que Pandora FMS permite hacer zoom en una parte de la gráfica. Con eso ampliarás la información de la gráfica. Si estás viendo una gráfica de un mes y amplías, podrás ver los datos de ese intervalo. Si utilizas una gráfica con datos de resolución completa (los llamamos gráficas TIP) podrás ver el detalle de cada dato, aunque tu gráfica tenga miles de muestras.  ','','1'),
|
||||||
(21,'es',0,'Gráficas de resolución completa ','Pandora FMS y otras herramientas cuando tienen que mostrar una gráfica obtienen los datos de la fuente de datos y luego “simplifican” la gráfica, ya que si la serie de datos tiene 10,000 elementos y la gráfica solo tiene 300 pixeles de ancho no pueden caber todos, asi que se “simplifican” esos 10,000 puntos en solo 300.   Sin embargo al simplificar se pierde “detalle” en la gráfica, y por supuesto no podemos “hacer zoom”. Las gráficas de Pandora FMS permiten mostrar y usar todos los datos en una gráfica, que llamamos “TIP” que muestra todos los puntos superpuestos y además permite que al hacer zoom no se pierda resolución.   ','','1'),
|
(21,'es',0,'Gráficas de resolución completa ','Pandora FMS y otras herramientas cuando tienen que mostrar una gráfica obtienen los datos de la fuente de datos y luego “simplifican” la gráfica, ya que si la serie de datos tiene 10,000 elementos y la gráfica solo tiene 300 pixeles de ancho no pueden caber todos, asi que se “simplifican” esos 10,000 puntos en solo 300.   Sin embargo al simplificar se pierde “detalle” en la gráfica, y por supuesto no podemos “hacer zoom”. Las gráficas de Pandora FMS permiten mostrar y usar todos los datos en una gráfica, que llamamos “TIP” que muestra todos los puntos superpuestos y además permite que al hacer zoom no se pierda resolución.   ','','1'),
|
||||||
(22,'es',0,'Política de contraseñas','La consola de Pandora FMS tiene un sistema de gestión de política de credenciales, para reforzar la seguridad local (además de permitir la autenticación externa contra un LDAP, Active Directory o SAML). A través de este sistema podemos forzar cambios de password cada X días, guardar un histórico de passwords usadas o evitar el uso de ciertas contraseñas entre otras acciones.  ','https://pandorafms.com/manual/es/documentation/04_using/12_console_setup?s%5B%5D%3Dcontrase%25C3%25B1as#password_policy','1'),
|
(22,'es',0,'Política de contraseñas','La consola de Pandora FMS tiene un sistema de gestión de política de credenciales, para reforzar la seguridad local (además de permitir la autenticación externa contra un LDAP, Active Directory o SAML). A través de este sistema podemos forzar cambios de password cada X días, guardar un histórico de passwords usadas o evitar el uso de ciertas contraseñas entre otras acciones.  ','https://pandorafms.com/manual/!current/es/documentation/04_using/12_console_setup?s%5B%5D%3Dcontrase%25C3%25B1as#password_policy','1'),
|
||||||
(23,'es',0,'Autenticación de doble factor ','Es posible activar (y forzar su uso a todos los usuarios) un sistema de doble autenticación (usando Google Auth) para que cualquier usuario se autentique además de con una contraseña, con un sistema de token de un solo uso, dando al sistema mucha más seguridad.  ','https://pandorafms.com/manual/en/documentation/04_using/12_console_setup?s%5B%5D%3Dgoogle%26s%5B%5D%3Dauth#authentication','1');
|
(23,'es',0,'Autenticación de doble factor ','Es posible activar (y forzar su uso a todos los usuarios) un sistema de doble autenticación (usando Google Auth) para que cualquier usuario se autentique además de con una contraseña, con un sistema de token de un solo uso, dando al sistema mucha más seguridad.  ','https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dgoogle%26s%5B%5D%3Dauth#authentication','1');
|
||||||
|
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`, `filename`, `path`) VALUES
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`, `filename`, `path`) VALUES
|
||||||
(1, 'monitorizar_web.png', 'images/tips/'),
|
(1, 'monitorizar_web.png', 'images/tips/'),
|
||||||
(2, 'monitorizar_snmp.png', 'images/tips/'),
|
(2, 'monitorizar_snmp.png', 'images/tips/'),
|
||||||
@ -2720,7 +2719,7 @@ INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`, `filename`, `path`) VALUES
|
|||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'You know reports of Availability?','They are very useful as they tell you how long (%) a check has been in different states over a period of time, say a week. It offers complete raw data of what has been done in enough detail to convince a vendor or customer.','',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'You know reports of Availability?','They are very useful as they tell you how long (%) a check has been in different states over a period of time, say a week. It offers complete raw data of what has been done in enough detail to convince a vendor or customer.','',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'informe_disponibiliad.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'informe_disponibiliad.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Did you know that you can monitor websites?','In a simple way through standard or transactional HTTP checks through centralized WUX transactions, or decentralized with the UX agent plugin.','https://pandorafms.com/manual/en/documentation/03_monitoring/06_web_monitoring',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Did you know that you can monitor websites?','In a simple way through standard or transactional HTTP checks through centralized WUX transactions, or decentralized with the UX agent plugin.','https://pandorafms.com/manual/!current/en/documentation/03_monitoring/06_web_monitoring',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'monitorizar_web.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'monitorizar_web.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Did you know that each user can have their own Time Zone?','Different time zones can be established for each user, so that it interprets the data taking into account the time difference. Pandora FMS can also have servers and agents in different time zones. All over the world!','',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Did you know that each user can have their own Time Zone?','Different time zones can be established for each user, so that it interprets the data taking into account the time difference. Pandora FMS can also have servers and agents in different time zones. All over the world!','',1);
|
||||||
@ -2729,47 +2728,47 @@ INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (
|
|||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Does your network lose packets?','You can measure the packet loss in your network using an agent and a free plugin called “Packet Loss”. This is especially useful on Wi-Fi networks or networks shared with many users. We wrote an article on our blog talking about it, check it out','https://pandorafms.com/blog/packet-loss/',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Does your network lose packets?','You can measure the packet loss in your network using an agent and a free plugin called “Packet Loss”. This is especially useful on Wi-Fi networks or networks shared with many users. We wrote an article on our blog talking about it, check it out','https://pandorafms.com/blog/packet-loss/',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'tu_red_pierde_paquetes.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'tu_red_pierde_paquetes.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Console Internal Audit','The console logs all relevant activities of each user connected to the console. This includes the application of configurations, validation of events and alerts, connection and disconnection, and hundreds of other operations. Security in Pandora FMS has always been one of the design characteristics of its architecture.','https://pandorafms.com/manual/en/documentation/04_using/11_managing_and_administration#log_de_auditoria',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Console Internal Audit','The console logs all relevant activities of each user connected to the console. This includes the application of configurations, validation of events and alerts, connection and disconnection, and hundreds of other operations. Security in Pandora FMS has always been one of the design characteristics of its architecture.','https://pandorafms.com/manual/!current/en/documentation/04_using/11_managing_and_administration#log_de_auditoria',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'auditoria.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'auditoria.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Two-factor authentication','It is possible to activate (and force its use to all users) a double authentication system (using Google Auth) so that any user authenticates in addition to a password, with a single-use token system, giving the system much more security.','https://pandorafms.com/manual/en/documentation/04_using/12_console_setup?s%5B%5D%3Dgoogle%26s%5B%5D%',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Two-factor authentication','It is possible to activate (and force its use to all users) a double authentication system (using Google Auth) so that any user authenticates in addition to a password, with a single-use token system, giving the system much more security.','https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dgoogle%26s%5B%5D%',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'politica_de_pass.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'politica_de_pass.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Visual consoles: heat maps','The console allows a series of data to be integrated into a personalized background, which, depending on their value, is represented with one color or another, in real time. The applications are endless, it just depends on your imagination.','https://pandorafms.com/manual/en/documentation/04_using/05_data_presentation_visual_maps#mapa_de_cal',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Visual consoles: heat maps','The console allows a series of data to be integrated into a personalized background, which, depending on their value, is represented with one color or another, in real time. The applications are endless, it just depends on your imagination.','https://pandorafms.com/manual/!current/en/documentation/04_using/05_data_presentation_visual_maps#mapa_de_cal',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'mapa_de_calor.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'mapa_de_calor.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Network links in the visual console','There is a visual console element called “Network link” that allows to visually show the union of two network interfaces, their status and the upload/download traffic, in a very visual way.','https://pandorafms.com/manual/en/documentation/04_using/05_data_presentation_visual_maps#enlace_de_red',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Network links in the visual console','There is a visual console element called “Network link” that allows to visually show the union of two network interfaces, their status and the upload/download traffic, in a very visual way.','https://pandorafms.com/manual/!current/en/documentation/04_using/05_data_presentation_visual_maps#enlace_de_red',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'enlaces_consola_visual.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'enlaces_consola_visual.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Google Sheet ','Do you know that you can get the value of a cell from a Google Sheet spreadsheet? We use the API to request the data through a remote plugin. It's perfect for building business dashboards, getting real-time alerts, and creating your own custom reports.','https://pandorafms.com/library/google-sheets-plugin/',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Google Sheet ','Do you know that you can get the value of a cell from a Google Sheet spreadsheet? We use the API to request the data through a remote plugin. It's perfect for building business dashboards, getting real-time alerts, and creating your own custom reports.','https://pandorafms.com/library/google-sheets-plugin/',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'google_sheets.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'google_sheets.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Availability graphs','Similar to availability reports, but much more visual, they offer detailed status of a monitor over time. They can be grouped with another module to offer final data taking into account the high availability of a service. They are perfect for use in reports to suppliers and/or customers.','https://pandorafms.com/manual/en/documentation/04_using/08_data_presentation_reports#grafico_de_disp',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Availability graphs','Similar to availability reports, but much more visual, they offer detailed status of a monitor over time. They can be grouped with another module to offer final data taking into account the high availability of a service. They are perfect for use in reports to suppliers and/or customers.','https://pandorafms.com/manual/!current/en/documentation/04_using/08_data_presentation_reports#grafico_de_disp',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'graficas_disponibilidad.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'graficas_disponibilidad.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Full resolution graphics','Pandora FMS and other tools, when they have to display a graph, obtain the data from the data source and then “simplify” the graph, since if the data series has 10,000 elements and the graph is only 300 pixels wide, they cannot fit all of them. , so those 10,000 points are “simplified” into only 300. However, when simplifying, “detail” is lost in the graph, and of course we cannot “zoom in”. Pandora FMS graphs allow you to display and use all the data in a graph, which we call "TIP" that shows all the overlapping points and also allows you not to lose resolution when zooming.','',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Full resolution graphics','Pandora FMS and other tools, when they have to display a graph, obtain the data from the data source and then “simplify” the graph, since if the data series has 10,000 elements and the graph is only 300 pixels wide, they cannot fit all of them. , so those 10,000 points are “simplified” into only 300. However, when simplifying, “detail” is lost in the graph, and of course we cannot “zoom in”. Pandora FMS graphs allow you to display and use all the data in a graph, which we call "TIP" that shows all the overlapping points and also allows you not to lose resolution when zooming.','',1);
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'dark mode','Do you know that there is a dark mode in Pandora FMS? An administrator can activate it at a global level from the visual configuration options or any user at an individual level, in the user options.','',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'dark mode','Do you know that there is a dark mode in Pandora FMS? An administrator can activate it at a global level from the visual configuration options or any user at an individual level, in the user options.','',1);
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Remote monitoring of SNMP devices','Network devices such as switches, APs, routers, and firewalls can be remotely monitored using the SNMP protocol. It is enough to know your IP, the SNMP community and launch an SNMP wizard from the console.','https://pandorafms.com/manual/en/documentation/03_monitoring/03_remote_monitoring#monitorizacion_snmp',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Remote monitoring of SNMP devices','Network devices such as switches, APs, routers, and firewalls can be remotely monitored using the SNMP protocol. It is enough to know your IP, the SNMP community and launch an SNMP wizard from the console.','https://pandorafms.com/manual/!current/en/documentation/03_monitoring/03_remote_monitoring#monitorizacion_snmp',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'monitorizar_snmp.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'monitorizar_snmp.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Monitoring JMX (Tomcat, Websphere, Weblogic, Jboss, Apache Kafka, Jetty, GlassFish…)','There is an Enterprise plugin that is used to monitor any JMX technology. It can be used locally (as a local plugin) or remotely with the plugin server.','https://pandorafms.com/library/jmx-monitoring/',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Monitoring JMX (Tomcat, Websphere, Weblogic, Jboss, Apache Kafka, Jetty, GlassFish…)','There is an Enterprise plugin that is used to monitor any JMX technology. It can be used locally (as a local plugin) or remotely with the plugin server.','https://pandorafms.com/library/jmx-monitoring/',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'monitorizar_con_jmx.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'monitorizar_con_jmx.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Monitor routes from one IP to another','There is a special plugin that is used to visually monitor the routes from one IP to another in a visual and dynamic way, as it changes over time.','https://pandorafms.com/manual/en/documentation/03_monitoring/03_remote_monitoring#monitorizacion_de_rutas',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Monitor routes from one IP to another','There is a special plugin that is used to visually monitor the routes from one IP to another in a visual and dynamic way, as it changes over time.','https://pandorafms.com/manual/!current/en/documentation/03_monitoring/03_remote_monitoring#monitorizacion_de_rutas',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'monitorizar_desde_ip.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'monitorizar_desde_ip.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Scheduled downtimes','It is possible to define, at the agent level and at the module level, periods in which the alerts and/or the collected data are ignored. It is perfect for planning service stops or disconnection of monitored systems. It also affects SLA reporting, preventing those time intervals from being taken into account.','https://pandorafms.com/manual/en/documentation/04_using/11_managing_and_administration#scheduled_downtimes',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Scheduled downtimes','It is possible to define, at the agent level and at the module level, periods in which the alerts and/or the collected data are ignored. It is perfect for planning service stops or disconnection of monitored systems. It also affects SLA reporting, preventing those time intervals from being taken into account.','https://pandorafms.com/manual/!current/en/documentation/04_using/11_managing_and_administration#scheduled_downtimes',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'paradas_planificadas.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'paradas_planificadas.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Customize alert emails','Did you know that Pandora alert emails can be customized? You only have to edit the default HTML code of the email type alert actions.','https://pandorafms.com/manual/en/documentation/04_using/01_alerts#editing_an_action',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Customize alert emails','Did you know that Pandora alert emails can be customized? You only have to edit the default HTML code of the email type alert actions.','https://pandorafms.com/manual/!current/en/documentation/04_using/01_alerts#editing_an_action',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'personalizar_los_emails.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'personalizar_los_emails.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'password policy','The Pandora FMS console has a credential policy management system, to reinforce local security (in addition to allowing external authentication against LDAP, Active Directory or SAML). Through this system we can force password changes every X days, save a history of passwords used or prevent the use of certain passwords, among other actions.','https://pandorafms.com/manual/en/documentation/04_using/12_console_setup?s%5B%5D%3Dcontrase%25C3%25B',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'password policy','The Pandora FMS console has a credential policy management system, to reinforce local security (in addition to allowing external authentication against LDAP, Active Directory or SAML). Through this system we can force password changes every X days, save a history of passwords used or prevent the use of certain passwords, among other actions.','https://pandorafms.com/manual/!current/en/documentation/04_using/12_console_setup?s%5B%5D%3Dcontrase%25C3%25B',1);
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Automatic agent provision system','The agent self-provisioning system allows an agent recently entered into the system to automatically apply changes to their configuration (such as moving them from group, assigning them certain values in custom fields) and of course applying certain monitoring policies. It is one of the most powerful functionalities, aimed at managing very large system parks.','https://pandorafms.com/manual/start?id=en/documentation/02_installation/05_configuration_agents#conf',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Automatic agent provision system','The agent self-provisioning system allows an agent recently entered into the system to automatically apply changes to their configuration (such as moving them from group, assigning them certain values in custom fields) and of course applying certain monitoring policies. It is one of the most powerful functionalities, aimed at managing very large system parks.','https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf',1);
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Automatic agent provision system','The agent self-provisioning system allows an agent recently entered into the system to automatically apply changes to their configuration (such as moving them from group, assigning them certain values in custom fields) and of course applying certain monitoring policies. It is one of the most powerful functionalities, aimed at managing very large system parks.','https://pandorafms.com/manual/start?id=en/documentation/02_installation/05_configuration_agents#conf',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Automatic agent provision system','The agent self-provisioning system allows an agent recently entered into the system to automatically apply changes to their configuration (such as moving them from group, assigning them certain values in custom fields) and of course applying certain monitoring policies. It is one of the most powerful functionalities, aimed at managing very large system parks.','https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf',1);
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Automatic agent provision system','The agent self-provisioning system allows an agent recently entered into the system to automatically apply changes to their configuration (such as moving them from group, assigning them certain values in custom fields) and of course applying certain monitoring policies. It is one of the most powerful functionalities, aimed at managing very large system parks.','https://pandorafms.com/manual/start?id=en/documentation/02_installation/05_configuration_agents#conf',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Automatic agent provision system','The agent self-provisioning system allows an agent recently entered into the system to automatically apply changes to their configuration (such as moving them from group, assigning them certain values in custom fields) and of course applying certain monitoring policies. It is one of the most powerful functionalities, aimed at managing very large system parks.','https://pandorafms.com/manual/!current/start?id=en/documentation/02_installation/05_configuration_agents#conf',1);
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'ARP tables','Do you know that there is an inventory module to get the ARP tables from your windows servers? It is easy to install and can give you very detailed information about your equipment.','https://pandorafms.com/library/arp-table-windows-local/',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'ARP tables','Do you know that there is an inventory module to get the ARP tables from your windows servers? It is easy to install and can give you very detailed information about your equipment.','https://pandorafms.com/library/arp-table-windows-local/',1);
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Using custom icons in visual consoles','Thanks to the custom icons, you can create highly customized views, such as the one in the image, which represents racks with the types of servers in the order they are placed within the rack. Perfect for a technician to know exactly what machine is failing. It couldn't be more visual, hence the name.','https://pandorafms.com/manual/start?id=en/documentation/04_using/05_data_presentation_visual_maps',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Using custom icons in visual consoles','Thanks to the custom icons, you can create highly customized views, such as the one in the image, which represents racks with the types of servers in the order they are placed within the rack. Perfect for a technician to know exactly what machine is failing. It couldn't be more visual, hence the name.','https://pandorafms.com/manual/!current/start?id=en/documentation/04_using/05_data_presentation_visual_maps',1);
|
||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'iconos_personalizados.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'iconos_personalizados.png','images/tips/');
|
||||||
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Use Telegram with Pandora FMS','Perfect to receive alerts with embedded graphics and thus customize the reception of notices individually or in a common channel with more people.','https://pandorafms.com/library/telegram-bot-cli/',1);
|
INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`) VALUES ('en_GB',0,'Use Telegram with Pandora FMS','Perfect to receive alerts with embedded graphics and thus customize the reception of notices individually or in a common channel with more people.','https://pandorafms.com/library/telegram-bot-cli/',1);
|
||||||
@ -2779,6 +2778,7 @@ INSERT INTO `twelcome_tip` (`id_lang`,`id_profile`,`title`,`text`,`url`,`enable`
|
|||||||
SELECT @last_id := LAST_INSERT_ID();
|
SELECT @last_id := LAST_INSERT_ID();
|
||||||
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'zoom_en_graficas.png','images/tips/');
|
INSERT INTO `twelcome_tip_file` (`twelcome_tip_file`,`filename`,`path`) VALUES (@last_id,'zoom_en_graficas.png','images/tips/');
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO `twidget` (`id`,`class_name`,`unique_name`,`description`,`options`,`page`) VALUES
|
INSERT INTO `twidget` (`id`,`class_name`,`unique_name`,`description`,`options`,`page`) VALUES
|
||||||
(1,'AgentHive','AgentHive','Agents hive','','AgentHive.php'),
|
(1,'AgentHive','AgentHive','Agents hive','','AgentHive.php'),
|
||||||
(2,'AvgSumMaxMinModule','AvgSumMaxMinModule','Avg|Sum|Max|Min Module Data','','AvgSumMaxMinModule.php'),
|
(2,'AvgSumMaxMinModule','AvgSumMaxMinModule','Avg|Sum|Max|Min Module Data','','AvgSumMaxMinModule.php'),
|
||||||
|
@ -14,11 +14,60 @@ class Plugins implements ArraySerializableInterface, JsonSerializable
|
|||||||
{
|
{
|
||||||
use ArraySerializable;
|
use ArraySerializable;
|
||||||
|
|
||||||
protected $legend;
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $legend;
|
||||||
|
|
||||||
protected $title;
|
|
||||||
|
|
||||||
protected $datalabels;
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $title;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $datalabels;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $tooltips;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $tooltip;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Tooltips
|
||||||
|
*/
|
||||||
|
public function getTooltips()
|
||||||
|
{
|
||||||
|
if (is_null($this->tooltips)) {
|
||||||
|
$this->tooltips = new Tooltips();
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->tooltips;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Tooltip
|
||||||
|
*/
|
||||||
|
public function getTooltip()
|
||||||
|
{
|
||||||
|
if (is_null($this->tooltip)) {
|
||||||
|
$this->tooltip = new Tooltip();
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->tooltip;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
819
pandora_console/vendor/artica/phpchartjs/src/Options/Tooltip.php
vendored
Normal file
819
pandora_console/vendor/artica/phpchartjs/src/Options/Tooltip.php
vendored
Normal file
@ -0,0 +1,819 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Artica\PHPChartJS\Options;
|
||||||
|
|
||||||
|
use Artica\PHPChartJS\ArraySerializableInterface;
|
||||||
|
use Artica\PHPChartJS\Delegate\ArraySerializable;
|
||||||
|
use Artica\PHPChartJS\Options\Tooltips\Callbacks;
|
||||||
|
use JsonSerializable;
|
||||||
|
use Laminas\Json\Expr;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class Tooltip
|
||||||
|
*
|
||||||
|
* @package Artica\PHPChartJS\Options
|
||||||
|
*/
|
||||||
|
class Tooltip implements ArraySerializableInterface, JsonSerializable
|
||||||
|
{
|
||||||
|
use ArraySerializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
private $enabled;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var Expr
|
||||||
|
*/
|
||||||
|
private $custom;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $mode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
private $intersect;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $position;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var Expr
|
||||||
|
*/
|
||||||
|
private $itemSort;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var Expr
|
||||||
|
*/
|
||||||
|
private $filter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $backgroundColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $titleFontFamily;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $titleFontSize;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $titleFontStyle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $titleFontColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $titleSpacing;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $titleMarginBottom;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $bodyFontFamily;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $bodyFontSize;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $bodyFontStyle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $bodyFontColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $bodySpacing;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $footerFontFamily;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $footerFontSize;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $footerFontStyle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $footerFontColor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $footerSpacing;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $footerMarginTop;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $xPadding;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $yPadding;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $caretSize;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
private $cornerRadius;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $multiKeyBackground;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
private $displayColors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var Callbacks
|
||||||
|
*/
|
||||||
|
private $callbacks;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function isEnabled()
|
||||||
|
{
|
||||||
|
return $this->enabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param bool $enabled
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setEnabled($enabled)
|
||||||
|
{
|
||||||
|
$this->enabled = boolval($enabled);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return \Laminas\Json\Expr
|
||||||
|
*/
|
||||||
|
public function getCustom()
|
||||||
|
{
|
||||||
|
return $this->custom;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param \Laminas\Json\Expr $custom
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setCustom($custom)
|
||||||
|
{
|
||||||
|
$this->custom = $custom;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getMode()
|
||||||
|
{
|
||||||
|
return $this->mode;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $mode
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setMode($mode)
|
||||||
|
{
|
||||||
|
$this->mode = strval($mode);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function isIntersect()
|
||||||
|
{
|
||||||
|
return $this->intersect;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param bool $intersect
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setIntersect($intersect)
|
||||||
|
{
|
||||||
|
$this->intersect = boolval($intersect);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getPosition()
|
||||||
|
{
|
||||||
|
return $this->position;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $position
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setPosition($position)
|
||||||
|
{
|
||||||
|
$this->position = strval($position);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Expr
|
||||||
|
*/
|
||||||
|
public function getItemSort()
|
||||||
|
{
|
||||||
|
return $this->itemSort;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Expr $itemSort
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setItemSort($itemSort)
|
||||||
|
{
|
||||||
|
$this->itemSort = new Expr(strval($itemSort));
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Expr
|
||||||
|
*/
|
||||||
|
public function getFilter()
|
||||||
|
{
|
||||||
|
return $this->filter;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Expr $filter
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setFilter($filter)
|
||||||
|
{
|
||||||
|
$this->filter = new Expr(strval($filter));
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getBackgroundColor()
|
||||||
|
{
|
||||||
|
return $this->backgroundColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $backgroundColor
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setBackgroundColor($backgroundColor)
|
||||||
|
{
|
||||||
|
$this->backgroundColor = strval($backgroundColor);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getTitleFontFamily()
|
||||||
|
{
|
||||||
|
return $this->titleFontFamily;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $titleFontFamily
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setTitleFontFamily($titleFontFamily)
|
||||||
|
{
|
||||||
|
$this->titleFontFamily = strval($titleFontFamily);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getTitleFontSize()
|
||||||
|
{
|
||||||
|
return $this->titleFontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $titleFontSize
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setTitleFontSize($titleFontSize)
|
||||||
|
{
|
||||||
|
$this->titleFontSize = intval($titleFontSize);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getTitleFontStyle()
|
||||||
|
{
|
||||||
|
return $this->titleFontStyle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $titleFontStyle
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setTitleFontStyle($titleFontStyle)
|
||||||
|
{
|
||||||
|
$this->titleFontStyle = strval($titleFontStyle);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getTitleFontColor()
|
||||||
|
{
|
||||||
|
return $this->titleFontColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $titleFontColor
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setTitleFontColor($titleFontColor)
|
||||||
|
{
|
||||||
|
$this->titleFontColor = strval($titleFontColor);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getTitleSpacing()
|
||||||
|
{
|
||||||
|
return $this->titleSpacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $titleSpacing
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setTitleSpacing($titleSpacing)
|
||||||
|
{
|
||||||
|
$this->titleSpacing = intval($titleSpacing);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getTitleMarginBottom()
|
||||||
|
{
|
||||||
|
return $this->titleMarginBottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $titleMarginBottom
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setTitleMarginBottom($titleMarginBottom)
|
||||||
|
{
|
||||||
|
$this->titleMarginBottom = intval($titleMarginBottom);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getBodyFontFamily()
|
||||||
|
{
|
||||||
|
return $this->bodyFontFamily;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $bodyFontFamily
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setBodyFontFamily($bodyFontFamily)
|
||||||
|
{
|
||||||
|
$this->bodyFontFamily = strval($bodyFontFamily);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getBodyFontSize()
|
||||||
|
{
|
||||||
|
return $this->bodyFontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $bodyFontSize
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setBodyFontSize($bodyFontSize)
|
||||||
|
{
|
||||||
|
$this->bodyFontSize = intval($bodyFontSize);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getBodyFontStyle()
|
||||||
|
{
|
||||||
|
return $this->bodyFontStyle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $bodyFontStyle
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setBodyFontStyle($bodyFontStyle)
|
||||||
|
{
|
||||||
|
$this->bodyFontStyle = strval($bodyFontStyle);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getBodyFontColor()
|
||||||
|
{
|
||||||
|
return $this->bodyFontColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $bodyFontColor
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setBodyFontColor($bodyFontColor)
|
||||||
|
{
|
||||||
|
$this->bodyFontColor = strval($bodyFontColor);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getBodySpacing()
|
||||||
|
{
|
||||||
|
return $this->bodySpacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $bodySpacing
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setBodySpacing($bodySpacing)
|
||||||
|
{
|
||||||
|
$this->bodySpacing = intval($bodySpacing);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getFooterFontFamily()
|
||||||
|
{
|
||||||
|
return $this->footerFontFamily;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $footerFontFamily
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setFooterFontFamily($footerFontFamily)
|
||||||
|
{
|
||||||
|
$this->footerFontFamily = strval($footerFontFamily);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getFooterFontSize()
|
||||||
|
{
|
||||||
|
return $this->footerFontSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $footerFontSize
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setFooterFontSize($footerFontSize)
|
||||||
|
{
|
||||||
|
$this->footerFontSize = intval($footerFontSize);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getFooterFontStyle()
|
||||||
|
{
|
||||||
|
return $this->footerFontStyle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $footerFontStyle
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setFooterFontStyle($footerFontStyle)
|
||||||
|
{
|
||||||
|
$this->footerFontStyle = strval($footerFontStyle);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getFooterFontColor()
|
||||||
|
{
|
||||||
|
return $this->footerFontColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $footerFontColor
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setFooterFontColor($footerFontColor)
|
||||||
|
{
|
||||||
|
$this->footerFontColor = strval($footerFontColor);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getFooterSpacing()
|
||||||
|
{
|
||||||
|
return $this->footerSpacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $footerSpacing
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setFooterSpacing($footerSpacing)
|
||||||
|
{
|
||||||
|
$this->footerSpacing = intval($footerSpacing);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getFooterMarginTop()
|
||||||
|
{
|
||||||
|
return $this->footerMarginTop;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $footerMarginTop
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setFooterMarginTop($footerMarginTop)
|
||||||
|
{
|
||||||
|
$this->footerMarginTop = intval($footerMarginTop);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getXPadding()
|
||||||
|
{
|
||||||
|
return $this->xPadding;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $xPadding
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setXPadding($xPadding)
|
||||||
|
{
|
||||||
|
$this->xPadding = intval($xPadding);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getYPadding()
|
||||||
|
{
|
||||||
|
return $this->yPadding;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $yPadding
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setYPadding($yPadding)
|
||||||
|
{
|
||||||
|
$this->yPadding = intval($yPadding);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getCaretSize()
|
||||||
|
{
|
||||||
|
return $this->caretSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $caretSize
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setCaretSize($caretSize)
|
||||||
|
{
|
||||||
|
$this->caretSize = intval($caretSize);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getCornerRadius()
|
||||||
|
{
|
||||||
|
return $this->cornerRadius;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param int $cornerRadius
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setCornerRadius($cornerRadius)
|
||||||
|
{
|
||||||
|
$this->cornerRadius = intval($cornerRadius);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getMultiKeyBackground()
|
||||||
|
{
|
||||||
|
return $this->multiKeyBackground;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $multiKeyBackground
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setMultiKeyBackground($multiKeyBackground)
|
||||||
|
{
|
||||||
|
$this->multiKeyBackground = strval($multiKeyBackground);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function isDisplayColors()
|
||||||
|
{
|
||||||
|
return $this->displayColors;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param bool $displayColors
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setDisplayColors($displayColors)
|
||||||
|
{
|
||||||
|
$this->displayColors = boolval($displayColors);
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Callbacks
|
||||||
|
*/
|
||||||
|
public function callbacks()
|
||||||
|
{
|
||||||
|
if (is_null($this->callbacks)) {
|
||||||
|
$this->callbacks = new Callbacks();
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->callbacks;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function jsonSerialize()
|
||||||
|
{
|
||||||
|
return $this->getArrayCopy();
|
||||||
|
}
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
package: pandorafms-server
|
package: pandorafms-server
|
||||||
Version: 7.0NG.776-240325
|
Version: 7.0NG.776-240326
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Section: admin
|
Section: admin
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
pandora_version="7.0NG.776-240325"
|
pandora_version="7.0NG.776-240326"
|
||||||
|
|
||||||
package_cpan=0
|
package_cpan=0
|
||||||
package_pandora=1
|
package_pandora=1
|
||||||
|
@ -381,7 +381,8 @@ sub pandora_agent_autoconfiguration_scheduled($) {
|
|||||||
$pa_config{'dbuser'}, $pa_config{'dbpass'});
|
$pa_config{'dbuser'}, $pa_config{'dbpass'});
|
||||||
|
|
||||||
while ($THRRUN == 1) {
|
while ($THRRUN == 1) {
|
||||||
eval {{
|
eval {
|
||||||
|
if (pandora_is_master($pa_config) == 1) {
|
||||||
local $SIG{__DIE__};
|
local $SIG{__DIE__};
|
||||||
|
|
||||||
my @autoconfig = get_db_rows (
|
my @autoconfig = get_db_rows (
|
||||||
@ -425,7 +426,8 @@ sub pandora_agent_autoconfiguration_scheduled($) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}};
|
}
|
||||||
|
};
|
||||||
|
|
||||||
sleep ($pa_config->{'autoconfigure_agents_threshold'});
|
sleep ($pa_config->{'autoconfigure_agents_threshold'});
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ our @EXPORT = qw(
|
|||||||
|
|
||||||
# version: Defines actual version of Pandora Server for this module only
|
# version: Defines actual version of Pandora Server for this module only
|
||||||
my $pandora_version = "7.0NG.776";
|
my $pandora_version = "7.0NG.776";
|
||||||
my $pandora_build = "240325";
|
my $pandora_build = "240326";
|
||||||
our $VERSION = $pandora_version." ".$pandora_build;
|
our $VERSION = $pandora_version." ".$pandora_build;
|
||||||
|
|
||||||
# Setup hash
|
# Setup hash
|
||||||
|
@ -34,7 +34,7 @@ our @ISA = qw(Exporter);
|
|||||||
|
|
||||||
# version: Defines actual version of Pandora Server for this module only
|
# version: Defines actual version of Pandora Server for this module only
|
||||||
my $pandora_version = "7.0NG.776";
|
my $pandora_version = "7.0NG.776";
|
||||||
my $pandora_build = "240325";
|
my $pandora_build = "240326";
|
||||||
our $VERSION = $pandora_version." ".$pandora_build;
|
our $VERSION = $pandora_version." ".$pandora_build;
|
||||||
|
|
||||||
our %EXPORT_TAGS = ( 'all' => [ qw() ] );
|
our %EXPORT_TAGS = ( 'all' => [ qw() ] );
|
||||||
|
@ -24,6 +24,7 @@ use POSIX qw(setsid strftime);
|
|||||||
use POSIX;
|
use POSIX;
|
||||||
use HTML::Entities;
|
use HTML::Entities;
|
||||||
use Encode;
|
use Encode;
|
||||||
|
use Encode::MIME::Header;
|
||||||
use Socket qw(inet_ntoa inet_aton);
|
use Socket qw(inet_ntoa inet_aton);
|
||||||
use Sys::Syslog;
|
use Sys::Syslog;
|
||||||
use Scalar::Util qw(looks_like_number);
|
use Scalar::Util qw(looks_like_number);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
%define name pandorafms_server
|
%define name pandorafms_server
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
|
|
||||||
Summary: Pandora FMS Server
|
Summary: Pandora FMS Server
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
%global __os_install_post %{nil}
|
%global __os_install_post %{nil}
|
||||||
%define name pandorafms_server
|
%define name pandorafms_server
|
||||||
%define version 7.0NG.776
|
%define version 7.0NG.776
|
||||||
%define release 240325
|
%define release 240326
|
||||||
|
|
||||||
Summary: Pandora FMS Server
|
Summary: Pandora FMS Server
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
|
|
||||||
PI_VERSION="7.0NG.776"
|
PI_VERSION="7.0NG.776"
|
||||||
PI_BUILD="240325"
|
PI_BUILD="240326"
|
||||||
|
|
||||||
MODE=$1
|
MODE=$1
|
||||||
if [ $# -gt 1 ]; then
|
if [ $# -gt 1 ]; then
|
||||||
|
@ -38,7 +38,7 @@ use PandoraFMS::Config;
|
|||||||
use PandoraFMS::DB;
|
use PandoraFMS::DB;
|
||||||
|
|
||||||
# version: define current version
|
# version: define current version
|
||||||
my $version = "7.0NG.776 Build 240325";
|
my $version = "7.0NG.776 Build 240326";
|
||||||
|
|
||||||
# Pandora server configuration
|
# Pandora server configuration
|
||||||
my %conf;
|
my %conf;
|
||||||
|
@ -36,7 +36,7 @@ use Encode::Locale;
|
|||||||
Encode::Locale::decode_argv;
|
Encode::Locale::decode_argv;
|
||||||
|
|
||||||
# version: define current version
|
# version: define current version
|
||||||
my $version = "7.0NG.776 Build 240325";
|
my $version = "7.0NG.776 Build 240326";
|
||||||
|
|
||||||
# save program name for logging
|
# save program name for logging
|
||||||
my $progname = basename($0);
|
my $progname = basename($0);
|
||||||
@ -1228,11 +1228,11 @@ sub param_error ($$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Print a 'not exists' error and exit the program.
|
# Print a 'does not exist' error and exit the program.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
sub notexists_error ($$) {
|
sub notexists_error ($$) {
|
||||||
print (STDERR "[ERROR] Error: The $_[0] '$_[1]' not exists.\n\n");
|
print (STDERR "[ERROR] Error: The $_[0] '$_[1]' does not exist.\n\n");
|
||||||
logger( $conf, "($progname) [ERROR] Error: The $_[0] '$_[1]' not exists.", 10);
|
logger( $conf, "($progname) [ERROR] Error: The $_[0] '$_[1]' does not exist.", 10);
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3459,6 +3459,10 @@ sub cli_agent_update() {
|
|||||||
$new_value = $id_parent;
|
$new_value = $id_parent;
|
||||||
}
|
}
|
||||||
elsif($field eq 'agent_name') {
|
elsif($field eq 'agent_name') {
|
||||||
|
if (!$new_value) {
|
||||||
|
print_log "[ERROR] Agent name cannot be empty\n\n";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
my $agent_exists = get_agent_id($dbh,$new_value);
|
my $agent_exists = get_agent_id($dbh,$new_value);
|
||||||
non_exist_check($agent_exists,'agent',$new_value);
|
non_exist_check($agent_exists,'agent',$new_value);
|
||||||
$field = 'nombre';
|
$field = 'nombre';
|
||||||
@ -4104,7 +4108,7 @@ sub cli_exec_from_file() {
|
|||||||
elsif($c == 3) {
|
elsif($c == 3) {
|
||||||
$file = $opt;
|
$file = $opt;
|
||||||
if(!(-e $file)) {
|
if(!(-e $file)) {
|
||||||
print_log "[ERROR] File '$file' not exists or cannot be opened\n\n";
|
print_log "[ERROR] File '$file' does not exist or cannot be opened\n\n";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -4952,7 +4956,7 @@ sub cli_validate_alert() {
|
|||||||
if (defined $use_alias and $use_alias eq 'use_alias') {
|
if (defined $use_alias and $use_alias eq 'use_alias') {
|
||||||
my @id_agents = get_agent_ids_from_alias($dbh,$agent_id);
|
my @id_agents = get_agent_ids_from_alias($dbh,$agent_id);
|
||||||
if(!@id_agents) {
|
if(!@id_agents) {
|
||||||
print (STDERR "[ERROR] Error: The agent '$agent_id' not exists.\n\n");
|
print (STDERR "[ERROR] Error: The agent '$agent_id' does not exist.\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach my $id (@id_agents) {
|
foreach my $id (@id_agents) {
|
||||||
@ -5946,7 +5950,7 @@ sub cli_get_bad_conf_files() {
|
|||||||
$missings++;
|
$missings++;
|
||||||
}
|
}
|
||||||
elsif ($result == -1) {
|
elsif ($result == -1) {
|
||||||
print_log "[WARN] File not exists /conf/".$file."\n\n";
|
print_log "[WARN] File does not exist /conf/".$file."\n\n";
|
||||||
$bad_files++;
|
$bad_files++;
|
||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user