Added ossec/mon_log_backup attributes

This commit is contained in:
Tim Kuhlman 2014-03-19 13:53:08 -06:00
parent 4309245702
commit 7c7469276c
3 changed files with 7 additions and 1 deletions

2
attributes/backup.rb Normal file
View File

@ -0,0 +1,2 @@
# Logs to backup
node.default[:mon_log_backup][:logs][:mon_notification] = [ '/var/log/mon-notification/notification.log' ]

4
attributes/monitor.rb Normal file
View File

@ -0,0 +1,4 @@
# Have ossec watch the log
node.default[:ossec][:watched][:mon_notification] = {
'/var/log/mon-notification/notification.log' => :syslog
}

View File

@ -4,4 +4,4 @@ maintainer_email 'hpcs-mon@hp.com'
license 'All rights reserved'
description 'Installs/Configures mon_notification'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.3'
version '0.1.4'