summaryrefslogtreecommitdiff
path: root/example.yaml
diff options
context:
space:
mode:
authorKeith Burdis <keith@burdis.org>2013-03-26 20:33:47 +0000
committerKeith Burdis <keith@burdis.org>2013-03-26 20:33:47 +0000
commitff0f0a2186844ba64269f64cc6fb74a41ed153ad (patch)
treef82afe2a77df0122eaee31d9613ca2b388b66284 /example.yaml
parent0e9dbf97c9aece7551e315dd96825fab1c7c2c93 (diff)
Agent example config for jolokia and logwatch plugins.
Diffstat (limited to 'example.yaml')
-rw-r--r--example.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/example.yaml b/example.yaml
index 759df61..de82ecc 100644
--- a/example.yaml
+++ b/example.yaml
@@ -70,3 +70,24 @@ check_mk::agent::host_tags:
- '%{role}'
- '%{location}'
+check_mk::agent::jolokia::server: '127.0.0.1'
+check_mk::agent::jolokia::port: '8080'
+check_mk::agent::jolokia::user: 'monitoring'
+check_mk::agent::jolokia::password: 'tinstaafl'
+check_mk::agent::jolokia::suburi: 'jolokia'
+
+check_mk::agent::jolokia::instances:
+ 'My-App':
+ server: '10.0.0.1'
+ port: '8190'
+
+check_mk::agent::logwatch::keep_defaults: 'true'
+check_mk::agent::logwatch::logfiles:
+ '/apps/tomcat1/logs/tomcat/catalina.*.log':
+ critical:
+ - '^SERVERE:'
+ - '^ERROR:'
+ warning:
+ - '^WARNING:'
+ ignore:
+ - '^INFO'