Re: RE: Re: RE: Help with installation

"Abigail Rebello" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1267229913.S.3001.36611.f4mail-234-233.rediffmail.com.old.1267505757.45786@webmail.rediffmail.com>

Hi,



  cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 .1.3

Timeout: No Response from 172.16.10.88.

cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 1.3

Timeout: No Response from 172.16.10.88.

cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 .1.3

Timeout: No Response from 172.16.10.88.





Attached new snmpd.conf file



Abigail 





On Sat, 27 Feb 2010 05:48:33 +0530  wrote

>



[Redirecting to list]







> From: Abigail Rebello [mailto:[email protected]]



> Sent: Friday, February 26, 2010 3:02 AM







> I've changed back to net-snmp 5.5..



> cccbl:~/Desktop # netstat -an | grep -i udp



> udp 0 0 0.0.0.0:514 0.0.0.0:*



> udp 0 0 0.0.0.0:899 0.0.0.0:*



> udp 0 0 172.16.10.88:161 0.0.0.0:*







Yep - you've got a daemon running!







> udp 0 0 0.0.0.0:162 0.0.0.0:*



> udp 0 0 0.0.0.0:111 0.0.0.0:*



> udp 0 0 0.0.0.0:631 0.0.0.0:*



> udp 0 0 :::899 :::*



> udp 0 0 :::111 :::*







> cccbl:~/Desktop # snmpwalk -H







That was useless... how about the output of `snmpgetnext -cpublic -v1 172.16.10.88 .1.3`?







Don't (snmp)walk until you can crawl...







> Also attached new snmpd.conf file.. Not sure why sys is showing two



> now..







Most likely you inadvertently attached it twice. No biggie.











HTH,







Mike

------------------------------------------------------------------------------
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
snmpd.conf (application/octet-stream, 3 KB)
###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
# SECTION: System Information Setup
#
#   This section defines some of the information reported in
#   the "system" mib group in the mibII tree.

# syslocation: The [typically physical] location of the system.
#   Note that setting this value here means that when trying to
#   perform an snmp SET operation to the sysLocation.0 variable will make
#   the agent return the "notWritable" error code.  IE, including
#   this token in the snmpd.conf file will disable write access to
#   the variable.
#   arguments:  location_string

syslocation  "ccb-dit corner"

# syscontact: The contact information for the administrator
#   Note that setting this value here means that when trying to
#   perform an snmp SET operation to the sysContact.0 variable will make
#   the agent return the "notWritable" error code.  IE, including
#   this token in the snmpd.conf file will disable write access to
#   the variable.
#   arguments:  contact_string

syscontact  abby

# sysservices: The proper value for the sysServices object.
#   arguments:  sysservices_number

sysservices 77






###########################################################################
# SECTION: Agent Operating Mode
#
#   This section defines how the agent will operate when it
#   is running.

# master: Should the agent operate as a master agent or not.
#   Currently, the only supported master agent type for this token
#   is "agentx".
#   
#   arguments: (on|yes|agentx|all|off|no)

master  all

# agentuser: The system user that the agent runs as.
#   arguments: name|#uid

agentuser  root

# agentgroup: The system group that the agent runs as.
#   arguments: group|#GID

agentgroup  root
agentgroup  root

# agentaddress: The IP address and port number that the agent will listen on.
#   By default the agent listens to any and all traffic from any
#   interface on the default SNMP port (161).  This allows you to
#   specify which address, interface, transport type and port(s) that you
#   want the agent to listen on.  Multiple definitions of this token
#   are concatenated together (using ':'s).
#   arguments: [transport:]port[@interface/address],...

agentaddress  172.16.10.88
agentaddress  172.16.10.88:161



###########################################################################
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# rwuser: a SNMPv3 read-write user
#   arguments:  user [noauth|auth|priv] [restriction_oid]

rwuser  root   

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  public  

# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rwcommunity  private  
rwcommunity  root
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.