diff options
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/munin.pp | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index be83ba0..537718d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -11,7 +11,7 @@ class squid { } if $use_munin { - include munin::plugins::squid + include squid::munin } } diff --git a/manifests/munin.pp b/manifests/munin.pp new file mode 100644 index 0000000..f2e555f --- /dev/null +++ b/manifests/munin.pp @@ -0,0 +1,8 @@ +# manifests/munin.pp + +class squid::munin { + munin::plugin{ 'squid_cache': config => "user root\nenv.squidhost localhost\nenv.squidport 80"} + munin::plugin{ 'squid_icp': } + munin::plugin{ 'squid_requests': } + munin::plugin{ 'squid_traffic': } +} |