diff options
author | varac <varacanero@zeromail.org> | 2010-10-23 02:55:17 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-09-17 16:01:37 +0200 |
commit | d34da8424e8b35022f6d5f2ee9a68bc6cedccad6 (patch) | |
tree | 91a6b2552430ac82bed6c359bac7375c6503f709 /manifests/pnp4nagios | |
parent | 11fd30b96d6aeb5a69dd6bc465e0029784465165 (diff) |
basic pnp4nagios grapher integration
Diffstat (limited to 'manifests/pnp4nagios')
-rw-r--r-- | manifests/pnp4nagios/popup.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/manifests/pnp4nagios/popup.pp b/manifests/pnp4nagios/popup.pp new file mode 100644 index 0000000..372fe3b --- /dev/null +++ b/manifests/pnp4nagios/popup.pp @@ -0,0 +1,17 @@ +class nagios::pnp4nagios::popup inherits nagios::pnp4nagios { + File['pnp4nagios-templates.cfg']{ + path => "$nagios::nagios_cfgdir/conf.d/pnp4nagios-templates.cfg", + source => [ "puppet:///modules/site-nagios/pnp4nagios/pnp4nagios-popup-templates.cfg", + "puppet:///modules/nagios/pnp4nagios/pnp4nagios-popup-templates.cfg" ] + } + + file { "/usr/share/$nagios::nagios_packagename/htdocs/ssi": + ensure => directory } + + file { 'status-header.ssi': + path => "/usr/share/$nagios::nagios_packagename/htdocs/ssi/status-header.ssi", + source => [ "puppet:///modules/site-nagios/pnp4nagios/status-header.ssi", + "puppet:///modules/nagios/pnp4nagios/status-header.ssi" ] + } + +} |