-
Notifications
You must be signed in to change notification settings - Fork 108
/
hosts
91 lines (72 loc) · 2.46 KB
/
hosts
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
###################################################
# NOTE: only put one unique host per category here
###################################################
# this is your main nagios server and
# where ansible will deploy it.
[nagios]
host-01
# use this for generic Linux or FreeBSD servers
[servers]
# use this for generic Linux servers using mdadm raid
[servers_with_mdadm_raid]
# inherits servers checks, includes http
[webservers]
# also checks https ssl certificates, inherits server checks, includes http service check
[webservers_with_ssl]
# inherits server checks, includes DNS check
[dns]
# inherits server checks, includes DNS check and mdadm raid check
[dns_with_mdadm_raid]
# Only DNS and ICMP checks
# requires hostname ansible_host=1.2.3.4 format
[dns_only]
# FreeNAS server, see group_vars/all.yml for config options
[freenas]
# inherits server checks, includes http
# elasticsearch, and logstash
# kibana should be covered under http
[elkservers]
# inherits servers checks, checks elasticsearch
[elasticsearch]
# jenkins CI server, same as webserver but checks 8080/TCP
# see group_vars/all.yml and configure values if using
# a reverse proxy like nginx
[jenkins]
# icmp and SSH checks only, see the README
# for correct syntax as you'll also need ip address
# e.g. hostname
# switch01 ansible_host=1.2.3.3
[switches]
# icmp, ssh and http checks, see the README
# for correct syntax as you'll also need ip address
# e.g. web02-ipmi ansible_host=1.2.3.4
# this can used for generic out-of-band servers
# and switched PDU's for example
[oobservers]
# icmp only and ping only devices like IoT
# or things that you only want to check are online
# use format like oobservers or switches
# device01 ansible_host=1.2.3.3
[devices]
# Dell idrac health checks for the physical server
# connected to it, see install/group_vars/all.yml
# for various settings here. See README
# for correct syntax as you'll also need the ip
# address
# e.g. web01-idrac ansible_host=1.2.3.5
[idrac]
# Supermicro SSM health checks via FreeIPMI
# See: install/group_vars/all.yml
# 'supermicro_enable_checks: true' required
# Requires perl-IPC-Run and perl-IO-Tty
# See: README notes
# e.g. web02-supermicro-ipmi ansible_host=1.2.3.6
# supermicro have different ipmi sensor ids
# across models so you need to put them in different
# inventory groups.
# Supermicro 6048r 4U models
[supermicro_6048r]
# Supermicro 6018r 1U server models
[supermicro_6018r]
# Supermicro 1028r and 1029p models
[supermicro_1028r]