snmpv3 inform remote-engine-id and snmptrapd.conf

2020-11-27 Thread SURYA T S
I am trying snmp trap and inform with the V3 version. snmpv3 trap is working for me when I configured agent local engine id[0x8b8503e0071bc9413c], in snmptrapd.conf of my workstation/vm(host) [switch]agent-netsnmp 5.8 -- [vm]host-netsnmp 5.7.2 SNMP TRAP >>>

snmpv3 inform remote-engine-id and snmptrapd.conf

2020-11-27 Thread SURYA T S
SURYA T S has sent you an email via Gmail confidential mode: [image: Gmail logo]snmpv3 inform remote-engine-id and snmptrapd.conf <https://confidential-mail.google.com/msg/AF-DAF219uxZUHyR3O1Yft843cAG70bLD2bhIK2YPgl82fsVdDWn-CfkTv4I95zu1L2zN12

Re: change required in man page for snmptrapd.conf

2014-04-08 Thread Mohan Gorai
Hi Niels, On March 11, 2014 02:07:02 AM IST, Niels Baggesen wrote: > Den 03-03-2014 06:30, Mohan Gorai skrev: >> But the actual output is like below. >>> Host: hostname*** (UDP: [xx.xx.xx.xx]:xxx) >>> DISMAN-EVENT-MIB::sysUpTimeInstance 13:0:54:35.94 >>> SNMPv2-MIB::snmpTra

Re: change required in man page for snmptrapd.conf

2014-03-10 Thread Niels Baggesen
Den 03-03-2014 06:30, Mohan Gorai skrev: > But the actual output is like below. >> Host: hostname*** (UDP: [xx.xx.xx.xx]:xxx) >> DISMAN-EVENT-MIB::sysUpTimeInstance 13:0:54:35.94 >> SNMPv2-MIB::snmpTrapOID.0 >> SNMPv2-SMI::enterprises.42.9.0.99 >> SNMPv2-SMI::enterp

change required in man page for snmptrapd.conf

2014-03-10 Thread Mohan Gorai
Hi, The current manpage of snmptrapd.conf doesn't have the right information. The current manpage has the following information. as per RFC 2576, before being passed to the program. The input format is as follows, one entry per line: HOSTNAME The name o

snmptrapd.conf

2010-07-30 Thread balakrishna
hi, i want to confiugre snmptrapd.conf how to do that i want to manage the parameters of our nic card link up's & down. where the confiugraion file located & how to configure. can anybody plz tel me. -- thank

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-27 Thread Wes Hardaker
> On Thu, 27 May 2010 10:54:25 +0530, Tony Thomas > said: TT> [Tony] Did you mean use a known engineID for subagent? The system TT> has many elements, each containing a subagent. As a solution to this TT> problem, I tried to use a known common engine ID by subagents in all TT> elements.

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Tony Thomas
Hi Dave and Wes, Thank you for your suggestions! Please see my comments below: << a) configure the new element to send an INFORM notification rather than a trap. [Tony] It is a system requirement to support both Trap and Inform as defined by operator. << b) configure the new element to use an

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Wes Hardaker
> On Wed, 26 May 2010 16:14:19 +0530, Tony Thomas > said: TT> As per system requirements, the new element must be added to system TT> without user intervention (not possible to manually configure the TT> engineID in master element). Dave's answer is already perfect. But I'll add one mo

Re: Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Dave Shield
On 26 May 2010 11:44, Tony Thomas wrote: > In my system, when a new element is added to the network, the subagent in it > sends a notification (V3 trap) to the master agent in the network using its > unique engineID. As per the tutorial, I understand that the snmptrapd.conf > sho

Configure engineID in snmptrapd.conf without restarting snmptrapd service

2010-05-26 Thread Tony Thomas
- user details with engineID details should be configured in snmptrapd.conf to receive SNMP v3 trap. In my system, when a new element is added to the network, the subagent in it sends a notification (V3 trap) to the master agent in the network using its unique engineID. As per the tutorial, I

Re: Configuring snmptrapd.conf

2010-02-11 Thread Dave Shield
On 11 February 2010 07:06, Prakash wrote: > How to configure the snmptrapd.conf to send traps to remote SNMP > Managers/Clients. man snmptrapd.conf Look for the section describing the "forward"

Configuring snmptrapd.conf

2010-02-10 Thread Prakash
Hi All, How to configure the snmptrapd.conf to send traps to remote SNMP Managers/Clients. My current configurations file has the following lines. disableAuthorization yes traphandle .1.3.6.1.4.1.2021.991.17 /usr/bin/perl /home/prakash/snmp/traps/traphandler.pl traphandle default /usr/bin/perl

Re: Partial OID matching in snmptrapd.conf

