Skip to content

Commit

Permalink
Merge pull request #2 from stockholmuniversity/icinga-2.8.x
Browse files Browse the repository at this point in the history
Adjust to new requirements in Icinga 2.8.x.
  • Loading branch information
mickenordin authored Mar 9, 2018
2 parents f728cad + 533e3c2 commit f97bf8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Thruk/Controller/api_conf.pm
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@ sub get_defaults {
$to_json{"attrs"}{"groups"} = [ "Example group1", "Example groups2" ];
$to_json{"attrs"}{"period"} = "24x7";
$to_json{"attrs"}{"states"} = [ "Critical", "Unknown" ];
$to_json{"attrs"}{"max_check_attempts"} = 11;

}
elsif ( $page_type eq "hostdependencies" ) {
Expand Down Expand Up @@ -1024,6 +1025,7 @@ sub get_defaults {
$to_json{"attrs"}{"zone"} = "master";
$to_json{"attrs"}{"groups"} = [ "hdbe", "surveillance" ];
$to_json{"attrs"}{"retry_interval"} = 30;
$to_json{"attrs"}{"max_check_attempts"} = 10;

}
elsif ( $page_type eq "servicedependencies" ) {
Expand Down

0 comments on commit f97bf8f

Please sign in to comment.