Description


nfsstats.pl FOR LINUX





nfsstats.pl is a Net-SNMP sub-agent that parses /proc/net/rpc/nfs and /proc/net/rpc/nfsd to obtain NFS statistics (just like nfsstat), and reports these as SNMP values. It is useful for remotely monitoring NFS client or server usage via SNMP to utilities like MRTG, Cacti, or Ganglia.



Installation Instructions:



  • Ensure you have a working Net-SNMP install.

  • Ensure you have the Perl sub-components of Net-SNMP installed (in Fedora Core, do yum install net-snmp-perl).

  • Save nfsstats.pl to /var/net-snmp/.

  • Add the following line to /etc/snmp/snmpd.conf: master agentx.

  • Start nfsstats.pl in the way of your choice, logged to file of your choice (eg 2>/dev/null). Note that nfsstats.pl must be started as root.



Usage:


If your snmpd is built with embedded Perl support (Fedora Core doesn't), then you can import the sub agent directly into the snmpd. See the script for more details.



Monitoring with SNMP:


After you have successfully installed nfsstats.pl, you should be able to walk the provided OIDs: snmpwalk -v 2c -c public localhost 'enterprises.6789.6789' or snmpwalk -v 2c -c public localhost '.1.3.6.1.4.1.6789.6789'. As we have no MIB for nfsstats.pl yet, the numbers coming back won't make much sense. However, they should bear a striking resemblance to the output of /usr/sbin/nfsstat!



Statistics Available:


The following are some of the 114 statistics that nfsstats.pl can provide for SNMP values:



  • client.rpc.count.calls

  • client3.count.null

  • server.rpc.count.calls

  • server3.count.null

  • server.replycache.count.hits

  • server.fhcache.count.lookups

  • server.net.count.packets



These statistics can be monitored using tools like MRTG as per your requirements.


User Reviews for nfsstats.pl FOR LINUX 7

  • for nfsstats.pl FOR LINUX
    nfsstats.pl for Linux provides detailed NFS statistics via SNMP for monitoring. Installation instructions are clear for setting up. Useful for server usage tracking.
    Reviewer profile placeholder Alice Johnson
  • for nfsstats.pl FOR LINUX
    nfsstats.pl is an outstanding tool for monitoring NFS performance! The SNMP integration is seamless and effective.
    Reviewer profile placeholder Alex Johnson
  • for nfsstats.pl FOR LINUX
    I absolutely love nfsstats.pl! It provides detailed insights into NFS statistics, making my monitoring tasks so much easier.
    Reviewer profile placeholder Lisa Smith
  • for nfsstats.pl FOR LINUX
    This app has transformed how I track NFS usage. Easy installation and comprehensive stats—highly recommend!
    Reviewer profile placeholder Michael Brown
  • for nfsstats.pl FOR LINUX
    Fantastic app! nfsstats.pl delivers precise NFS stats through SNMP. It's a must-have for server management!
    Reviewer profile placeholder Emily Davis
  • for nfsstats.pl FOR LINUX
    nfsstats.pl is incredibly useful for managing NFS clients and servers. The statistics are clear and actionable.
    Reviewer profile placeholder David Wilson
  • for nfsstats.pl FOR LINUX
    A game changer for NFS monitoring! nfsstats.pl simplifies the process and provides valuable insights effortlessly.
    Reviewer profile placeholder Sarah Lee
SoftPas

SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.

Recent

Help

Subscribe to newsletter


© Copyright 2024, SoftPas, All Rights Reserved.