diff options
author | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2016-11-04 10:54:28 -0400 |
commit | 34a381efa8f6295080c843f86bfa07d4e41056af (patch) | |
tree | 9282cf5d4c876688602705a7fa0002bc4a810bde /puppet/modules/check_mk/example.yaml | |
parent | 0a72bc6fd292bf9367b314fcb0347c4d35042f16 (diff) | |
parent | 5821964ff7e16ca7aa9141bd09a77d355db492a9 (diff) |
Merge branch 'develop'
Diffstat (limited to 'puppet/modules/check_mk/example.yaml')
m--------- | puppet/modules/check_mk | 0 | ||||
-rw-r--r-- | puppet/modules/check_mk/example.yaml | 93 |
2 files changed, 93 insertions, 0 deletions
diff --git a/puppet/modules/check_mk b/puppet/modules/check_mk deleted file mode 160000 -Subproject aa02571537af90ac73309e6e216c9417802548c diff --git a/puppet/modules/check_mk/example.yaml b/puppet/modules/check_mk/example.yaml new file mode 100644 index 00000000..de82ecc5 --- /dev/null +++ b/puppet/modules/check_mk/example.yaml @@ -0,0 +1,93 @@ +# Monitoring Server +check_mk::filestore: 'puppet:///files/check_mk' +check_mk::package: 'omd-0.56-rh60-29.x86_64.rpm' + +#check_parameters = [ +# ( (95, 99), ALL_HOSTS, [ "fs_/boot" ]), +# ( (3192, 3584), ALL_HOSTS, [ "JVM PODDSv3 Memory" ]), +# ( (150, 200), ALL_HOSTS, [ "JVM PODDSv3 Threads" ]), +# ( (4000, 6000), [ 'coherence' ], ALL_HOSTS, [ "Number of threads" ]), +#] +# Defaults: +# hosts: ALL_HOSTS +# tags: undef +check_mk::check_parameters: + 'fs_/boot': + warning: '95' + critical: '99' + 'JVM MyApp Memory': + warning: '3192' + critical: '3584' + 'JVM MyApp Threads': + warning: '150' + critical: '200' + 'Number of threads': + tags: [ 'coherence' ] + warning: '4000' + critical: '6000' + 'fs_/': + hosts: [ 'myhost1.domain.com', 'myhost2.domain.com' ] + warning: '60' + critical: '70' + +check_mk::host_groups: + 'Puppet_Masters': + host_tags: + - 'puppet-master' + + 'My_App': + description: 'My Application' + host_tags: + - 'my-app' + + 'My_DB': + description: 'My Database' + host_tags: + - 'my-db' + +#ignored_services = [ +# ( [ "windows" ], ALL_HOSTS, [ "LOG Security" ] ), +# ( ALL_HOSTS, [ "NFS mount /home/" ] ) +#] + +check_mk::ignored_services: + 'LOG security': + tags: + 'windows' + 'NFS mount /home/': + hosts: + - 'lnxuser1.domain.com' + - 'lnxuser2.domain.com' + +# Monitoring Agent +check_mk::agent::filestore: 'puppet:///files/check_mk' +check_mk::agent::version: '1.2.0p3-1' + +# Set host tags based on built-in and custom facts +check_mk::agent::host_tags: + - '%{envtype}' + - '%{kernel}' + - '%{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' |