Hi net-snmp-users,
A few weeks ago, I wished to monitor my NFS servers by SNMP. After lots of Google research, I failed to find any solutions to this matter. There is an MIB created by Sun, but no implementations for Linux.
Hence, starting from the Net-SNMP tutorial, I have rolled my own solution. nfsstats.pl reads values from /proc/net/rpc/nfs and /proc/net/rpc/nfsd and makes these available through snmpd. They can then easily be monitored by MRTG, Cacti, Ganglia, etc.
I havent currently written an MIB for these statistics (which are basically the same as those made available from /usr/sbin/nfsstat).
However, I hope that my script can be of use to others wishing to monitor NFS statistics by SNMP. Patches, suggestions, MIBs etc are welcome.
nfsstats.pl: http://www.macdee.net/perl/nfsstats/
Regards
Craig
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
