Added ossec/mon_log_backup attributes
This commit is contained in:
2
attributes/backup.rb
Normal file
2
attributes/backup.rb
Normal 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
4
attributes/monitor.rb
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Have ossec watch the log
|
||||||
|
node.default[:ossec][:watched][:mon_notification] = {
|
||||||
|
'/var/log/mon-notification/notification.log' => :syslog
|
||||||
|
}
|
||||||
@@ -4,4 +4,4 @@ maintainer_email 'hpcs-mon@hp.com'
|
|||||||
license 'All rights reserved'
|
license 'All rights reserved'
|
||||||
description 'Installs/Configures mon_notification'
|
description 'Installs/Configures mon_notification'
|
||||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||||
version '0.1.3'
|
version '0.1.4'
|
||||||
|
|||||||
Reference in New Issue
Block a user