forked from NETWAYS/check_graphite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Example_Service.conf
39 lines (27 loc) · 910 Bytes
/
Example_Service.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
object Service "graphite" {
import "generic-service"
host_name = "localhost"
/*The name of your CheckCommand object goes here*/
check_command = "graphite"
/*Something for notifications*/
vars.sla = "24x7"
/*You can find the names of the graph in the Graphite webinterface*/
vars.graphite_graph = "icinga.localhost.load.load1"
/*http://localhost:80/ is the default anyways*/
vars.graphite_address = "http://localhost:80/"
/*Optional*/
vars.graphite_Wthreshold = "0.40"
/*Optional*/
vars.graphite_Cthreshold = "0.50"
/*Default is 24h*/
vars.graphite_timeframe = "2d"
/*Default is 0, see documentation for more*/
vars.graphite_mode = "0"
/*Required when mode=1, otherwise has no effect
*vars.graphite_Mthreshhold = 20
*/
/*Only required when htaccess is used
*env.GRAPHITE_ACCESS_USER = "admin"
*env.GRAPHITE_ACCESS_PASS = "foo"
*/
}