RE: snmpd problems

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

The below mentioned snmpd.conf is complete or partial?

Since you are trying to map the "public" community string to your v3 security names, the community string should be defined with directive (ro) rwcommunity. If you have not provided those in the below mail then it is fine, otherwise you have define them.

Also make sure that security names (nom_public/nom_private) should be defined either using snmpusm/createUser directives. 

Thanks,
Mahesh

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sonia Garcia
Sent: Saturday, June 10, 2006 3:20 AM
To: NET-SNMP
Subject: snmpd problems

Hi!!

I have a problem.

I have red hat enterprise 3, I need start SNMP.

the steps that I have followed are the following

I have configured the snmp.conf file that following:
comunnity is public for test.

---------------------------------------------------
####
# First, map the community name "public" into a
"security name"

#       sec.name  source          community
com2sec nom_public  default       public
com2sec nom_private  192.168.1.0/24       private

####
# Second, map the security name into a group name:

#       groupName      securityModel securityName
group   grupo_public v1           nom_public
group   grupo_public v2c           nom_public
group   grupo_private v1           nom_private
group   grupo_private v2c           nom_private

####
# Third, create a view for us to let the group have
rights to:

# Make at least  snmpwalk -v 1 localhost -c public
system fast again.
#       name           incl/excl     subtree        
mask(optional)
view	allview	included	.1.3.6		
# view    systemview    included   .1.3.6.1.2.1.1	00
#view    systemview    included   .1.3.6.1.2.1.25.1.1
00
#view	allview	included	.1	00	

####
# Finally, grant the group read-only access to the
systemview view.

#       group          context sec.model sec.level
prefix read   write  notif
access  grupo_public ""      any       noauth    exact
 allview all none
access  grupo_private ""      any       noauth   
exact  allview all none

#
-----------------------------------------------------------------------------
































and start snmp agent with
/etc/rc.d/init.d/snmpd start

I have tested with MIB to browser but get does not
answer.
I have test with snmpget in the comman line but the
command in not found in my server linux.

What is the problem? :(


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam
¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 


_______________________________________________
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


_______________________________________________
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.