0

How would you monitor response of mounted NFS directory with Zabbix? I'm thinking about something like

$ time /bin/ls -U /path/to/nfs

(I think the output from nfsstat(8) relates less with user experience.)

nodakai
  • 311
  • 3
  • 8
  • You can probably wrap it in bash, a la https://stackoverflow.com/questions/13356628/how-to-redirect-the-output-of-the-time-command-to-a-file-in-linux – rogerdpack Sep 24 '18 at 15:14

3 Answers3

1

I'd use ioping... But I probably wouldn't monitor NFS performance at that layer, but rather from the NFS server itself, as most causes of user experience issues would ultimately be rooted in networking or the host server.

ewwhite
  • 197,159
  • 92
  • 443
  • 809
1

Try to have a look on available Zabbix solutions: http://monitoringartist.github.io/zabbix-searcher/#nfs

Jan Garaj
  • 879
  • 1
  • 7
  • 15
1

Are you talking about availability or utilization?

Use iostat to monitor NFS utilization:

Ubuntu/Debian:

apt-get install sysstat
nfsiostat 1 100

or Redhat/Centos:

yum install sysstat
iostat -xn 1 100
techraf
  • 4,243
  • 8
  • 29
  • 44
Sarda
  • 11
  • 1