Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NetData
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
NetData
Commits
12272be1
Commit
12272be1
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Update netdata to v1.15.0
parent
aa167c33
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
defaults/main.yml
+1
-1
1 addition, 1 deletion
defaults/main.yml
tasks/install.yml
+1
-0
1 addition, 0 deletions
tasks/install.yml
templates/health/httpcheck.conf
+95
-0
95 additions, 0 deletions
templates/health/httpcheck.conf
with
97 additions
and
1 deletion
defaults/main.yml
+
1
−
1
View file @
12272be1
netdata_version
:
'
v1.1
4
.0'
netdata_version
:
'
v1.1
5
.0'
netdata_force_reset
:
false
netdata_fluentd_buffer
:
green
:
75
...
...
This diff is collapsed.
Click to expand it.
tasks/install.yml
+
1
−
0
View file @
12272be1
...
...
@@ -44,5 +44,6 @@
dest
:
'
/etc/netdata/health.d/{{
item
}}.conf'
with_items
:
-
'
fluentd_buffer'
-
'
httpcheck'
notify
:
-
"
Restart
NetData"
This diff is collapsed.
Click to expand it.
templates/health/httpcheck.conf
0 → 100644
+
95
−
0
View file @
12272be1
template
:
httpcheck_last_collected_secs
families
: *
on
:
httpcheck
.
status
calc
: $
now
- $
last_collected_t
every
:
10
s
units
:
seconds
ago
warn
: $
this
> (($
status
>= $
WARNING
) ? ($
update_every
) : (
5
* $
update_every
))
crit
: $
this
> (($
status
== $
CRITICAL
) ? ($
update_every
) : (
60
* $
update_every
))
delay
:
down
5
m
multiplier
1
.
5
max
1
h
info
:
number
of
seconds
since
the
last
successful
data
collection
to
:
sysadmin
# This is a fast-reacting no-notification alarm ideal for custom dashboards or badges
template
:
web_service_up
families
: *
on
:
httpcheck
.
status
lookup
:
average
-
1
m
unaligned
percentage
of
success
calc
: ($
this
<
75
) ? (
0
) : ($
this
)
every
:
5
s
units
:
up
/
down
info
:
at
least
75
%
verified
responses
during
last
60
seconds
,
ideal
for
badges
to
:
silent
template
:
web_service_bad_content
families
: *
on
:
httpcheck
.
status
lookup
:
average
-
5
m
unaligned
percentage
of
bad_content
every
:
10
s
units
: %
warn
: $
this
>=
10
AND
$
this
<
40
crit
: $
this
>=
40
delay
:
down
5
m
multiplier
1
.
5
max
1
h
info
:
average
of
unexpected
http
response
content
during
the
last
5
minutes
to
:
webmaster
template
:
web_service_bad_status
families
: *
on
:
httpcheck
.
status
lookup
:
average
-
5
m
unaligned
percentage
of
bad_status
every
:
10
s
units
: %
warn
: $
this
>=
10
AND
$
this
<
40
crit
: $
this
>=
40
delay
:
down
5
m
multiplier
1
.
5
max
1
h
info
:
average
of
unexpected
http
status
during
the
last
5
minutes
to
:
webmaster
template
:
web_service_timeouts
families
: *
on
:
httpcheck
.
status
lookup
:
average
-
5
m
unaligned
percentage
of
timeout
every
:
10
s
units
: %
info
:
average
of
timeouts
during
the
last
5
minutes
template
:
no_web_service_connections
families
: *
on
:
httpcheck
.
status
lookup
:
average
-
5
m
unaligned
percentage
of
no_connection
every
:
10
s
units
: %
info
:
average
of
failed
requests
during
the
last
5
minutes
# combined timeout & no connection alarm
template
:
web_service_unreachable
families
: *
on
:
httpcheck
.
status
calc
: ($
no_web_service_connections
>= $
web_service_timeouts
) ? ($
no_web_service_connections
) : ($
web_service_timeouts
)
units
: %
every
:
10
s
warn
: ($
no_web_service_connections
>=
10
OR
$
web_service_timeouts
>=
10
)
AND
($
no_web_service_connections
<
40
OR
$
web_service_timeouts
<
40
)
crit
: $
no_web_service_connections
>=
40
OR
$
web_service_timeouts
>=
40
delay
:
down
5
m
multiplier
1
.
5
max
1
h
info
:
average
of
failed
requests
either
due
to
timeouts
or
no
connection
during
the
last
5
minutes
to
:
webmaster
template
:
1
h_web_service_response_time
families
: *
on
:
httpcheck
.
responsetime
lookup
:
average
-
1
h
unaligned
of
time
every
:
30
s
units
:
ms
info
:
average
response
time
over
the
last
hour
template
:
web_service_slow
families
: *
on
:
httpcheck
.
responsetime
lookup
:
average
-
5
m
unaligned
of
time
units
:
ms
every
:
10
s
warn
: ($
this
> ($
1
h_web_service_response_time
*
4
) )
crit
: ($
this
> ($
1
h_web_service_response_time
*
6
) )
info
:
average
response
time
over
the
last
5
minutes
,
compared
to
the
average
over
the
last
hour
delay
:
down
5
m
multiplier
1
.
5
max
1
h
to
:
webmaster
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment