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:
ramonn 2009-10-09 10:16:19 +00:00
parent a22f0cb220
commit e7c6dc29c7
3 changed files with 7 additions and 1 deletions

View File

@ -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>
* lib/PandoraFMS/SNMPServer.pm,

View File

@ -201,6 +201,7 @@ while (1) {
# Unmute
open(STDOUT, ">&OLDOUT");
close (OLDOUT);
}
threads->yield;

View File

@ -242,7 +242,7 @@ sub restartEvent ($$) {
return unless defined ($self->{'_dbh'});
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'});
}