2009-10-09 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Server.pm, bin/pandora_server: Small fixes to avoid warnings. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a22f0cb220
commit
e7c6dc29c7
|
@ -1,3 +1,8 @@
|
||||||
|
2009-10-09 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* lib/PandoraFMS/Server.pm, bin/pandora_server: Small fixes to avoid
|
||||||
|
warnings.
|
||||||
|
|
||||||
2009-10-07 Ramon Novoa <rnovoa@artica.es>
|
2009-10-07 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* lib/PandoraFMS/SNMPServer.pm,
|
* lib/PandoraFMS/SNMPServer.pm,
|
||||||
|
|
|
@ -201,6 +201,7 @@ while (1) {
|
||||||
|
|
||||||
# Unmute
|
# Unmute
|
||||||
open(STDOUT, ">&OLDOUT");
|
open(STDOUT, ">&OLDOUT");
|
||||||
|
close (OLDOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
threads->yield;
|
threads->yield;
|
||||||
|
|
|
@ -242,7 +242,7 @@ sub restartEvent ($$) {
|
||||||
|
|
||||||
return unless defined ($self->{'_dbh'});
|
return unless defined ($self->{'_dbh'});
|
||||||
pandora_event ($self->{'_pa_config'}, $self->{'_pa_config'}->{'servername'} .
|
pandora_event ($self->{'_pa_config'}, $self->{'_pa_config'}->{'servername'} .
|
||||||
$ServerTypes[$self->{'_server_type'}] . " RESTARTING ($msg)",
|
$ServerTypes[$self->{'_server_type'}] . " RESTARTING" . (defined ($msg) ? " ($msg)" : ''),
|
||||||
0, 0, 4, 0, 0, 'system', $self->{'_dbh'});
|
0, 0, 4, 0, 0, 'system', $self->{'_dbh'});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue