RE: snmpd.conf configuration issue

"Martz, Peter" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <76EA980B393A584084B397FCA1D25519123F70C5@NJCHLEXCMB01.cable.comcast.com>
I have modified the configuration file to remove the -o option (as it
didn't make sense per you suggestion).

So to monitor the CheckPoint OIDs, I have the following 3 lines in my
snmpd.conf file (which should all be the same thing):

monitor -I -r 60 1.3.6.1.4.1.2620.1.1.25.3    > 1
monitor -I -r 60 1.3.6.1.4.1.2620.1.1.25.3.0  > 1
monitor -I -r 60 fwNumConn > 1

All 3 lines generate:
     /etc/snmp/snmpd.conf: line <X>: Error: unknown monitor OID

I have added the CheckPoint MIB file into the /usr/share/snmp/mibs
directory (default location and where all the standard MIB files live),
so the fwNumConn token should be known at this point.  Removing the "-I"
doesn't change anything.

Could I have permissions incorrect for the user?

In the snmpd.conf file:
         createUser <username> MD5 <passwd> DES
User shows up with snmp user show, but show user snmp <username> gives:
         <username>: User Access Information not Found

Running: NET-SNMP version 5.3.1, not sure if it is on any patch level
(how would I determine?).

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
On
> Behalf Of Dave Shield
> Sent: Thursday, March 18, 2010 5:51 PM
> To: Martz, Peter
> Cc: [email protected]
> Subject: Re: snmpd.conf configuration issue
> 
> On 18 March 2010 18:33, Martz, Peter <[email protected]>
wrote:
> > Running snmpgetnext on 1.3.6.1.4.1.2620.1.1.25.3 gives the
following:
> >
> > /usr/local/bin/snmpgetnext -Of -On -v 2c -c <community> <ip>
> 1.3.6.1.4.1.2620.1.1.25.3
> > .1.3.6.1.4.1.2620.1.1.25.3.0 = INTEGER: 19
> 
> Is this a scalar object?
> If so, it's probably safer to specify the full OID (including the
> trailing .0 instance)
> and add "-I" to the monitor line to indicate that this monitoring an
instance
> rather than (all instances of) an object.
> 
> Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.