summaryrefslogtreecommitdiff
path: root/manifests/register_snmp.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-07-01 04:43:09 +0200
committermh <mh@immerda.ch>2010-07-01 04:43:09 +0200
commite7d23dabf191c5416197af0b229fc90b94539405 (patch)
treebf9d1f220eb8c0ef176529e2ab18717618e4ee14 /manifests/register_snmp.pp
parentd63bc7ba3edc39e2fe7dbbefd87edac45176b13b (diff)
parentf1586a7fbcc79fee6542790b1f4c930929af7e04 (diff)
merge with lavamind
Diffstat (limited to 'manifests/register_snmp.pp')
-rw-r--r--manifests/register_snmp.pp21
1 files changed, 0 insertions, 21 deletions
diff --git a/manifests/register_snmp.pp b/manifests/register_snmp.pp
deleted file mode 100644
index e74ba44..0000000
--- a/manifests/register_snmp.pp
+++ /dev/null
@@ -1,21 +0,0 @@
-# snmp_testplugin: the plugin we use to test if it's set
-define munin::register_snmp(
- $snmpd_testplugin = 'load'
-)
-{
- $munin_port_real = $munin_port ? { '' => 4949, default => $munin_port }
- $munin_host_real = $munin_host ? {
- '' => '*',
- 'fqdn' => '*',
- default => $munin_host
- }
- exec{"register_snmp_munin_for_${name}":
- command => "munin-node-configure-snmp ${name} | sh",
- unless => "test -e /etc/munin/plugins/snmp_${name}_${snmpd_testplugin}",
- }
- @@file { "munin_snmp_${name}": path => "/var/lib/puppet/modules/munin/nodes/${name}",
- ensure => present,
- content => template("munin/snmpclient.erb"),
- tag => 'munin',
- }
-}