Hi!
We have set up zabbix agent on Oracle VM virtualization hosts(cut down linux version with xen support).
Problem is - agent does not discover mounted ocfs2 file systems(template OS linux, discovery rules).
These file systems are visible as normal local file systems in "df -h" output like:
/dev/mapper/3600508b4000753ee0001000000290000
900G 867G 34G 97% /OVS/Repositories/0004fb000003000099de5999d1a266f8
and also in /proc/mounts like this:
/dev/mapper/3600508b4000753ee0001000000290000 /OVS/Repositories/0004fb000003000099de5999d1a266f8 ocfs2 rw,relatime,_netdev,heartbeat=global,nointr,data=o rdered,errors=remount-ro,cluster_stack=o2cb,coherency=full,user_xattr,ac l 0 0
First idea was it is because the regexp for file system discovery did not include neither ocfs2 or ocfs.
Administration->General->Regular expressions -> File systems discovery was"^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs| jfs|jfs2|vxfs|hfs|ntfs|fat32)$"
we then changed it to "^(btrfs|ext2|ext3|ext4|ocfs2|jfs|reiser|xfs|ffs|u fs|jfs|jfs2|vxfs|hfs|ntfs|fat32)$", but ocfs2 type file systems are still not discovered(suitable time has past).
Zabbix server 2.0.3
zabbix agent 2.0.2
Any ideas what to tune for ocfs2 file system discovery to work?
BR
Ugis
We have set up zabbix agent on Oracle VM virtualization hosts(cut down linux version with xen support).
Problem is - agent does not discover mounted ocfs2 file systems(template OS linux, discovery rules).
These file systems are visible as normal local file systems in "df -h" output like:
/dev/mapper/3600508b4000753ee0001000000290000
900G 867G 34G 97% /OVS/Repositories/0004fb000003000099de5999d1a266f8
and also in /proc/mounts like this:
/dev/mapper/3600508b4000753ee0001000000290000 /OVS/Repositories/0004fb000003000099de5999d1a266f8 ocfs2 rw,relatime,_netdev,heartbeat=global,nointr,data=o rdered,errors=remount-ro,cluster_stack=o2cb,coherency=full,user_xattr,ac l 0 0
First idea was it is because the regexp for file system discovery did not include neither ocfs2 or ocfs.
Administration->General->Regular expressions -> File systems discovery was"^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs| jfs|jfs2|vxfs|hfs|ntfs|fat32)$"
we then changed it to "^(btrfs|ext2|ext3|ext4|ocfs2|jfs|reiser|xfs|ffs|u fs|jfs|jfs2|vxfs|hfs|ntfs|fat32)$", but ocfs2 type file systems are still not discovered(suitable time has past).
Zabbix server 2.0.3
zabbix agent 2.0.2
Any ideas what to tune for ocfs2 file system discovery to work?
BR
Ugis
Comment