Hi!
We have written our own AgentX C++ subagent library and are testing it
against net-snmp snmpd.
We found the following:
If we try to send an agentx Notify-PDU containing the varbinds
snmpTrapOid.0 = anyOid
.2.1 = [OctetString: "test" ]
and have the include bit cleared in all Oids then the re
Mukherjee, Arijit (Arijit) wrote:
All,
Managed to get myself stuck again:(
I have got quite a few mib modules that use shared memory. Updating these
for int is not a big deal. However, for char * I am in trouble - I can keep
the pointers in the shared memory - but not the memory that they p
> If I do a set command on an oid that is marked as read-only in the MIB file,
> should the agent handle the wrong call or should snmpd catch it before the
> agent is even run?
I presume by "agent" you actually mean "subagent" ?
(since snmpd *is* the SNMP agent)
In which case, William is quite
Sorry, Paul - this is nothing to do with scalar instances,
or the difference between "snmpget" and "snmpwalk"
It's down to the particular MIB object(s) involved
> If I an snmpwalk -O n (blah blah), it returns:
> .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.8072.3.2.3
In other words:
SNMPv
> When I do:
> enterprises.myBranch.main.myTable.myEntry.myIndex.5
> snmpset -v1 -c private -m all localhost .1.3.6.1.4.1..1.4.1.1.5
>
> myIndex does have a STATUS of 'read-only'.
But the core agent driving code doesn't know that.
It's up to the "subagent" (i.e. the pass-script) to reject
an
Hi,
I am not able to get through the point. Can you please explain a little
bit more on my question..
Thanx and Regards!
Tina
- Original Message -
From: "C Wells" <[EMAIL PROTECTED]>
To: "net-snmp-users" <[EMAIL PROTECTED]>
Sent: Wednesday, August 11, 2004 8:35 PM
Subje
hi
I'm dealing with the local/passtest "pass" example script
it is quite clear to understand, however I get some strange behavior,
that I, unhappily, cannot describe better than "sometimes works,
sometimes doesn't"
I am running net snmp 5.1.1 on FreeBSD 4.10.
When I do a simple snmpget request,
I'm new to net-snmp and MRTG but I'm working my way through it.
I have a question about the UCD-SNMP-MIB. I'm not seeing some of the
available OIDs -- like memory [.4] -- and am wondering if I have to add
something more to my snmpd.conf file to gain access to them.
Here is what my snmpd.conf
> I have a question about the UCD-SNMP-MIB. I'm not seeing some of the
> available OIDs -- like memory [.4] -- and am wondering if I have to add
> something more to my snmpd.conf file to gain access to them.
> This is running on Mac OS X 10.3.5.
It's more likely that the agent simply doesn'
Ah, I hate when that happens...Thanks for the correction. Should
have checked my own Solaris boxen...
Paul
>>> "Dave Shield" <[EMAIL PROTECTED]> 08/12/04 4:20 AM >>>
Sorry, Paul - this is nothing to do with scalar instances,
or the difference between "snmpget" and "snmpwalk"
It's down to the pa
Hi,
My subagent(Trap & notification) is crashing with core dump.This
happens when a large number of alarms(600/sec) is pumped to the
subagent.
Net-snmp version : net-snmp-5.1.1-1.
---
SF.Net email is sponsored by Shop4tech.com-Lowest price
I have built and installed snmp, and have started snmpd. When I attempt
anything like:
% snmpwalk localhost public system
I get the following error:
Timeout: no response from localhost.
My config file is very basic (I haven't even changed the community name to
something other then public yet). C
That results in the same error.
From: John Blake <[EMAIL PROTECTED]>
To: 'Marlena Miller' <[EMAIL PROTECTED]>
Subject: RE: no response
Date: Thu, 12 Aug 2004 14:50:36 -0400
try snmpwalk -c public localhost system
-Original Message-
From: Marlena Miller [mailto:[EMAIL PROTECTED]
Sent: Thu
I am doing everything on the local machine.
From: John Blake <[EMAIL PROTECTED]>
To: 'Marlena Miller' <[EMAIL PROTECTED]>
Subject: RE: no response
Date: Thu, 12 Aug 2004 14:57:11 -0400
Can you ping the box you are trying to do snmp to?
-Original Message-
From: Marlena Miller [mailto:[EMA
Sometimes, the localhost is not configured. You can run ifconfig on unix to see
if local loopback is there. If it's not use ifconfig lo 127.0.0.1
That's what fixed it for me.
Susan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marlena Miller
Sent: Thur
Yes, snmpd is running. What should I specifically be looking to check in the
.conf file?
From: John Blake <[EMAIL PROTECTED]>
To: 'Marlena Miller' <[EMAIL PROTECTED]>
Subject: RE: no response
Date: Thu, 12 Aug 2004 15:01:50 -0400
And the snmpd is running?
If it is, reverify the .conf
-Orig
Here is the community and permissions part of the snmpd.conf file:
# First, map the community name (COMMUNITY) into a security name
# (local and mynetwork, depending on where the request is coming
# from):
# sec.name source community
com2sec local localhost public
com
What platform are you on? Are there any competing SNMP daemons?
>% snmpwalk localhost public system
>I get the following error:
>Timeout: no response from localhost.
This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal an
I am on Linux. There are no competing SNMP daemons.
From: Bruce Shaw <[EMAIL PROTECTED]>
To: 'Marlena Miller' <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: RE: no response
Date: Thu, 12 Aug 2004 13:39:06 -0600
What platform are you on? Are there any competing SNMP daemons?
>% snmpwalk localh
My localhost is configured. The local loopback is there when I run ifconfig.
I also tried 127.0.0.1 in the snmpwalk command. That gave me the same error.
I can ping both localhost and 127.0.0.1, but can't get a response when I use
them in the snmpwalk (or get, or set) command.
From: "Reitberge
Perform ps -A to see if the agent is running. How did you build the agent
V2,V1?
Thanks,
Garyc
- Original Message -
From: "Marlena Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 12, 2004 2:19 PM
Subject: RE: no response
> Yes, snmpd is
Hi,
It looks like Net-SNMP (running v2c) does not respond to input pdu's with
the wrong community string, the request just times out. I understand that
this is for security - is there a way to get it to respond with an error? I
know about the "authtrapenable" config value, but in reading the RF
Hi,
In my previous mail I forgot give the complete details.The subagent
crashes when burst of alarms is pumped in to the agent(600alarms/sec).
The server and the proxy agent(Trap and Notification) is running in the
same machine (DELL machine P4 HT , Linux RedHat 9), sub-agent is not
crashing when
23 matches
Mail list logo