Re: snmpwalk problem

Matty Ronald <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I have attached snmpd.conf file [/etc/snmpd.conf] of both the servers.

128 is working and  193 is not working.

On Wed, Mar 9, 2011 at 4:52 PM, Dave Shield <[email protected]>wrote:

> On 9 March 2011 11:15, Matty Ronald <[email protected]> wrote:
> > yes, only one access control entry is present in snmpd.conf
> >
> > Should i change that?
>
> No - that should work.
> But since it clearly isn't, can you please post the whole
> of the two snmpd.conf files, so that we can look at them.
>
> Dave
>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d

_______________________________________________
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
128_snmpd.conf (application/octet-stream, 7.9 KB)
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.03.09 17:35:18 =~=~=~=~=~=~=~=~=~=~=~=
cat /etc/snmpd.conf
############################################################################
#
# snmpd.conf - HP / SNMP Research EMANATE SNMP Agent Configuration File
#
############################################################################
#
# The EMANATE SNMP Agent included with HP OpenView Network Node Manager
# uses two configuration files to initialize operational settings on agent
# startup.  They are:
#
#       snmpd.conf      Provides an HP OpenView SNMP Agent compatible
#       (this file)     configuration file format for the EMANATE SNMP
#                       Agent.  The configuration values in this file 
#                       override and/or supplement the configuration 
#                       in snmpd.cnf.
#
#       snmpd.cnf       Provides non-volatile storage of configuration
#                       parameters.  The snmpd.cnf is automatically 
#                       updated (re-written) by EMANATE on startup and 
#                       as result of SNMP Set requests that modify the
#                       configuration values.
#
#                       HP does NOT recommend that you edit snmpd.cnf
#                       unless you are an advanced EMANATE user.
#
#
# Use this file (snmpd.conf) to configure the following SNMP Agent
# parameters.  The valid configuration kewords are:
#
#       get-community-name:
#       set-community-name:
#       max-trap-dest:
#       trap-dest:
#       contact:
#       location:
#
#
# get-community-name: <name> IP: <ip_address_list> VIEW: <view_list> \
#
#       The agent will only respond to get requests using <name> as 
#       the community name.  Embedded blanks are not allowed.  
#       If a community name is not specified in either this file or 
#       snmpd.cnf, the agent not respond to any get requests.
#       More than one community name can be configured for the agent 
#       by adding a separate entry for each name to be allowed.  For 
#       example,
#
#           get-community-name: secret
#
#       restricts access to only those requests using community "secret";
#       and,
#
#           get-community-name: secret
#           get-community-name: private
#
#       restricts access to only those requests using either community 
#       "secret" or "private".
#
#       The IP: and VIEW: qualifiers are optional.  When either or
#       both qualifiers are omitted, the community name is allowed 
#       for any requesting IP address and provides access the entire 
#       MIB supported by the agent, respectively.
#
#       The IP: qualifier further restricts use of the community name 
#       to only those requests that originate from one of the listed 
#       IP addresses.  Host names are not supported.  For example,
#
#           get-community-name operator IP: 15.2.112.90 15.2.114.101
#
#       only allows access using community "operator" from IP address 
#       15.2.112.90 or 15.2.114.101.
# 
#       The VIEW: qualifier further restricts access using the community 
#       name to the sub-set of the agent's supported MIB identified by 
#       the space list of "MIB view sub-trees".  A view sub-tree may be 
#       either the object identifier (1.3.6.1.2.1.1) or object name 
#       (system) of the MIB sub-tree to be included.  The '-' character 
#       may be used to exclude an oid/name from the view.  For example,
#
#           get-community-name operator VIEW: mib-2 hp -system
#       
#       allows access using community "operator" to all MIB objects 
#       under "mib-2" except those objects under "system", plus all 
#       objects under the "hp" sub-tree.
#
#       The '\' character may be used at the end of a line to denote 
#       continuation of the configuration entry.  For example,
#
#           get-community-name operator IP: 15.2.112.90 15.2.114.101 \
#                                    VIEW: mib-2 hp -system
#
#       combines the access restrictions described in the previous
#       examples for community "operator".
#
#
# set-community-name: <name> IP: <ip_address_list> VIEW: <view_list> \
#
#       The agent will only process get or set requests using <name> 
#       as the community name.  Embedded blanks are not allowed.  
#       If a set community name is not configured in either this file 
#       or snmpd.cnf, set requests are not allowed by the agent.  More 
#       than one set community name can be configured by adding a 
#       separate entry for each name to be allowed.  For example,
#       
#           set-community-name: control
#
#       enables the agent to process set requests using the community
#       name "control".
#
#       The IP: and VIEW: qualifiers are optional. They provide the 
#       same access restrictions for the set community name as descibed 
#       above for get-community-name.  For example,
#
#           set-community-name technician VIEW: system
#           set-community-name administrator IP: 15.2.112.90 
#
#       allows set request processing using community "technician" to 
#       only those objects under the "system" group (e.g., sysContact);
#       and allows set requests processing on any object using community
#       "administrator", but only from IP address 15.2.112.90.
#
#
# max-trap-dest: <an integer number>
#
#       Specifies the number of trap-dest entries (see below) to be
#       maintained in the configuration file. If more trap-dest entries
#       than the number specified here exists, the file is re-written with
#       only the most recent (later) specified number of trap-dest entries.
#       For example,
#
#           max-trap-dest: 150
#
#       will cause only 150 trap-dest entries (or less) to be present in
#       the configuration file. If more trap-dest entries get added thru'
#       a SET request on the corresponding MIB object under the snmp group,
#       and if 150 entries exist in the file already, the least recent
#       entry would be removed from the file and the new entry added.
#       NOTE: If this parameter (max-trap-dest:) is not configured in
#       the configuration file, by default only 100 trap-dest entries
#       would be maintained.
#
#
# trap-dest: <trap destination>
#
#       Specifies the system name where traps will be sent.  The system
#       name is usually the hostname or IP address of the management 
#       station.  More than one trap destination can be configured by
#       by adding a separate entry for each destination.  For example,
#
#           trap-dest: manager1
#           trap-dest: 15.2.113.223
#
#       will cause traps to be sent to the systems named "manager1," 
#       and "15.2.113.223".
#
#
# contact: <contact string>
#
#       Specifies the value of the MIB-II sysContact object.  This
#       information usually includes the name of person responsible 
#       for the agent system, plus information on how to contact this 
#       person. For example, if Bob Jones is responsible person, and 
#       his phone number is 555-2000, enter:
#
#           contact: Bob Jones (Phone 555-2000)
#
#       NOTE: the value specified in this file overrides snmpd.cnf
#
#
# location: <location string>
#
#       Specifies the value of the MIB-II sysLocation object. For
#       example, if the agent system is on the first floor near the 
#       mens room, enter:
#
#           location: 1st Floor near Mens Room
#
#       NOTE: the value specified in this file overrides snmpd.cnf
#
############################################################################
#
get-community-name:     public
#set-community-name:    # enter community name
#contact:               # enter contact person for agent
#location:              # enter location of agent
#max-trap-dest:         # enter max no. of trap-dest entries to be maintained.
#trap-dest:             # enter trap destination

