2009-04-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed a typo that made the server go down. * bin/pandora_server: Prevent alarm from bombing the main thread when called within a thread. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
894ab9a30a
commit
6b466febe1
|
@ -1,3 +1,11 @@
|
|||
2009-04-16 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/ReconServer.pm: Fixed a typo that made the server go
|
||||
down.
|
||||
|
||||
* bin/pandora_server: Prevent alarm from bombing the main thread when
|
||||
called within a thread.
|
||||
|
||||
2009-04-14 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_ctl, pandora_network, pandora_wmi, pandora_plugin,
|
||||
|
|
|
@ -60,6 +60,9 @@ sub pandora_shutdown () {
|
|||
$SIG{'TERM'} = 'pandora_shutdown';
|
||||
$SIG{'INT'} = 'pandora_shutdown';
|
||||
|
||||
# Prevent alarm from bombing the main thread when called within a thread
|
||||
$SIG{'ALRM'} = 'IGNORE';
|
||||
|
||||
# Initialize
|
||||
pandora_init(\%Config, 'Pandora FMS Server');
|
||||
pandora_load_config (\%Config);
|
||||
|
|
|
@ -220,7 +220,7 @@ sub icmp_scan ($$) {
|
|||
# TCP scan the given host/port. Returns 1 if successful, 0 otherwise.
|
||||
##############################################################################
|
||||
sub tcp_scan ($$$) {
|
||||
my ($host, $timeout, $port) = $@;
|
||||
my ($host, $timeout, $port) = @_;
|
||||
my $rc = 0;
|
||||
|
||||
eval {
|
||||
|
|
Loading…
Reference in New Issue