[Fwd: Re: About NETSNMP...Problem]

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
-------------------------------------------------- Original Message --------------------------------------------------
Subject: Re: About NETSNMP...Problem
From:    [email protected]
Date:    Tue, February 2, 2010 5:45 pm
To:      "Dave Shield" <[email protected]>
----------------------------------------------------------------------------------------------------------------------

hello sir,

i started agent generally using net start "net-snmp agent"
and stop using  "net stop "net-snmp agent" the commands.


But ,as you told, i started using the below

snmpd -f -d -Dread_config  -c:/usr/share/snmp/snmpd.conf

The output of this is attached as a word file to this mail(mail3.doc).
also i attached one more file consists of  step by step configuration of agent(mail2.doc).


while configuring agent some errors are cominglike below

substr outside of string at C:/Perl/lib/Term/ReadLine/readline.pm line 1976.
Use of uninitialized value $s in length at C:/Perl/lib/Term/ReadLine/readline.pm  line 1785.


You can find out this in mail2.doc

Kidly find the attachments and help me inthis regard.

i would be very greatful...
Thnk you

with best regards
ganesh yellapu



> On 2 February 2010 08:48,  <[email protected]> wrote:
%25250A>> now the snmpd.conf conatains only the below.
>>
>>    rocommunity public localhost
>>
>> i have kept the snmpd.conf file at c%3A\usr\share\snmp\ and c:\usr\etc\snmp\
>>
>> i re-started the agent.
>>
>> I tried the following.
>>
>> C:\>snmpget -v 2c -c public localhost system.sysDescr.0
>
> That should have worked.
>
>
>> At the sametime log file (c:\usr\log\snmpd.log) contains the below.
>>
>> Warning: no access control information%20configured.
>> It is unlikely this agent can serve any useful purpose in this state.
>
> Hmmmm....
> Given the snmpd.conf file contents listed above,
> you shouldn't be seeing that message.
>
>
> How are you starting the agent?
> Try re-running the agent with the option "-Dread_config" (plus the
> existing startup flags).
>
> What is logged about reading the config file?
>
> Dave
>



Confidentiality Notice

The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain confidential or privileged
information. If you are not the intended recipient, please notify
the sender at Bharat Electronics  or [email protected] immediately
and destroy all copies of this message and any attachments.


Confidentiality Notice

The information contained in this electronic message and any 
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain confidential or privileged 
information. If you are not the intended recipient, please notify
the sender at Bharat Electronics  or [email protected] immediately
and destroy all copies of this message and any attachments.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

_______________________________________________
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
mail2.doc (application/msword, 28 KB) - not displayed
mail3.doc (application/msword, 37 KB) - not displayed
snmpd.conf (application/octet-stream, 550 B)
###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

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

rocommunity  public localhost
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.