CMK version:
2.2.0p39
OS version:
RHEL 9
Error message:
I want to monitor a bind mount.
The mount is done with following options:
mount -o bind,ro,nosuid,nodev,noexec
But the mount isnt discovered even that its in the agent´s section:
<<<mounts>>>
/dev/mapper/rhel_hostname-root / xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,no
/dev/sda2 /boot xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0
/dev/sda1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shor
/dev/mapper/rhel_hostname-root /srv/monitoring/to_process xfs ro,nosuid,nodev,noexec,reloquota 0 0
If I do an enforced check I get this message:
Item not found in monitoring data
The other mounts form the agent´s output are discovered.
How can I monitor that the bind mount is done with correct options?
Thanks
Mike
