Dear all
I like to forward SNMPv3 traps from one notification receiver (snmptrapd) to
another. I have the following simple config:
receiver1:
createUser boris SHA borisboris AES borisboris
authUser log,execute,net boris noauth
forward default localhost:3000
snmpTrapdAddr 0.0.0.0:2000
receiv
Dear all
I'm looking for a way to receive v2 informs with snmptrapd and forward them as
v3 informs to another trap receiver.
I did not find a way to do this with netsnmp, as the forward directive does not
support any snmpoptions.
Can this be done somehow?
A solution might be, to pass the v2
Hi
In our setup, we have multiple devices which are managed by two NMS, where
only one is active (second is for standby).
I'm looking for a possibility to send traps automatically to back to the
current 'client' of the agent (instead of hardcoded trap receivers in
snmpd.conf). Is this supported b
specified in
the env variable SNMP_PERSISTENT_FILE?
(I also tried SNMP_PERSISTENT_DIR and persistentDir in snmpd.con and it did not
work either)
Thanks
Boris
Am 26.06.2011 um 12:18 schrieb Boris Zweimueller:
> Thanks for your advice!
>
>
> Am 24.06.2011 um 01:32 schrieb
rtfm :-)
snmpd -I-notification_log ...
did it (FAQ agent 04..)
Boris
2011/6/27 Boris Zweimueller
> Thanks for the idea!
>
> But, when I register snmptrapd under the default context as suggested, the
> agent gives the following errors:
>
>
> duplicate registration (nlmC
' the notification log tables on the agent x master?
Thanks
Boris
2011/6/24 Wes Hardaker
> >>>>> On Wed, 22 Jun 2011 17:01:02 +0200, Boris Zweimueller <
> bo...@zweimueller.ch> said:
>
> BZ> Can I do this with the proxy ?
>
> I think you could, yes, but i
> SNMPv3 users are intended to be set up in the persistent file, so that
> the initial configuration
> can be replaced by the current setup. If you are creating the
> initial user in the static file,
> then this will mask the settings read in later from the persistent file.
>
Thanks for the hin
Thanks for your advice!
Am 24.06.2011 um 01:32 schrieb Wes Hardaker:
>>>>>> On Thu, 23 Jun 2011 10:34:41 +0200, Boris Zweimueller
>>>>>> said:
>
> BZ> Is there a way that users which have been configured with the
> BZ> *snmpusm *comman
Hi all
Is there a way that users which have been configured with the *snmpusm *command
dynamically still exist after restarting the agent?
Can the content of these tables be saved somehow?
What I need to do ist the following:
- The device is initially shipped with a default user/password.
- T
Hi all
How can I define the 'default' context in a proxy-rule?
I do the following:
I have an agent A with agentx enabled.
An instance of snmptrapd connects to this agent.
Traps received by snmptrapd are logged perfectly into the nlmLogTable of the
Agent A under the context 'snmptrapd', such th
Many thanks
Boris
2011/4/24 Dave Shield
> On 21 April 2011 08:44, Boris Zweimueller wrote:
> >> Could you please post the rest of the header files (ttfCfgTable.h and
> >> ttfCfgTable_checkfns.h).I can't really attempt to reproduce the
> >> problem wit
ual Convention: RowStatus
Values: active(1), notInService(2), notReady(3),
createAndGo(4), createAndWait(5), destroy(6)
2011/4/21 Boris Zweimueller
> Sure, here they are!
>
> Thanks
>
> Boris
>
>
> 2011/4/21 Dave Shield
>
>> On 21 April 2011 05:47,
Sure, here they are!
Thanks
Boris
2011/4/21 Dave Shield
> On 21 April 2011 05:47, Boris Zweimueller wrote:
> > Attached are the relevant excerpt of the MIB (Descriptions removed for
> size)
> > and the generated files ttfCfgTable.c and ttfCfgTable_columns.h
>
> Could
Hi all
In my setup, a specific configuration of my agent is done with sequences of
consecutive SNMP set commands. It is important, that they come all together.
It must not be possible, that another management console can configure
something in between.
How can this be realized? I thought of som
It finally worked! Thanks a lot for your help.
Boris
Am 01.04.2011 um 14:31 schrieb Dave Shield:
> On 31 March 2011 14:40, Boris Zweimueller wrote:
>> As I have an agent which only understands v2 with a specific community
>> string I tried the following:
>> (Just for tes
alling the remotehost directly with
snmpget -v2c -c public remotehost sysContact.0
works.
Anybody nows what I do wrong?
Thanks a lot
Boris
2011/3/28 Dave Shield
> On 27 March 2011 13:29, Boris Zweimueller
> wrote:
> > Instead of using an snmp v2 context (-c)
>
> The
Hi all
In the netsnmp wiki there is an example of how to configure the proxy if
proxying is used with multiple devices with the same oid.
Instead of using an snmp v2 context (-c) I want to use the snmp v3
contextName/contextEngineId (-n). Does this work accordingly?
E.G.
having the folloginw
perfect, thank you!
Boris
2010/10/11 Dave Shield
> On 11 October 2010 13:51, Boris Zweimueller
> wrote:
> > the generated c code for this object ist:
> >
> > /** Check the ranges of the passed value for legality */
> > if ( !(*val >= 54 &&
Hi all,
in our MIB we have the following definitions (only the important parts are
shown):
UsnFunctionGroup ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"xxx"
SYNTAX INTEGE
Hi all
I have an agent inserting all created traps into the nlmLogTable
(NOTIFICATION-LOG-MIB).
These traps are not directly sent to the NMS but catched locally by an
snmptrapd instance, which filters some of the traps out, and forwards the
remaining ones to the NMS.
If the NMS looks up the nlmL
agent
where it originally came from. Thats why I'd like to compare 'sender'
addresses.
So, assume I have a really really good reason:-) to do this, where exactly
is the information in the transport array?
thanks
2010/6/29 Wes Hardaker
> >>>>> On Tue, 29 Jun
Hi all,
how can I find out the sender of a pdu?
I noticed that in the pdu->transport_data array at positions 4-7 and 16-19
ip addresses are stored. It seams that the positions 4-7 store the senders
ip, but is this really correct? Is there a better way to find out the
senders address out of a pdu?
I've had a look at the snmptrapd code... I gues the easiest way to go would
anyhow be to extend snmptrapd with a new handler and let this handler do the
additional work.
2010/6/18 Boris Zweimueller
> Thanks for your help. I do not need it as commandline argument but as code.
> I ma
it must be a solution for all traps.
Any ideas on how to solve this are greatly appreciated!
Thanks
Boris
2010/6/18 Dave Shield
> On 18 June 2010 09:25, Boris Zweimueller
> wrote:
> > I'm looking for a way to convert the BITS datatypes string representation
> > b
Hi all
I'm looking for a way to convert the BITS datatypes string representation
back to an int
e.g.
BITS value = 0, its string value = "80 00 "
BITS value = 2, its string value = "20 00 "
BITS value = 11, its string value = "00 10 "
BITS value = 15, its string value = "00 01 "
BITS value =
TARGET-MIB::snmpTargetAddrRowStatus.'mytrap2'
Strangely it works for the snmpTargetParamsTable.
this
snmpset -v 3 -u boris localhost
SNMP-TARGET-MIB::snmpTargetParamsRowStatus.\'mytrap2\' i 5
works perfectly.
I really don't know that to do..
Boris
2010/6/10 Dave Shield
> On 10 June
ength from what the agent
expects)
Failed object: SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'index'
I think there must be something wrong with the SnmpAdminString type index.
How do I have to do this?
Thanks a lot
Boris
2010/6/10 Dave Shield
> On 10 June 2010 10:29, Boris Zweim
Hi all
I'm looking for a possibility to configure trap targets dynamically. As
suggested in another Thread I try setting the appropriate values in the
corresponding tables.
Because I have defined one traptarget in my snmpd.conf file, which appears
correctly in the snmpTargetAddrTable as shown bel
ore? Did I miss
something?
Interestingly, on the first start, it does not matter, if I start the proxy
or the agent as first program...
Thanks for any help
Boris
2010/5/20 Dave Shield
> On 20 May 2010 11:10, Boris Zweimueller wrote:
> > If you don't mind I have just one more quetsion re
> Well, a router would typically also report information such as traffic
> statistics,
> and maybe environmental information (such as operating temperature or
> fan speed). If you've got two physical boxes, then the sensor information
> could easily be different. And traffic statistics could eas
Thanks for your answers!
2010/5/20 Dave Shield
> On 19 May 2010 22:01, Boris Zweimueller
> wrote:
> >> - I don't know how you'd want to handle receiving different answers from
> >> - the parralel proxied agents, but the above should be a workable
> ar
the
> proxy_handler. I have not been able to figure out how exactly this doublicate
> entries are removed from the processing list in the agent_registry. Could you
> give me a hint? Thanks a lot!
>
> Boris
>
>
> Am 19.05.2010 um 09:37 schrieb Dave Shield:
>
>>
Hi all
I have the following scenario:
One master agent with several subagents running on one device. The master acts
solely as a proxy, forwarding snmp requests to the subagents.
I now have a new requirement:
For failover reasons, the hardwares device is doubled. Failure of one device
should
33 matches
Mail list logo