Hi guys,
I have a question about file system discovery and monitoring of autofs mount points on AIX partitions.
We have a large environment with about 400 AIX and Linux devices, and have found an issue when using autofs of NFS points for backup.
So this is the workflow:
1. Partition mount NFS points when backup is performed or when user access data on NFS, this is mounted on /nfs filesystem
2. Zabbix discovers new mount point and start monitoring it. Trigger is configured to for 15%(W), 10%(A) and 3%(H) and regular expression allows NFS shares, but since we have a lot of space on ZFS export, no trigger is lifted.
3. Now, the problem manifests itself when autofs unmounts this mount point. For some reason free disk percentage goes to 0% and trigger is lifted. I know that this mount point is now mounted on root filesystem, but what confuses me is that we have more than enough space left of root filesystem (80% free). This does not happen on our Linux machines.
I would be very grateful for any help and guidelines.
Update: zabbix-get and zabbix-agent -t return 0 as value on those filesystems:
root@host:/opt/zabbix/sbin# ./zabbix_agentd -t vfs.fs.size[/nfs,pfree]
vfs.fs.size[/nfs,pfree] [u|0]
[root@zabbix]# zabbix_get -I PUBLIC_IP -s host -k 'vfs.fs.size[/nfs,pfree]'
0.000000
So, we basically get wrong results back. We have tried to run zabbix agent as root, but the result is the same.
Best regards,
Dario
I have a question about file system discovery and monitoring of autofs mount points on AIX partitions.
We have a large environment with about 400 AIX and Linux devices, and have found an issue when using autofs of NFS points for backup.
So this is the workflow:
1. Partition mount NFS points when backup is performed or when user access data on NFS, this is mounted on /nfs filesystem
2. Zabbix discovers new mount point and start monitoring it. Trigger is configured to for 15%(W), 10%(A) and 3%(H) and regular expression allows NFS shares, but since we have a lot of space on ZFS export, no trigger is lifted.
3. Now, the problem manifests itself when autofs unmounts this mount point. For some reason free disk percentage goes to 0% and trigger is lifted. I know that this mount point is now mounted on root filesystem, but what confuses me is that we have more than enough space left of root filesystem (80% free). This does not happen on our Linux machines.
I would be very grateful for any help and guidelines.
Update: zabbix-get and zabbix-agent -t return 0 as value on those filesystems:
root@host:/opt/zabbix/sbin# ./zabbix_agentd -t vfs.fs.size[/nfs,pfree]
vfs.fs.size[/nfs,pfree] [u|0]
[root@zabbix]# zabbix_get -I PUBLIC_IP -s host -k 'vfs.fs.size[/nfs,pfree]'
0.000000
So, we basically get wrong results back. We have tried to run zabbix agent as root, but the result is the same.
Best regards,
Dario
Comment