← Back to team overview

nagios-charmers team mailing list archive

[Bug 1885608] [NEW] Nagios user can't read /var/log/syslog

 

Public bug reported:

The nagios user can't read /var/log/syslog for log-related monitoring.

by default, syslog is syslog:adm 640.

this is defined by /etc/rsyslog.conf

$FileOwner syslog
$FileGroup adm
$FileCreateMode 0640


I suggest that we add nagios user to group adm (usermod -a -G adm nagios) in the nrpe charm so each individual charm using nrpe checks doesn't have to add adm group or sudo rules to read log files for their checks.

See comments near the end of: https://review.opendev.org/#/c/700444/8

** Affects: charm-nrpe
     Importance: High
         Status: New

-- 
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1885608

Title:
  Nagios user can't read /var/log/syslog

Status in NRPE Charm:
  New

Bug description:
  The nagios user can't read /var/log/syslog for log-related monitoring.

  by default, syslog is syslog:adm 640.

  this is defined by /etc/rsyslog.conf

  $FileOwner syslog
  $FileGroup adm
  $FileCreateMode 0640

  
  I suggest that we add nagios user to group adm (usermod -a -G adm nagios) in the nrpe charm so each individual charm using nrpe checks doesn't have to add adm group or sudo rules to read log files for their checks.

  See comments near the end of: https://review.opendev.org/#/c/700444/8

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nrpe/+bug/1885608/+subscriptions


Follow ups