Skip to content

Commit

Permalink
fixed availability calculation with hard states
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed May 20, 2011
1 parent eed594d commit 9a01330
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Changes
@@ -1,9 +1,10 @@
This file documents the revision history for the Monitoring Webinterface Thruk.

1.0.4 Thu May 19 16:29:42 CEST 2011
1.0.4 Fri May 20 14:05:18 CEST 2011
- added missing license file
- added business view for shinken backend
- added better error message when log4perl config cannot be found
- fixed availability calculation with hard states

1.0.3 Thu May 12 20:05:16 CEST 2011
- fixed problem with some chars in excel export
Expand Down
2 changes: 1 addition & 1 deletion lib/Thruk.pm
Expand Up @@ -50,7 +50,7 @@ our $VERSION = '1.0.4';
my $project_root = __PACKAGE__->config->{home};
my %config = ('name' => 'Thruk',
'version' => $VERSION,
'released' => 'May 19, 2011',
'released' => 'May 20, 2011',
'ENCODING' => 'utf-8',
'image_path' => $project_root.'/root/thruk/images',
'project_root' => $project_root,
Expand Down
2 changes: 1 addition & 1 deletion lib/Thruk/Backend/Provider/Livestatus.pm
Expand Up @@ -492,7 +492,7 @@ returns logfile entries
sub get_logs {
my($self, %options) = @_;
$options{'columns'} = [qw/
class time type state host_name service_description plugin_output message contact_name command_name state_type current_host_groups current_service_groups
class time type state host_name service_description plugin_output message options contact_name command_name state_type current_host_groups current_service_groups
/];
my @logs = reverse @{$self->_get_table('log', \%options)};
return \@logs;
Expand Down

0 comments on commit 9a01330

Please sign in to comment.