i think that this is explicitly excluded in the linux agent /usr/bin/check_mk_agent itself:
# The exclusion list is getting a bit of a problem.
# -l should hide any remote FS but seems to be all but working.
excludefs="-x smbfs -x cifs -x iso9660 -x udf -x nfsv4 -x nfs -x mvfs -x prl_fs -x squashfs -x devtmpfs -x autofs -x beegfs"
if [ -z "${IS_LXC_CONTAINER}" ]; then
excludefs="${excludefs} -x zfs"
fi
So try to remove the exluded filesystem type there.
I’ve removed “-x devtmpfs” from the list and restarted the daemon “sudo systemctl restart cmk-agent-ctl-daemon.service”.
Unfortunately a service rescan hasn’t returned anything new.
Make sure, that the rule is above the other rules, that might overwrite that parameter, at least in my default installation there is a rule explicitly for checkmk servers.
It’s working after I added the default “cmk/check_mk_server:yes” Filesystem discovery rule label to the client.
No other client has this label explicitly enabled.
How has service discovery worked until this point?
If no rules match, then the defaults take place. (that should explain, why other stuff works )
Are you sure, that the server you are testing with, does not have the cmk/check_mk_server:yes label ?
You can see that during discovery or in the host status page:
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.