Open ghost opened 10 years ago
log_file param is an example42 standard which was used by puppi, when activated. It can be used also in templates, as it SHOULD be here, but instead is used an incorrect:
log_file=<%= scope.lookupvar('nagios::log_dir') %>/nagios._log
I would change it to
log_file=<%= scope.lookupvar('nagios::log_file') %>
and verify in params.pp if it's correctly evaluated.
A PR on this is welcomed.
Sounds good, I'll get a PR pulled together. Is there a reason that you default to log file to nagios._log
instead of nagios.log
?
Not that I remember of, probably a typo.
There is a parameter to the nagios classed called "log_file". As far as I can tell, that parameter is never used. The default log file is called
nagios._log
right now. I would like to change that tonagios.log
, but it doesn't look like there's a way to do that right now.