2006-09-25 Thread Dave Shield
On 25/09/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > > "DS" == Dave Shield <[EMAIL PROTECTED]> writes: > > TS> Is there a subtle (or not so, for any shell addicts) difference between > TS> "oid.*" (doesn't match oid itself?) and "oid*" (matches oid > TS> itself?) > > Oh, sorry... missed the

Re: Partial OID matching in snmptrapd.conf

2006-09-24 Thread Wes Hardaker
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes: TS> Is there a subtle (or not so, for any shell addicts) difference between TS> "oid.*" (doesn't match oid itself?) and "oid*" (matches oid TS> itself?) Oh, sorry... missed the point there. I'd said oid.* == oid* and both match oid or oid...

Re: Partial OID matching in snmptrapd.conf

2006-09-24 Thread Wes Hardaker
> "DS" == Dave Shield <[EMAIL PROTECTED]> writes: DS> Do we want to distinguish between these two cases? I can code it DS> either way. Is this sort of flexibility worth supporting? I'd document oid.* and accept oid*, personally... "liberal in what you accept" and all. -- Wes Hardaker Spar

Re: Partial OID matching in snmptrapd.conf

2006-09-24 Thread Dave Shield
OK - I've got a patch implementing the OID.*-style syntax waiting to be applied when I get to work in the morning. There's just one issue outstanding: TS> Is there a subtle (or not so, for any shell addicts) difference between TS> "oid.*" (doesn't match oid itself?) and "oid*" (matches oid itsel

Re: Partial OID matching in snmptrapd.conf

2006-09-24 Thread Dave Shield
On 24/09/06, Wes Hardaker <[EMAIL PROTECTED]> wrote: > Dave, I think the oid.* is farther underwater because it's heavier at > this point. Got time to put it in place quickly? Shouldn't be hard > (stripping it off before passing it to snmp_parse_oid) I'll see what I can do before the American co

Re: Partial OID matching in snmptrapd.conf

2006-09-24 Thread Wes Hardaker
> "MF" == Magnus Fromreide <[EMAIL PROTECTED]> writes: >> Hmmm >> So we've now got two preferences for '-p', and somewhere between two >> and three for 'oid.*'. That's not exactly a clear consensus either >> way :-( >> >> Come on people - speak up! MF> oid.* MF> Also, I do consider i

Re: Partial OID matching in snmptrapd.conf

2006-09-24 Thread Magnus Fromreide
On sön, 2006-09-24 at 09:19 +0100, Dave Shield wrote: > On 21/09/06, Robert Story <[EMAIL PROTECTED]> wrote: > > So, I'm looking for a preferred ordering from as many people as possible. > > > Hmmm > So we've now got two preferences for '-p', and somewhere between two > and three for 'oid.*'.

Re: Partial OID matching in snmptrapd.conf

2006-09-24 Thread Dave Shield
On 21/09/06, Robert Story <[EMAIL PROTECTED]> wrote: > So, I'm looking for a preferred ordering from as many people as possible. Hmmm So we've now got two preferences for '-p', and somewhere between two and three for 'oid.*'. That's not exactly a clear consensus either way :-( Come on peop

Re: Partial OID matching in snmptrapd.conf

2006-09-21 Thread Alex Burger
> On Tue, 19 Sep 2006 00:12:37 +0200 Thomas wrote: > TA> > WH> Robert> If so, would could use a new token, or require an extra > TA> > WH> Robert> parameter to turn on partial matching. But I couldn't > think > TA> > WH> Robert> of any off the top of my head. I vote for oid.*. Alex ---

Re: Partial OID matching in snmptrapd.conf

2006-09-21 Thread Wes Hardaker
> "TA" == Thomas Anders <[EMAIL PROTECTED]> writes: TA> There seems to have been a 2:1 for applying the patch as-is, back then. Oh, and FYI you were misreading my vote I think. It would have been 1:2 with my hard-to-read-negativity correctly interpreted. ;-) -- Wes Hardaker Sparta, Inc. -

Re: Partial OID matching in snmptrapd.conf

2006-09-21 Thread Wes Hardaker
> "RS" == Robert Story <[EMAIL PROTECTED]> writes: RS> -p RS> -t RS> oid.* Honestly, I don't care that much. I simply required a signaling mechanism. I'm fine with any of those. I do agree that oid.* is more intuitive for the users. And as long as we document that oid.*.oid isn't legal, I

Re: Partial OID matching in snmptrapd.conf

2006-09-21 Thread Thomas Anders
Dave Shield wrote: > oid.* > [...] > A simple trailing wildcard is intuitively obvious IMO Is it a simple trailing wildcard? Or rather a period and a wildcard? :-) Is there a subtle (or not so, for any shell addicts) difference between "oid.*" (doesn't match oid itself?) and "oid*" (matches oid it

Re: Partial OID matching in snmptrapd.conf

2006-09-21 Thread Dave Shield
> So this feature is in, with a '-t' flag to indicate partial matching. > Apparently 't' is for 'tree'. I think '-p' for partial/prefix is more > intuitive, That illustrates my objection perfectly. Either choice is fairly logical, so the use has to try and remember (or look up) what the exact opt

Re: Partial OID matching in snmptrapd.conf

2006-09-21 Thread Robert Story
On Tue, 19 Sep 2006 00:12:37 +0200 Thomas wrote: TA> > WH> Robert> If so, would could use a new token, or require an extra TA> > WH> Robert> parameter to turn on partial matching. But I couldn't think TA> > WH> Robert> of any off the top of my head. TA> TA> There seems to have been a 2:1 for apply

Re: Partial OID matching in snmptrapd.conf

2006-09-18 Thread Thomas Anders
Robert Story (Coders) wrote on 2004-05-11: > On Tue, 11 May 2004 08:26:37 -0700 Wes wrote: > WH> > On Mon, 10 May 2004 22:23:59 -0400, Robert Story (Coders) > WH> > WH> Robert> I like the idea, and think we could probably squeeze this into > WH> Robert> 5.2. Can anyone think of any potential b

Re: 5.3 no snmptrapd.conf, no fun?

2005-12-17 Thread Dave Shield
> after Dave's well-perceived rewrite the 5.3 snmptrapd.conf(5) now > strongly says: > IMPORTANT >[...] If snmptrapd is run without a configuration >file, then such traps WILL NOT be processed. See the section ACCESS >CONTROL for more detai

5.3 no snmptrapd.conf, no fun?

2005-12-16 Thread Thomas Anders
-Coders, after Dave's well-perceived rewrite the 5.3 snmptrapd.conf(5) now strongly says: IMPORTANT [...] If snmptrapd is run without a configuration file, then such traps WILL NOT be processed. See the section ACCESS CONTROL for more details. However, I don&#x

Re: Unable to invoke my external program specified in snmptrapd.conf

2005-10-19 Thread Dave Shield
On Wed, 2005-10-19 at 09:46 +0530, Krishna Mohan wrote: > I've added sinks in snmpd.conf like : > trapcommunity public > trapsink172.16.15.34 > trapsink KrishnaMohan > trap2sink KrishnaMohan > informsink KrishnaMohan Why oh why do you want *THREE* copies of every tra

Re: Unable to invoke my external program specified in snmptrapd.conf

2005-10-19 Thread Krishna Mohan
Thanq very much It's working fine. Regards KM On Wed, 2005-10-19 at 10:40, Wes Hardaker wrote: > On 19 Oct 2005 09:46:46 +0530, Krishna Mohan <[EMAIL PROTECTED]> said: Krishna> traphandle default /usr/local/bin/traptoemail/ [EMAIL PROTECTED]

Re: Unable to invoke my external program specified in snmptrapd.conf

2005-10-18 Thread Wes Hardaker
> On 19 Oct 2005 09:46:46 +0530, Krishna Mohan <[EMAIL PROTECTED]> said: Krishna> traphandle default /usr/local/bin/traptoemail/ [EMAIL PROTECTED] ^ ^

Re: Unable to invoke my external program specified in snmptrapd.conf

2005-10-18 Thread Krishna Mohan
Dear Wes Hardaker Thanq for ur response. I've added traptoemail in my snmptrapd.conf file like this : traphandle default /usr/local/bin/traptoemail/ [EMAIL PROTECTED] Here I prefer defaults :-  -f FROM  root  -s SMTPSERVER localhost, b'cos i'm executing snmpd & snmptra

Re: Unable to invoke my external program specified in snmptrapd.conf

2005-10-18 Thread Wes Hardaker
> On 18 Oct 2005 19:08:23 +0530, Krishna Mohan <[EMAIL PROTECTED]> said: Krishna> "traphandle default /usr/bin/krsna.pl" Krishna> It's a perl script which gives message "u have recved a trap" Krishna> infinite times. Can you tell us more about what it's doing? It certainly should work. See

Unable to invoke my external program specified in snmptrapd.conf

2005-10-18 Thread Krishna Mohan
Dear All, I'm able to receive traps using snmptrapd in /var/log/messages. However, I'd like snmptrapd to invoke my external program so as to alert me on receipt of trap. In snmptrapd.conf i have written this directive "traphandle default /usr/bin/krsna.pl" It's

Re: Need help regarding snmptrapd.conf

2005-01-27 Thread Alex Burger
Re: Need help regarding snmptrapd.conf [EMAIL PROTECTED] wrote: hi friends , Is it possible to send the name of the interface as an argument to the perl script we call in TRAPHANDLE command?? I have something like this in my snmp

Re: Need help regarding snmptrapd.conf

2005-01-27 Thread RajChandrasekaran
et Subject Re: Need help regarding snmptrap

Re: Need help regarding snmptrapd.conf

2005-01-24 Thread Alex Burger
[EMAIL PROTECTED] wrote: hi friends , Is it possible to send the name of the interface as an argument to the perl script we call in TRAPHANDLE command?? I have something like this in my snmptrapd.conf file and it works fine . traphandle IF-MIB::linkDown /home/rchand/mail/sendmail.pl

Need help regarding snmptrapd.conf

2005-01-24 Thread RajChandrasekaran
hi friends , Is it possible to send the name of the interface as an argument to the perl script we call in TRAPHANDLE command?? I have something like this in my snmptrapd.conf file and it works fine . traphandle IF-MIB::linkDown /home/rchand/mail/sendmail.pl down But i also like to