diff options
author | mh <mh@immerda.ch> | 2013-06-13 00:38:22 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-06-13 00:38:22 +0200 |
commit | 2d11bc0ba8a636cee4adeb73689392a077a76006 (patch) | |
tree | 5990d356a1f1be9277507b7e51c28ea19ce5ec39 /manifests/defaults/pnp4nagios.pp | |
parent | ded0a8765946706262ec3c746864df4d09638292 (diff) | |
parent | a814cdad2b1ff47066df4c8b5d948f22210c0832 (diff) |
Merge branch 'master' of git.puppet.immerda.ch:module-nagios
Diffstat (limited to 'manifests/defaults/pnp4nagios.pp')
-rw-r--r-- | manifests/defaults/pnp4nagios.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/defaults/pnp4nagios.pp b/manifests/defaults/pnp4nagios.pp new file mode 100644 index 0000000..662d13b --- /dev/null +++ b/manifests/defaults/pnp4nagios.pp @@ -0,0 +1,10 @@ +class nagios::defaults::pnp4nagios { + # performance data cmds + # http://docs.pnp4nagios.org/de/pnp-0.6/config#bulk_mode_mit_npcd + nagios_command { + 'process-service-perfdata-file-pnp4nagios-bulk-npcd': + command_line => '/bin/mv /var/lib/nagios3/service-perfdata /var/spool/pnp4nagios/npcd/service-perfdata.$TIMET$'; + 'process-host-perfdata-file-pnp4nagios-bulk-npcd': + command_line => '/bin/mv /var/lib/nagios3/host-perfdata /var/spool/pnp4nagios/npcd/host-perfdata.$TIMET$' + } +} |