pandora_agent (pandorafms_agent_unix-7.0NG.758) | : | pandora_agent (pandorafms_agent_unix-7.0NG.759) | ||
---|---|---|---|---|
skipping to change at line 1016 | skipping to change at line 1016 | |||
# Agent XML data | # Agent XML data | |||
my $Xml; | my $Xml; | |||
# Semaphore used to acces $Xml | # Semaphore used to acces $Xml | |||
my $Sem = undef; | my $Sem = undef; | |||
# Semaphore used to control the number of threads | # Semaphore used to control the number of threads | |||
my $ThreadSem = undef; | my $ThreadSem = undef; | |||
use constant AGENT_VERSION => '7.0NG.758'; | use constant AGENT_VERSION => '7.0NG.759'; | |||
use constant AGENT_BUILD => '211105'; | use constant AGENT_BUILD => '211216'; | |||
# 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; | |||
use constant DEFAULT_LOG_ROTATE => 3; | use constant DEFAULT_LOG_ROTATE => 3; | |||
# Commands to retrieve total memory information in kB | # Commands to retrieve total memory information in kB | |||
use constant TOTALMEMORY_CMDS => { | use constant TOTALMEMORY_CMDS => { | |||
linux => 'cat /proc/meminfo | grep MemTotal: | awk \'{ print $2 }\'', | linux => 'cat /proc/meminfo | grep MemTotal: | awk \'{ print $2 }\'', | |||
solaris => '/usr/sbin/prtconf | awk \'/Memory/ { print $3 * 1024 }\'', | solaris => '/usr/sbin/prtconf | awk \'/Memory/ { print $3 * 1024 }\'', | |||
hpux => 'swapinfo -t | grep memory | awk \'{print $2}\'', | hpux => 'swapinfo -t | grep memory | awk \'{print $2}\'', | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |