Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use gen_munin

  • Loading branch information...
commit 9e4ede5b307bd8a13fc523eec901f8a2331b75d3 1 parent 98824e0
@pieterlexis pieterlexis authored
View
8 kbp_dell/manifests/init.pp
@@ -30,7 +30,7 @@
}
}
- munin::client::plugin {
+ gen_munin::client::plugin {
# Graph the IPMI sensors for temperature
"ipmi_sensor_u_degrees_c":
ensure => present;
@@ -39,7 +39,7 @@
ensure => absent;
}
- munin::client::plugin::config { "ipmi_sensor_":
+ gen_munin::client::plugin::config { "ipmi_sensor_":
section => "ipmi_sensor_*",
content => "user root",
}
@@ -88,7 +88,7 @@
class kbp_dell::pe1950 inherits kbp_dell::poweredge {
include kbp_dell::perc
- munin::client::plugin { "ipmi_sensor_u_rpm":
+ gen_munin::client::plugin { "ipmi_sensor_u_rpm":
script_path => "/usr/local/share/munin/plugins",
script => "ipmi_sensor_",
}
@@ -106,7 +106,7 @@
class kbp_dell::pe2950 inherits kbp_dell::poweredge {
include kbp_dell::perc
- munin::client::plugin { "ipmi_sensor_u_rpm":
+ gen_munin::client::plugin { "ipmi_sensor_u_rpm":
script_path => "/usr/local/share/munin/plugins",
script => "ipmi_sensor_",
}
View
2  kbp_hetzner/manifests/init.pp
@@ -38,7 +38,7 @@
ensure => "latest";
}
- munin::client::plugin { "sensors_temp":
+ gen_munin::client::plugin { "sensors_temp":
require => Package["lm-sensors"],
script => "sensors_",
notify => Exec["/sbin/modprobe f71882fg"];
View
6 kbp_libvirt/manifests/init.pp
@@ -43,7 +43,7 @@
}
if versioncmp($lsbdistrelease, "5.0") < 0 {
- munin::client::plugin { ["libvirt-blkstat", "libvirt-cputime", "libvirt-ifstat", "libvirt-mem"]:
+ gen_munin::client::plugin { ["libvirt-blkstat", "libvirt-cputime", "libvirt-ifstat", "libvirt-mem"]:
require => [Package["python-libvirt", "python-libxml2"],Munin::Client::Plugin::Config["libvirt"]],
script_path => "/usr/local/share/munin/plugins";
}
@@ -55,13 +55,13 @@
} else {
include gen_base::munin-libvirt-plugins
- munin::client::plugin { ["libvirt-blkstat", "libvirt-cputime", "libvirt-ifstat", "libvirt-mem"]:
+ gen_munin::client::plugin { ["libvirt-blkstat", "libvirt-cputime", "libvirt-ifstat", "libvirt-mem"]:
require => [Package["munin-libvirt-plugins"],Munin::Client::Plugin::Config["libvirt"]],
script_path => "/usr/share/munin/plugins";
}
}
- munin::client::plugin::config { "libvirt":
+ gen_munin::client::plugin::config { "libvirt":
section => "libvirt-*",
content => "user root";
}
View
4 kbp_mailscanner/manifests/init.pp
@@ -24,12 +24,12 @@
notify => Service["amavis"],
}
- munin::client::plugin { ["amavis_time", "amavis_cache", "amavis_content"]:
+ gen_munin::client::plugin { ["amavis_time", "amavis_cache", "amavis_content"]:
script => "amavis_",
script_path => "/usr/local/share/munin/plugins",
}
- munin::client::plugin::config { "amavis_":
+ gen_munin::client::plugin::config { "amavis_":
section => "amavis_*",
content => "env.amavis_db_home /var/lib/amavis/db\nuser amavis",
}
View
4 kbp_openvpn/manifests/init.pp
@@ -10,11 +10,11 @@
# gen_puppet
#
class kbp_openvpn::server inherits openvpn::server {
- munin::client::plugin { "openvpn":
+ gen_munin::client::plugin { "openvpn":
require => File["/etc/openvpn/openvpn-status.log"],
}
- munin::client::plugin::config { "openvpn":
+ gen_munin::client::plugin::config { "openvpn":
content => "user root\n",
}
View
4 kbp_postfix/manifests/init.pp
@@ -38,9 +38,9 @@
require => Package["postfix"];
}
- munin::client::plugin { ["postfix_mailqueue", "postfix_mailstats", "postfix_mailvolume"]:; }
+ gen_munin::client::plugin { ["postfix_mailqueue", "postfix_mailstats", "postfix_mailvolume"]:; }
- munin::client::plugin { ["exim_mailstats"]:
+ gen_munin::client::plugin { ["exim_mailstats"]:
ensure => absent;
}
View
2  kbp_varnish/manifests/init.pp
@@ -10,7 +10,7 @@
# gen_puppet
#
class kbp_varnish inherits varnish {
- munin::client::plugin { "varnish_ratio":
+ gen_munin::client::plugin { "varnish_ratio":
script_path => "/usr/local/share/munin/plugins",
script => "varnish_",
}
Please sign in to comment.
Something went wrong with that request. Please try again.