Good news: I found the problem with the snmpd.conf file that was in
question.
There was a line at the bottom of the file, which I overlooked, as
follows:
#agentaddress 161
agentaddress 1161
I uncommented out the 'agentaddress 161' and commented out the
'agentaddress 1161' and now the snmpget
Dave,
Getting back to you on the packets that you requested
When I run using the snmpd.conf file I generated (the one that works), I
didn't see much in the way of packets. The first output below will show
this. However, further below, you'll see the output of packets from
using the snmpd.conf
On 21/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> FYI, the results of this startup are as follows:
>
> # . ./startup
> 1513
> Simple Test
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (176) 0:00:01.76
> When I run the 'startup' script using my coworker's snmpd.conf file, I
> get
P.S The result I posted in the previous email of running the 'startup'
script were results using the snmpd.conf file that I generated.
When I run the 'startup' script using my coworker's snmpd.conf file, I
get the following results:
# . ./startup
1523
Simple Test
Timeout: No Response from localh
Silly me!
For the snmpd.conf file I generated it's not:
rocommunity public .1.3.6.1.2.1.1
but rather:
rocommunity whatever
And the snmpget -c command works fine.
But when I use the snmpd.conf file my coworkder generated (in original
email) using community 'whatever' also, I get the timeout.
On 21/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> fyi, the conf file pasted earlier is one that a coworker devised on AIX
> using the snnpconf. However, interestingly, when I use the following
> snmpd.conf that I generated myself on Solaris, the 'snmpget -c '
> works fine.
Using wh
Thanks Ed/Dave
fyi, the conf file pasted earlier is one that a coworker devised on AIX
using the snnpconf. However, interestingly, when I use the following
snmpd.conf that I generated myself on Solaris, the 'snmpget -c '
works fine. Also, following the 'good' snmpd.conf file, Dave you will
see
On 21/12/2007, Kuczynski, Edward <[EMAIL PROTECTED]> wrote:
> We ran into a problem having both readonly and r/w in the conf file for v2.
> It wouldn't hurt to comment out the r/w and try again.
Would you care to expand on the problem you were seeing?
The usual issue with rw/ro clashes is when yo
We ran into a problem having both readonly and r/w in the conf file for v2.
It wouldn't hurt to comment out the r/w and try again.
Just a thought.
Ed
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, December 21, 2007 1:01 PM
On 21/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I was wondering if someone could take a quick look at my conf file below
> and see why when I do the following:
>
> /opt/emc/dist/local/usr/bin/snmpget -v 1 -c whatever localhost
> SNMPv2-MIB::sysUpTime.0
>
> I get the following error me
Hi,
I was wondering if someone could take a quick look at my conf file below
and see why when I do the following:
/opt/emc/dist/local/usr/bin/snmpget -v 1 -c whatever localhost
SNMPv2-MIB::sysUp
Time.0
I get the following error message:
Timeout: No Response from localhost.
This is assuming of
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Thomas Elsgaard
> Sent: Friday, December 21, 2007 1:46 AM
> When i am starting snmptrapd with the -t flag like this:
>
> /usr/local/sbin/snmptrapd -t -m ALL -n -Ls 7 -p
> /usr/local/sbin/snmptrapd.pid
>
> Then i am still get
On 21/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am using AdventNet SNMP API.
This list is for discussion of the Net-SNMP toolkit.
If you have a query about the AdventNet implementation,
then you should contact them directly. We cannot provide
support for other vendors' products.
Hi All,
I am using AdventNet SNMP API.
I have implemented to AES256 which is explained in the Internet Draft
http://tools.ietf.org/html/draft-blumenthal-aes-usm-04. Then I am successfully
query the agent with user is configured with AES256, the privacy key is 32
octets length. But the probl
On 21/12/2007, Jack G Atkinson Jr <[EMAIL PROTECTED]> wrote:
>> It sounds suspiciously as if the python inferface can't find the MIB
>> definitions. Where is this file installed?
>
> Do you mean the python file that has the OID?
No - the MIB file that defines the object adGenBridgeName.
Probably
On issue I see is the bind failed, so do you already have something running on
that socket?
And the duplicate registration is another problem.
I'd run ps -eaf |grep snmpd and kill -9 all of them and manually restart.
Look at your snmpd.conf file for the public entry.
Make sure you don't have th
I just installed NET-SNMP for the first time but can't seem to poll anything
from my sun server. I've been reading the how-to from
http://net-snmp.sourceforge.net/docs/README.solaris.html and
http://chinaitpower.com/2005September/2005-09-13/208314.html
but can't seem to find the reason why i'm
Dave Shield wrote:
> On 21/12/2007, Jack G Atkinson Jr <[EMAIL PROTECTED]> wrote:
>
>> What happens if you use
>>
>> var =
>> Varbind('ADTRAN-GENERIC-BRIDGE-MIB::adGenBridgeName.23940101')
>>
>> What about a fully numeric OID?
>>
>> When I used the one you suggested, it does the same thing: u
Everything seems to work now. My extension agent also works. It didn't
work yesterday because my init function name didn't comply with the
init_FILENAME rule. Thank you so much.
Cheers
/Pan
> On 21/12/2007, Xuan Pan <[EMAIL PROTECTED]> wrote:
>> > OK.
>> > Just to confirm - does
>> >"snmpget
On 21/12/2007, Jack G Atkinson Jr <[EMAIL PROTECTED]> wrote:
> What happens if you use
>
> var =
> Varbind('ADTRAN-GENERIC-BRIDGE-MIB::adGenBridgeName.23940101')
>
> What about a fully numeric OID?
>
> When I used the one you suggested, it does the same thing: unknown.
> The numeric oid works,
Dave Shield wrote:
> On 21/12/2007, Jack G Atkinson Jr <[EMAIL PROTECTED]> wrote:
>
>> var = Varbind('adGenBridgeName.23940101')
>> snmpget(var,Version=2,DestHost='192.168.15.1',Community='public')
>> error: get: unknown object ID (adGenBridgeName.23940101)
>>
>
> What happens if you use
>
On 21/12/2007, Xuan Pan <[EMAIL PROTECTED]> wrote:
> > OK.
> > Just to confirm - does
> >"snmpgetnext -v 1 -c public localhost ip"
> >
> > still return a noSuchName error?
>
> This one seems to work.
Good - that seems to be a change from earlier.
What happens if you try to query your extensio
> OK.
> Just to confirm - does
>"snmpgetnext -v 1 -c public localhost ip"
>
> still return a noSuchName error?
>
This one seems to work. It returns IP-MIB::ipForwarding.0 = INTEGER:
notForwarding(2)
and
snmpget -v 1 -c public localhost ipForwarding.0 also works (but not the
object ipForwardi
On 21/12/2007, Xuan Pan <[EMAIL PROTECTED]> wrote:
> You are right on the point that it did have a vendor supplied agent from
> SUSE. I tried to uninstall it by rpm -e net-snmp. But it some other
> libraries were dependent on net-snmp. So I tried to remove it without
> considering the dependency by
You are right on the point that it did have a vendor supplied agent from
SUSE. I tried to uninstall it by rpm -e net-snmp. But it some other
libraries were dependent on net-snmp. So I tried to remove it without
considering the dependency by rpm -e --nodeps net-snmp. That command
succeeded. I am not
On 21/12/2007, Xuan Pan <[EMAIL PROTECTED]> wrote:
> To start up the daemon I use:
> /usr/local/sbin/snmpd -d -Le
Can you please try using
/usr/local/sbin/snmpd -f -Le
instead.
Shut down the agent, then restart it using this command.
What output do you see?
> I think the snmpd.conf file us
Hello net-snmp users
When i am starting snmptrapd with the -t flag like this:
/usr/local/sbin/snmptrapd -t -m ALL -n -Ls 7 -p
/usr/local/sbin/snmptrapd.pid
Then i am still getting the traps into syslog-ng
How can that be?
///Thomas
---
To start up the daemon I use:
/usr/local/sbin/snmpd -d -Le
I think the snmpd.conf file used by the daemon should be located in
/usr/local/share/snmp/snmpd.conf which contains the following information:
rocommunity public
rwcommunity private
sysservice 79
One thing I found out this morning that I
Ok, thank you again.
Randy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
Sent: Wednesday, December 19, 2007 4:03 AM
To: Smith, Randy
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Bad operator (♥): At line 1 in
/opt/emc/dist/local/usr/
Thomas,
this shows (hope this means something)
more snmp-test-56-*/*
::
snmp-test-56-1284/invoked
::
snmpd -d -r -U -p /tmp/snmp-test-56-1284/snmpd.pid -Lf
/tmp/snmp-test-56-1284/snmpd.log -C -c /tmp/snmp-test-56-1284/snmpd.conf
udp:localhost:8767
snmpget -On -d -c
On 21/12/2007, Jack G Atkinson Jr <[EMAIL PROTECTED]> wrote:
> var = Varbind('adGenBridgeName.23940101')
> snmpget(var,Version=2,DestHost='192.168.15.1',Community='public')
> error: get: unknown object ID (adGenBridgeName.23940101)
What happens if you use
var = Varbind('ADTRAN-GENERIC-BRIDGE-M
On 20/12/2007, Xuan Pan <[EMAIL PROTECTED]> wrote:
> snmpgetnext -v 1 -c public localhost ip
> snmpgetnext -v 1 -c public localhost .1.3.6.1.4
> They too return noSuchName errors.
Then this is almost certainly an access control problem.
The agent that you are running is probably picking up
a vendo
32 matches
Mail list logo