Re: SNMP question

2002-11-13 Thread guy keren

On Wed, 13 Nov 2002, Michael Sternberg wrote:

 I'm using UCD-SNMP version 4.2.3 over Linux. I've compiled 
 the ucd tutorial mib module into an *.so library, which 
 SNMPD loads. The following lines the access section of snmpd.conf:
[.. snip ..]

 The only response I get is for the system MIB. 
   
 On call:
 snmpget MyLinuxMachine public enterprises.2021.13.4242.1.1.1
 
 I get the response:
 Error in packet
 Reason: (noSuchName) There is no such variable name in this MIB.
 Failed object: 
 enterprises.ucdavis.ucdExperimental.ucdSnmpTutorialMIB.ustMIB
 Objects.ustScalarSet.ustSSSimpleString

try to 'snmpwalk' over this machine (from the 'root' node) and see if you 
get nodes that appear to belong to the tutorial's MIB. perhaps the path 
you're using is not the same as is actually defined in the MIB or used by 
the system at run-time.

-- 
guy

For world domination - press 1,
 or dial 0, and please hold, for the creator. -- nob o. dy


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




SNMP question

2002-11-12 Thread Michael Sternberg


Hi,
  
I'm using UCD-SNMP version 4.2.3 over Linux. I've compiled 
the ucd tutorial mib module into an *.so library, which 
SNMPD loads. The following lines the access section of snmpd.conf:
  
com2sec paranoid  default public
com2sec readonly  default public
  
group MyROSystem v1 paranoid
group MyROSystem v2cparanoid
group MyROSystem usmparanoid
group MyROGroup  v1 readonly
group MyROGroup  v2creadonly
group MyROGroup  usmreadonly
  
view allincluded  .1   80
view system included  .iso.org.dod.internet.mgmt.mib-2.system
  
access MyROSystem   any   noauthexact  system none   none
access MyROGroupany   noauthexact  allnone   none

The only response I get is for the system MIB. 
  
On call:
snmpget MyLinuxMachine public enterprises.2021.13.4242.1.1.1

I get the response:
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: 
enterprises.ucdavis.ucdExperimental.ucdSnmpTutorialMIB.ustMIB
Objects.ustScalarSet.ustSSSimpleString

If I add the -v 2c to the snmpget command, the reply is:
No Such Object available on this agent

Thanks, Michael.

-- 

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]