trap-dest: hazsrvr1.srhouse.com
#
193_snmpd.conf (application/octet-stream, 6.9 KB)
############################################################################
#
# snmpd.conf - HP / SNMP Research EMANATE SNMP Agent Configuration File
#
############################################################################
#
# The EMANATE SNMP Agent included with HP OpenView Network Node Manager
# uses two configuration files to initialize operational settings on agent
# startup.  They are:
#
#	snmpd.conf	Provides an HP OpenView SNMP Agent compatible
#	(this file)	configuration file format for the EMANATE SNMP
#			Agent.  The configuration values in this file 
#			override and/or supplement the configuration 
#			in snmpd.cnf.
#
#	snmpd.cnf	Provides non-volatile storage of configuration
#			parameters.  The snmpd.cnf is automatically 
#			updated (re-written) by EMANATE on startup and 
#			as result of SNMP Set requests that modify the
#			configuration values.
#
#			HP does NOT recommend that you edit snmpd.cnf
#			unless you are an advanced EMANATE user.
#
#
# Use this file (snmpd.conf) to configure the following SNMP Agent
# parameters.  The valid configuration kewords are:
#
#	get-community-name:
#	set-community-name:
#	max-trap-dest:
#	trap-dest:
#	contact:
#	location:
#
#
# get-community-name: <name> IP: <ip_address_list> VIEW: <view_list> \
#
# 	The agent will only respond to get requests using <name> as 
#	the community name.  Embedded blanks are not allowed.  
#	If a community name is not specified in either this file or 
#	snmpd.cnf, the agent not respond to any get requests.
#	More than one community name can be configured for the agent 
#	by adding a separate entry for each name to be allowed.  For 
#	example,
#
#	    get-community-name: secret
#
#	restricts access to only those requests using community "secret";
#	and,
#
#	    get-community-name: secret
#	    get-community-name: private
#
#	restricts access to only those requests using either community 
#	"secret" or "private".
#
# 	The IP: and VIEW: qualifiers are optional.  When either or
#	both qualifiers are omitted, the community name is allowed 
#	for any requesting IP address and provides access the entire 
#	MIB supported by the agent, respectively.
#
#	The IP: qualifier further restricts use of the community name 
#	to only those requests that originate from one of the listed 
#	IP addresses.  Host names are not supported.  For example,
#
#	    get-community-name operator IP: 15.2.112.90 15.2.114.101
#
#	only allows access using community "operator" from IP address 
#	15.2.112.90 or 15.2.114.101.
# 
#	The VIEW: qualifier further restricts access using the community 
#	name to the sub-set of the agent's supported MIB identified by 
#	the space list of "MIB view sub-trees".  A view sub-tree may be 
#	either the object identifier (1.3.6.1.2.1.1) or object name 
#	(system) of the MIB sub-tree to be included.  The '-' character 
#	may be used to exclude an oid/name from the view.  For example,
#
#	    get-community-name operator VIEW: mib-2 hp -system
#	
#	allows access using community "operator" to all MIB objects 
#	under "mib-2" except those objects under "system", plus all 
#	objects under the "hp" sub-tree.
#
#	The '\' character may be used at the end of a line to denote 
#	continuation of the configuration entry.  For example,
#
#	    get-community-name operator IP: 15.2.112.90 15.2.114.101 \
#	                             VIEW: mib-2 hp -system
#
#	combines the access restrictions described in the previous
#	examples for community "operator".
#
#
# set-community-name: <name> IP: <ip_address_list> VIEW: <view_list> \
#
# 	The agent will only process get or set requests using <name> 
#	as the community name.  Embedded blanks are not allowed.  
#	If a set community name is not configured in either this file 
#	or snmpd.cnf, set requests are not allowed by the agent.  More 
#	than one set community name can be configured by adding a 
#	separate entry for each name to be allowed.  For example,
#	
#	    set-community-name: control
#
#	enables the agent to process set requests using the community
#	name "control".
#
# 	The IP: and VIEW: qualifiers are optional. They provide the 
#	same access restrictions for the set community name as descibed 
#	above for get-community-name.  For example,
#
#	    set-community-name technician VIEW: system
#	    set-community-name administrator IP: 15.2.112.90 
#
#	allows set request processing using community "technician" to 
#	only those objects under the "system" group (e.g., sysContact);
#	and allows set requests processing on any object using community
#	"administrator", but only from IP address 15.2.112.90.
#
#
# max-trap-dest: <an integer number>
#
#	Specifies the number of trap-dest entries (see below) to be
# 	maintained in the configuration file. If more trap-dest entries
#	than the number specified here exists, the file is re-written with
#	only the most recent (later) specified number of trap-dest entries.
#	For example,
#
#	    max-trap-dest: 150
#
#	will cause only 150 trap-dest entries (or less) to be present in
#	the configuration file. If more trap-dest entries get added thru'
#	a SET request on the corresponding MIB object under the snmp group,
#	and if 150 entries exist in the file already, the least recent
#	entry would be removed from the file and the new entry added.
#	NOTE: If this parameter (max-trap-dest:) is not configured in
#	the configuration file, by default only 100 trap-dest entries
#	would be maintained.
#
#
# trap-dest: <trap destination>
#
#	Specifies the system name where traps will be sent.  The system
# 	name is usually the hostname or IP address of the management 
#	station.  More than one trap destination can be configured by
#	by adding a separate entry for each destination.  For example,
#
#	    trap-dest: manager1
#	    trap-dest: 15.2.113.223
#
#	will cause traps to be sent to the systems named "manager1," 
#	and "15.2.113.223".
#
#
# contact: <contact string>
#
#	Specifies the value of the MIB-II sysContact object.  This
#	information usually includes the name of person responsible 
#	for the agent system, plus information on how to contact this 
#	person. For example, if Bob Jones is responsible person, and 
#	his phone number is 555-2000, enter:
#
#	    contact: Bob Jones (Phone 555-2000)
#
#	NOTE: the value specified in this file overrides snmpd.cnf
#
#
# location: <location string>
#
#	Specifies the value of the MIB-II sysLocation object. For
#	example, if the agent system is on the first floor near the 
#	mens room, enter:
#
#	    location: 1st Floor near Mens Room
#
#	NOTE: the value specified in this file overrides snmpd.cnf
#
############################################################################
#
get-community-name:     public
#set-community-name: 	# enter community name
#contact: 		# enter contact person for agent
#location:		# enter location of agent
#max-trap-dest:		# enter max no. of trap-dest entries to be maintained.
#trap-dest:		# enter trap destination

#trap-dest: hazsrvr1.srhouse.com
#trap-dest: 172.24.101.112
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.