Repository navigation
Expand file tree
/
Copy pathpillar.example
More file actions
162 lines (139 loc) · 4.66 KB
/
Copy pathpillar.example
File metadata and controls
162 lines (139 loc) · 4.66 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# Default pillar values
netuitive_agent:
api_key: API-KEY-REQUIRED
pkg: netuitive-agent
file_warning: "#This file is managed by the netuitive agent Salt formula. Do not modify this file directly"
service:
name: netuitive-agent
collectors:
CassandraJolokiaCollector:
enabled: False
host: localhost
port: 8778
path: cassandra
jolokia_path: jolokia
mbeans: org.apache.cassandra.metrics
metrics_blacklist: .*Histogram.*|.*Percentile$|.*\.Min$|.*\.Max$|.*\.Mean$|.*\.Count$|.*\.StdDev$|.*\.MeanRate$|.*\.FiveMinuteRate$|.*\.FifteenMinuteRate$|.*DroppedMessage.*|.*LastGcInfo.*|Keyspace._Keyspaces.system.*|Keyspace._Keyspaces.*_Tables.*
# Does this need double quotes?
ElasticSearchCollector:
enabled: False
logstash_mode: True
cluster: True
metrics_blacklist: elasticsearch\.indices\.(?!_all$|datastore$|docs$)
FlumeCollector:
enabled: False
req_host: localhost
req_port: 41414
req_path: /metrics
HeartbeatCollector:
enabled: True
ttl: 150
HttpCodeCollector:
enabled: False
req_url: http://example.com/
HttpdCollector:
enabled: False
urls: localhost http://localhost:8080/server-status?auto
JolokiaCollector:
enabled: False
host: localhost
port: 8778
path: jmx
jolokia_path: jolokia
mbeans: java.*
regex: true
KafkaCollector:
enabled: False
KafkaConsumerLagCollector:
enabled: False
bin: /opt/kafka/bin/kafka-run-class.sh
zookeeper: zoo1:2181,zoo2:2181
consumer_groups: test_consumer_group_1,test_consumer_group_2
MongoDBCollector:
enabled: False
host: 127.0.0.1:27017
metrics_blacklist: ".*databases.*|.*metrics.repl.executor.shuttingDown.*|.*storageEngine.*|.*writeBacksQueued.*|.*mem.supported.*|.*tcmallocformattedString.*|^percent.*"
simple: True
#Followup: Restore double quotes?
MySQLCollector:
enabled: False
hosts: username:password@127.0.1.1:3306/mysql,
master: True
metrics_blacklist: "^Ssl_|^Innodb_|^Com_|^Performance_schema_|^Aria_|^Feature_|^Slave_|^Uptime.*|^Handler_[^r].*|^Handler_rollback$|^Binlog|^Key_|^Qcache_|^Select_|^Sort_|^.*_tmp_.*$|^Tc_log_|^Delayed_|^Aborted_|^Threadpool_|^.*lush.*$|^Access_|^Busy_|^Cpu_|^Empty_|^Executed_|^Last_|^Open_streams$|^.*_table_definitions$|^Opened_views$|^Questions$|^Rows_|^Subquery_|^Syncs$"
#Followup: Restore double quotes?
NginxCollector:
enabled: False
req_host: localhost
req_port: 80
req_path: /nginx_status
PostgresqlCollector:
enabled: False
host: localhost
dbname: postgres
user: postgres
password: postgres
port: 5432
RabbitMQCollector:
enabled: False
host: 127.0.0.1:15672
user: guest
password: guest
replace_dot: '_'
cluster: True
metrics_blacklist: "(.*-test__[abc]-.*)|(rabbitmq\.queues\..*)"
#Followup: Restore double quotes?
RedisCollector:
enabled: False
instances: hostname1:port, hostname2:port, hostname3:port
SolrCollector:
enabled: False
UserScriptsCollector:
enabled: False
scripts_path: /opt/netuitive-agent/
# ------Needs special handling for nesting and special ordering----
# ------Nesting is controlled by the [] brackets, so be mindful to maintain them------
nestedcollectors:
ProcessResourcesCollector:
"# Basic Settings for Process Resources Collector":
# Please preserve the '#' symbol
enabled: False
selfmon: True
"[process]":
monitor: yes
"[[example_process_name]]":
name: ".*sample_regex.*"
"[[diamond]]":
selfmon: True
SNMPInterfaceCollector:
"# SNMP Interface Collector":
"# Basic Settings":
# Please preserve the '#' symbol
enabled: False
path: interface
interval: 60
retries: 3
timeout: 5
"[devices]":
"[[router1]]":
host: router1.example.com
port: 161
community: public
"[[router2]]":
host: router2.example.com
port: 161
community: public
SNMPCollector:
"# SNMP Collector":
"# Basic Settings":
# Please preserve the '#' symbols
enabled: False
interval: 60
"[devices]":
"[[my-identification-for-this-host]]":
host: localhost
port: 161
community: public
"[[[oids]]]":
"1.3.6.1.4.1.2021.10.1.3.1": cpu.load.1min
"1.3.6.1.4.1.2021.10.1.3.2": cpu.load.5min
"1.3.6.1.4.1.2021.10.1.3.3": cpu.load.10min