Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
univention-pkg-icinga
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
packaging
univention-pkg-icinga
Commits
cf78552f
Commit
cf78552f
authored
Dec 02, 2011
by
Alexander Wirt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imported Upstream version 1.6.1
parent
ec0f684e
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
51 deletions
+26
-51
Changelog
Changelog
+8
-0
Makefile.in
Makefile.in
+1
-1
base/checks.c
base/checks.c
+0
-36
configure
configure
+2
-2
configure.in
configure.in
+2
-2
html/main.html
html/main.html
+3
-3
icinga.spec
icinga.spec
+4
-1
include/common.h
include/common.h
+2
-2
module/idoutils/include/common.h
module/idoutils/include/common.h
+2
-2
update-version
update-version
+2
-2
No files found.
Changelog
View file @
cf78552f
...
...
@@ -4,6 +4,14 @@ Icinga 1.6.x Change Log
Thanks to all contributers, testers and developers. Please read AUTHORS and THANKS for a detailed list :-)
1.6.1 - 02/12/2011
FIXES
* core: fix freshness checks are generating stale alerts, even if result was received in time #2136
CHANGES
1.6.0 - 30/11/2011
ENHANCEMENTS
...
...
Makefile.in
View file @
cf78552f
...
...
@@ -77,7 +77,7 @@ MKDIR=/bin/mkdir
###############################
# Global
###############################
ICINGA_VERSION
=
1.6.
0
ICINGA_VERSION
=
1.6.
1
CP
=
@CP@
...
...
base/checks.c
View file @
cf78552f
...
...
@@ -2286,23 +2286,6 @@ int is_service_result_fresh(service *temp_service, time_t current_time, int log_
else
expiration_time
=
(
time_t
)(
temp_service
->
last_check
+
freshness_threshold
);
/*
* ADDED 22-10-2011 MF, Patch by Andreas Ericsson
* If the check was last done passively, we assume it's going
* to continue that way and we need to handle the fact that
* Icinga might have been shut off for quite a long time. If so,
* we mustn't spam freshness notifications but use program_start_time
* instead of last_check to determine freshness expiration time.
* The threshold for "long time" is determined as 61.8% of the normal
* freshness threshold based on vast heuristical research (ie, "some
* guy once told me the golden ratio is good for loads of stuff").
*/
if
(
temp_service
->
check_type
==
SERVICE_CHECK_PASSIVE
)
{
if
(
event_start
<
program_start
+
60
&&
event_start
-
last_program_stop
<
(
freshness_threshold
*
0
.
618
))
{
expiration_time
=
event_start
+
freshness_threshold
;
}
}
log_debug_info
(
DEBUGL_CHECKS
,
2
,
"HBC: %d, PS: %lu, ES: %lu, LC: %lu, CT: %lu, ET: %lu
\n
"
,
temp_service
->
has_been_checked
,
(
unsigned
long
)
program_start
,
(
unsigned
long
)
event_start
,
(
unsigned
long
)
temp_service
->
last_check
,
(
unsigned
long
)
current_time
,
(
unsigned
long
)
expiration_time
);
/* the results for the last check of this service are stale */
...
...
@@ -2706,25 +2689,6 @@ int is_host_result_fresh(host *temp_host, time_t current_time, int log_this) {
else
expiration_time
=
(
time_t
)(
temp_host
->
last_check
+
freshness_threshold
);
/*
* ADDED 22-10-2011 MF, Patch by Andreas Ericsson
* If the check was last done passively, we assume it's going
* to continue that way and we need to handle the fact that
* Icinga might have been shut off for quite a long time. If so,
* we mustn't spam freshness notifications but use program_start_time
* instead of last_check to determine freshness expiration time.
* The threshold for "long time" is determined as 61.8% of the normal
* freshness threshold based on vast heuristical research (ie, "some
* guy once told me the golden ratio is good for loads of stuff").
*/
if
(
temp_host
->
check_type
==
HOST_CHECK_PASSIVE
)
{
if
(
event_start
<
program_start
+
60
&&
event_start
-
last_program_stop
<
(
freshness_threshold
*
0
.
618
))
{
expiration_time
=
event_start
+
freshness_threshold
;
}
}
log_debug_info
(
DEBUGL_CHECKS
,
2
,
"HBC: %d, PS: %lu, ES: %lu, LC: %lu, CT: %lu, ET: %lu
\n
"
,
temp_host
->
has_been_checked
,
(
unsigned
long
)
program_start
,
(
unsigned
long
)
event_start
,
(
unsigned
long
)
temp_host
->
last_check
,
(
unsigned
long
)
current_time
,
(
unsigned
long
)
expiration_time
);
/* the results for the last check of this host are stale */
...
...
configure
View file @
cf78552f
...
...
@@ -2421,9 +2421,9 @@ ac_config_headers="$ac_config_headers include/config.h include/snprintf.h"
PKG_NAME
=
icinga-core
PKG_VERSION
=
"1.6.
0
"
PKG_VERSION
=
"1.6.
1
"
PKG_HOME_URL
=
"http://www.icinga.org/"
PKG_REL_DATE
=
"1
1-30
-2011"
PKG_REL_DATE
=
"1
2-02
-2011"
ac_aux_dir
=
for
ac_dir
in
"
$srcdir
"
"
$srcdir
/.."
"
$srcdir
/../.."
;
do
...
...
configure.in
View file @
cf78552f
...
...
@@ -9,9 +9,9 @@ AC_CONFIG_HEADER(include/config.h include/snprintf.h)
AC_PREFIX_DEFAULT(/usr/local/icinga)
PKG_NAME=icinga-core
PKG_VERSION="1.6.
0
"
PKG_VERSION="1.6.
1
"
PKG_HOME_URL="http://www.icinga.org/"
PKG_REL_DATE="1
1-30
-2011"
PKG_REL_DATE="1
2-02
-2011"
dnl Figure out how to invoke "install" and what install options to use.
AC_PROG_INSTALL
...
...
html/main.html
View file @
cf78552f
...
...
@@ -18,9 +18,9 @@
</div>
<div
id=
"currentversioninfo"
>
<div
class=
"version"
>
Version 1.6.
0
</div>
<div
class=
"releasedate"
>
November 30
, 2011
</div>
<div
class=
"whatsnew"
><a
href=
"docs/en/whatsnew.html"
>
Read what's new in Icinga 1.6.
0
</a></div>
<div
class=
"version"
>
Version 1.6.
1
</div>
<div
class=
"releasedate"
>
Dezember 02
, 2011
</div>
<div
class=
"whatsnew"
><a
href=
"docs/en/whatsnew.html"
>
Read what's new in Icinga 1.6.
1
</a></div>
</div>
<div
id=
"developer"
>
...
...
icinga.spec
View file @
cf78552f
...
...
@@ -14,7 +14,7 @@
Summary: Open Source host, service and network monitoring program
Name: icinga
Version: 1.6.
0
Version: 1.6.
1
Release: 1%{?dist}
License: GPLv2
Group: Applications/System
...
...
@@ -247,6 +247,9 @@ fi
%{_bindir}/idomod.o
%changelog
* Fri Dec 02 2011 Michael Friedrich <michael.friedrich@univie.ac.at> - 1.6.1-1
- bump to 1.6.1
* Sun Nov 27 2011 Michael Friedrich <michael.friedrich@univie.ac.at> - 1.6.0-1
- set to 1.6.0 target
- add --with-web-user/group
...
...
include/common.h
View file @
cf78552f
...
...
@@ -27,8 +27,8 @@
#define PROGRAM_NAME "Icinga"
#define PROGRAM_NAME_UC "ICINGA"
#define PROGRAM_NAME_LC "icinga"
#define PROGRAM_VERSION "1.6.
0
"
#define PROGRAM_MODIFICATION_DATE "1
1-30
-2011"
#define PROGRAM_VERSION "1.6.
1
"
#define PROGRAM_MODIFICATION_DATE "1
2-02
-2011"
/*#define DEBUG_CHECK_IPC 1 */
/*#define DEBUG_CHECK_IPC2 1*/
...
...
module/idoutils/include/common.h
View file @
cf78552f
...
...
@@ -22,8 +22,8 @@
#define LOG2IDO_NAME "LOG2IDO"
/* only one space for update-version matching */
#define IDO_DATE "1
1-30
-2011"
#define IDO_VERSION "1.6.
0
"
#define IDO_DATE "1
2-02
-2011"
#define IDO_VERSION "1.6.
1
"
#define IDO_SCHEMA_VERSION "1.6.0"
...
...
update-version
View file @
cf78552f
...
...
@@ -10,10 +10,10 @@ else
fi
# Current version number
CURRENTVERSION
=
1.6.
0
CURRENTVERSION
=
1.6.
1
# Last date
LASTDATE
=
1
1-30
-2011
LASTDATE
=
1
2-02
-2011
if
[
"x
$1
"
=
"x"
]
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment