Re: NFS sub-agent for Net-SNMP

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 15/07/06, Craig Macdonald <[email protected]> wrote:
>  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...
>  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/

It might be worth putting a mention of this link on the Net-SNMP
"Related Software"
page, if you'd like us to do that?

But there are a couple of questions that spring to mind first.

a)  It wasn't clear whether you have implemented a version of Sun's NFS
MIB, or written your own.  If the latter, are the MIB definitions available?
I'm a little confused by the output you list, and have a horrible feeling
that it might not be strictly valid.  Comparing this against the MIB definitions
would help put my mind at rest!

b) Do you have any connection with Octogon Software Development (of
Germany), who own the enterprise tree that you appear to be using?

When developing MIBs purely for your private use, it doesn't really
matter what OIDs you use (though it's only good manners not to use
someone else's OIDs without asking - unless they're clearly intended
for such experimentation, such as NET-SNMP-MIB::netSnmpPlaypen ).
   But if you're going to make this work more generally available, then
you really do need to make sure that you are authorised to use these OIDs.
Just picking OIDs at random is very dangerous, and rather makes a
mockery of having an enterprise number registry at all.  Getting your
own number is free, so there's no good reason to use anyone else's.


Don't get me wrong - I think being able to monitor NFS servers via
SNMP is well worth doing.  I'm just keen that it be done "right" :-)

Dave


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.