jbond created this task.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
Recently we had a cloudvirt host that had a fuse mount as follows
$ sudo mount | grep /mnt
/dev/fuse on /mnt type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
$ sudo lsof /dev/fuse
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
guestmoun 1395696 root 3u CHR 10,229 0t0 282 /dev/fuse
$ ps -ef | grep guestmoun
root 1395696 1 2 Feb23 ? 02:37:10 guestmount -a
/var/lib/nova/instances/7498566a-c160-4d7d-90eb-03470e5d80f3/disk.1677097630 -i
--ro /mnt
As nrpe is ran as the nagios user it received `DISK CRITICAL - /mnt is not
accessible: Permission denied` error
I think we should either skip fuse mounts from this check or update the
nagios and nrpe checks so they can run as root. i think im leaning to the
former as the better solution as i dont think we need to error if a fuse mount
is running out of space but perhaps im missing something
TASK DETAIL
https://phabricator.wikimedia.org/T330655
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jbond
Cc: Aklapper, #cloud-services, #observability-alerting, jbond
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]