Trap on delta difference

2024-03-19 Thread Gowtham
Hi I need to raise a mteTrigger trap when the IF-MIB::ifInErrors per minute go beyond 10 on all the interfaces. So tried the below config in snmpd.conf monitor -S -D -r 60 "Network inErrors" ifInErrors 9 10 This sends a mteTriggerRising trap if the ifInErrors increase by 10 in t

Tutorials for Intermediate Table and trap notifications

2023-10-17 Thread Prankur Chauhan
Dear SNMP team, Referring to the mib2c mfd tutorial for IF-MIB was helpful to understand the read-only attributes/columns of the IF-MIB::ifTable. What I also wanted to understand the setting of values / adding new rows (as you guys mentioned in the Intermediate table tutorial) but I could not fin

Net SNMP not sending ifup trap

2021-07-27 Thread Kiran Kumar Pamula -X (kpamula - HCL TECHNOLOGIES LIMITED at Cisco) via Net-snmp-users
Hi Experts, We are using Netsnmp version: 5.7.2-37.el7 in one of our product, and looking for your assistance on below enquiry. We have environment, where net snmp not sending clear trap when interface is come up. Issue is seen even if we are doing simple operations like below: ifup eth2 ifup

Documentation on how to setup SNMP trap receiver?

2021-06-03 Thread Dachshund Digital
Documentation on how to setup SNMP trap receiver?  When I go to the official web page I get the following?  Really?  So where is the documentation? Not yet written (sorry) Valid CSS! <http://jigsaw.w3.org/css-validator/validator?uri=http://www.net-snmp.org/layout1.

OID description vs user readable trap description

2021-05-20 Thread Russell Weber
I'm executing the snmp traps as follows. /usr/sbin/snmptrapd -LOw -Lf /var/log/snmp-traps.log -f -p /run/snmptrapd.pid -F '%02.2h:%02.2j TRAP%w.%q from %A %a %W \n' However, I'm getting the following logged to /var/log/snmp 19:19 TRAP6..262402 from i-silver.localdomain 10

Net-snmp doesn't have transport layer for FQDN as trap receiver address

2021-04-30 Thread PRASAD VALMETI
Hello, We have integrated net-snmp into our application that runs on an embedded system and uses net-snmp to send traps to user configured trap receivers. It works fine with the configured IP address as trap receivers. Now, we have enhanced our system so that users can configure FQDN as well for

RE: trap changes made for VRF

2021-02-11 Thread Joan Landry
Subject: Re: trap changes made for VRF External email: [bart.vanass...@gmail.com] Hi Joan, Did this help? Thanks, Bart. On 1/12/21 5:46 PM, Bart Van Assche wrote: Hi Joan, Please try the following: git clone g...@github.com:net-snmp/net-snmp.git<mailt

Re: trap changes made for VRF

2021-02-10 Thread Bart Van Assche
rs@lists.sourceforge.net Subject: Re: trap changes made for VRF   Hi Joan,   Pre-existing functionality shoul

New integration: SNMP Trap help

2021-02-06 Thread Shilpi
net-snmp one. So then how do I send traps from the java executables? Can I send traps to net-snmp agent and that does forwarding? or should the trap to be sent to NMS only from SNMP4j code? So we need to go for sub agent? Any help is appreciated on this. Thanks & Regards, Shilpi Mitra &q

Re: trap changes made for VRF

2021-01-12 Thread Bart Van Assche
Cc: net-snmp-users@lists.sourceforge.net Subject: Re: trap changes made for VRF   Hi Joan,   Pre-existing

RE: trap changes made for VRF

2021-01-12 Thread Joan Landry
Please tell me where to find these patches – links please. Thanks From: Bart Van Assche Sent: Saturday, January 9, 2021 5:47 PM To: Joan Landry ; stann...@cumulusnetworks.com Cc: net-snmp-users@lists.sourceforge.net Subject: Re: trap changes made for VRF External email: [bart.vanass

Re: trap changes made for VRF

2021-01-09 Thread Bart Van Assche
? b3dd62016170 ("libsnmp, UDP: Only display VRF debug messages if relevant") 5d61e9367200 ("snmplib, UDP transport: Do not compare array pointers against NULL") 02de400544de ("libsnmp: Set Linux VRF iface on Trap si

RE: trap changes made for VRF

2021-01-06 Thread Joan Landry
, January 6, 2021 11:28 PM To: stann...@cumulusnetworks.com Cc: Joan Landry ; net-snmp-users@lists.sourceforge.net Subject: Re: trap changes made for VRF External email: [bart.vanass...@gmail.com] Hi Sam, Can you submit a patch that documents how to use the changes

Re: trap changes made for VRF

2021-01-06 Thread Bart Van Assche
Hi Sam, Can you submit a patch that documents how to use the changes in the following two commits: * 02de400544de ("libsnmp: Set Linux VRF iface on Trap sink IP addresses") * 3ca90c2c1260 ("libsnmp/transports/UDP: Add

trap changes made for VRF

2021-01-06 Thread Joan Landry
Can someone please provide a link to the documentation that describes how to get rc = netsnmp_bindtodevice(t->sock, ep->iface); to work – apparently the code that sends traps has been redesigned significantly in that NETSNMP_DS_LIB_CLIENT_ADDR no longer works as use to. What is the change in

SNMP Trap V3 with 'priv' not working

2020-11-12 Thread Martin SCHWARZBAUER
public_v3 priv On Restart of SNMP i receive the correct traps in wireshark ... but why do i get authenticationfailure in snmptrapd Everything is working fine, when i use e.g. 'auth' instead of 'priv' AES/SHA! I absolutly have no idea what i am d

Trap Engine ID incorrect

2020-06-02 Thread Philippe DENIS via Net-snmp-users
Hello all, I’m using net-snmp 5.7.3 to send a V3 trap thanks to C code. The code is working correctly. I tested it first with V2c protocol and after I switch to V3 protocol. (All the keywords were changed trap2sink to trapsess) When sniffing on the network interface thanks to tcpdump, I

Re: DTLS trap not sending or being recieved.

2020-04-03 Thread Anders Wallin
oses the connection > and dumps the write cache. > > Everything else works over DTLS, Informs, getting and setting variables, > sending traps from our software to snmptrapd, sending a trap from snmptrap > to snmptrapd over DTLS. I'm not sure what other information would be useful &

DTLS trap not sending or being recieved.

2020-04-02 Thread Jason Farrar
rification succeeds on both sides, snmptrap just closes the connection and dumps the write cache. Everything else works over DTLS, Informs, getting and setting variables, sending traps from our software to snmptrapd, sending a trap from snmptrap to snmptrapd over DTLS. I'm not sure what other in

Send trap with logmatch and monitor

2019-12-04 Thread Armando Mártires
Hi, I'm trying to have my net-snmp send a trap when a word is found on a log file. my snmpd.conf file is like this: --- com2sec    accessUser    192.168.1.0/24    private group     accessGroup    v2c    accessUser

No trap with link down

2019-12-04 Thread vadud3
I am running snmptrapd like below and took one of the interface down on my VM. But I do not see any trap. What gives? # snmptrapd -Lf /var/log/snmp-traps --disableAuthorization=yes -m +ALL There is nothing on the /var/log/snmp-traps showing any trap If I run a test trap, I do see it is showing

Notification trap type problem

2019-12-01 Thread Klemen Sladic
Hi. I have a question about notification (trap) type since I am getting "Wrong Type (should be INTEGER)". For example, let's say this is in my MIB: Object definition: myTrigger OBJECT-TYPE SYNTAX INTEGER { down1(10), up1(11), down2(20), up2(21) } MAX-ACCESS read-w

Re: No trap with link down

2019-11-18 Thread vadud3
Still looking for some suggestions On Fri, Nov 15, 2019 at 3:40 PM wrote: > I am running snmptrapd like below and took one of the interface down on my > VM. But I do not see any trap. What gives? > > # snmptrapd -Lf /var/log/snmp-traps --disableAuthorization=yes -m +ALL > > T

Re: Support for SNMP source trap address

2019-09-30 Thread Bill Fenner
You should be able to cherry-pick git commit 06a02b7c708c1ea2bf67e59c333001e8ce128dff . Or if you are using -s (not clientaddr), you may be able to specify ":0" at the end of the address. If ":0" does not work you can pick a port number, ":38471", but then of course you lose the ability of the sy

Re: Support for SNMP source trap address

2019-09-29 Thread Nitin Samuel
Thanks again Bill... But what do you suggest as a workaround until 5.8.1 is out ? Is there a patch that I can take as a fix ? Regards, Nitin On Sun, Sep 29, 2019 at 8:58 PM Bill Fenner wrote: > On Fri, Sep 27, 2019 at 2:28 PM Nitin Samuel wrote: > >> Thanks Bill, >> Yet another query.

Re: Support for SNMP source trap address

2019-09-29 Thread Bill Fenner
On Fri, Sep 27, 2019 at 2:28 PM Nitin Samuel wrote: > Thanks Bill, > Yet another query...sorry to bother you again. > Why am I seeing traps from port 161 on 5.8 version, whereas 5.7.3 > traps are from ephemeral ports ? > This is a bug in 5.8. It will be fixed in 5.8.1. Bill _

Re: Support for SNMP source trap address

2019-09-27 Thread Nitin Samuel
<>' option ? >> >> Thanks, >> NitinVS >> >> On Sun, Sep 8, 2019 at 10:45 PM Nitin Samuel >> wrote: >> >>> Thanks Bill. >>> >>> So in 5.8, if I have [snmp] clientaddr <> at the top, followed later >>> b

Re: Support for SNMP source trap address

2019-09-27 Thread Bill Fenner
trapsess hosts but one of which has the new '-s <>' option, will >> clientaddr token be honored for this trap host ? >> >> On Sun, Sep 8, 2019 at 4:21 PM Bill Fenner wrote: >> >>> On Fri, Sep 6, 2019 at 4:56 PM Chinnapareddygari, Chandrasekharredd

Re: Support for SNMP source trap address

2019-09-26 Thread Nitin Samuel
t; > So in 5.8, if I have [snmp] clientaddr <> at the top, followed later by > a few trapsess hosts but one of which has the new '-s <>' option, will > clientaddr token be honored for this trap host ? > > On Sun, Sep 8, 2019 at 4:21 PM Bill Fenner wrote: >

Re: missing information in logmatch trap data

2019-09-13 Thread Thommandra Gowtham
Hi everyone, Can I please get a response on the query? Regards, Gowtham On Tue, Sep 10, 2019, 21:20 Thommandra Gowtham wrote: > Hi > > I am using net-snmp 5.7.3 on Ubuntu and have a few questions regarding > logmatch trap > > - How can we get more information in a logmatch t

Re: Support for SNMP source trap address

2019-09-11 Thread Bill Fenner
; option, will > clientaddr token be honored for this trap host ? > > On Sun, Sep 8, 2019 at 4:21 PM Bill Fenner wrote: > >> On Fri, Sep 6, 2019 at 4:56 PM Chinnapareddygari, Chandrasekharreddy < >> chandrasekharreddy.chinnapareddyg...@hpe.com> wrote: >> >&g

Re: Support for SNMP source trap address

2019-09-11 Thread Bill Fenner
enaddr in snmp.conf .but it is > not working with snmpd.conf > > Does any extra changes required ? > > > Thanks, > Chandra. > Get Outlook for Android <https://aka.ms/ghei36> > > > > From: Bill Fenner > Sent: Sunday, 8 September, 16:20 > Subje

missing information in logmatch trap data

2019-09-10 Thread Thommandra Gowtham
Hi I am using net-snmp 5.7.3 on Ubuntu and have a few questions regarding logmatch trap - How can we get more information in a logmatch trap other than the pattern matched? For example if we have below configuration logmatch loginFailure /var/log/auth.log 30 Failed password monitor -r 10 -o

Re: Support for SNMP source trap address

2019-09-08 Thread Nitin Samuel
Thanks Bill. So in 5.8, if I have [snmp] clientaddr <> at the top, followed later by a few trapsess hosts but one of which has the new '-s <>' option, will clientaddr token be honored for this trap host ? On Sun, Sep 8, 2019 at 4:21 PM Bill Fenner wrote: > On Fr

Re: Support for SNMP source trap address

2019-09-08 Thread Bill Fenner
On Fri, Sep 6, 2019 at 4:56 PM Chinnapareddygari, Chandrasekharreddy < chandrasekharreddy.chinnapareddyg...@hpe.com> wrote: > I am using net-snmp 5.7.2 in my project..I want to use SNMP trap source > as user configured IP address. > How can I achieve this ? > In 5.7

Support for SNMP source trap address

2019-09-06 Thread Chinnapareddygari, Chandrasekharreddy
Hi , I am using net-snmp 5.7.2 in my project..I want to use SNMP trap source as user configured IP address. How can I achieve this ? Please give me some inputs Thanks, Chandra Get Outlook for Android<https://aka.ms/ghei36> ___ Net-snmp

Code pointers for SNMP trap source address

2019-08-26 Thread chandrasekharreddy c
Hi , I am new to net-snmp. I want to know how net -snmp is inserting trap source address in pdu. please give me code pointers . Thanks, Chnadra Get Outlook for Android<https://aka.ms/ghei36> ___ Net-snmp-users mailing list Net-snmp

Re: Trap server address in snmpd.conf

2019-05-20 Thread Anders Wallin
I think that syntax will give you the octal value of "010", which will be decimal 8, so it will try to send to 192.168.1.8 Regards Anders Wallin On Mon, May 20, 2019 at 3:58 PM Deepak Sachan wrote: > Heĺlo > In snmpd.conf trap server address is defined as > Trap2sink 192.

Trap server address in snmpd.conf

2019-05-20 Thread Deepak Sachan
Heĺlo In snmpd.conf trap server address is defined as Trap2sink 192.168.1.10 public 162 If i edit the snmpd.conf file and changed address to 192.168.1.010 then traps are not received at trap receiver. Help required. Thanks in advance ___ Net-snmp-users

RE: nsNotifyRestart trap raised frequently

2019-05-13 Thread Krishna Vivek Vitta
. # # The following are example for snmpd.conf. # #SNMP Trap Destination example #trap2sink 1.2.3.4:162 public sysobjectid 1.3.6.1.4.1.5951.6 exactEngineID 0x80001f888026bda253cc8fa856 rocommunity _9TikE06:wvtXG_4X_G 10.19.53.62 trap2sink 10.19.53.62:162 _9TikE06:wvtXG_4X_G rocommunity _9TikE06

Re: nsNotifyRestart trap raised frequently

2019-04-29 Thread Bill Fenner
Hello Krishna, I did a Google search for 'nsNotifyRestart' and one of the results was http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Agent_15 . This page describes when the nsNotifyRestart trap is sent. Bill On Wed, Apr 24, 2019 at 7:28 AM Krishna Vivek Vitta < kr

nsNotifyRestart trap raised frequently

2019-04-24 Thread Krishna Vivek Vitta
restarted NET-SNMP version 5.5 restarted Customer using third party syslog WhatsUpGold. Given below is the TRAP details which customer getting in email: PassiveMonitor.Payload.TrapName=nsNotifyRestart PassiveMonitor.Payload.TrapMajor=6 PassiveMonitor.Payload.TrapMinor=3

How to preserve SNMP trap IP address and host name when forwarding

2019-04-12 Thread Pik Master via Net-snmp-users
>I need help, with preserving SNMP trap IP address and hostname when forwarding >SNMP traps through snmptrapd >I got 10 servers behind a firewall and router, I have setup SNMP trap >forwarding and GET based on community string however, snmptrapd rewrites trap >headers, IPs and

Re: How to preserve SNMP trap IP address and host name when forwarding

2019-04-12 Thread Pik Master
PM, 700 grm <700...@gmail.com> wrote: Hi, I need help, with preserving SNMP trap IP address and hostname when forwarding SNMP traps through snmptrapd I got 10 servers behind a firewall and router, I have setup SNMP trap forwarding and GET based on community string however, snmptrapd

Re: How to preserve SNMP trap IP address and host name when forwarding

2019-04-10 Thread Kaleemulla Sharief (kasharie) via Net-snmp-users
If this is specific to only 10 servers, you could configure NAT on snmp proxy for these 10 servers to do address spoofing? Sent from my iPad On 10-Apr-2019, at 8:59 PM, 700 grm <700...@gmail.com> wrote: Hi, I need help, with preserving SNMP trap IP address and hostname when forwarding

How to preserve SNMP trap IP address and host name when forwarding

2019-04-10 Thread 700 grm
Hi, I need help, with preserving SNMP trap IP address and hostname when forwarding SNMP traps through snmptrapd I got 10 servers behind a firewall and router, I have setup SNMP trap forwarding and GET based on community string however, snmptrapd rewrites trap headers, IPs and host name with SNMP

Re: [SUSPECTED SPAM] Error in snmp trap

2018-08-13 Thread Pushpa Thimmaiah
ut the error is same > snmptrapd: input: a7 > trace: snmp_input(): snmptrapd_handlers.c, 1038: > snmptrapd: Trap OID: UCD-SNMP-MIB::ucdavis.991.17 > trace: snmp_input(): snmptrapd_handlers.c, 1064: > snmptrapd: Running auth trap handlers > trace: netsnmp_trapd_check_auth(): sn

Re: [SUSPECTED SPAM] Error in snmp trap

2018-08-09 Thread Nevadita Chatterjee
nevadita/client_log but the error is same snmptrapd: input: a7 trace: snmp_input(): snmptrapd_handlers.c, 1038: snmptrapd: Trap OID: UCD-SNMP-MIB::ucdavis.991.17 trace: snmp_input(): snmptrapd_handlers.c, 1064: snmptrapd: Running auth trap handlers trace: netsnmp_trapd_check_auth(): snmptrapd_auth.c,

Re: [SUSPECTED SPAM] Error in snmp trap

2018-08-09 Thread Kaleemulla Sharief (kasharie) via Net-snmp-users
Shouldn’t that be authPriv? since you are passing both auth and priv details Thanks, --Kaleem From: Nevadita Chatterjee Date: Thursday, 9 August 2018 at 5:08 PM To: "net-snmp-users@lists.sourceforge.net" Subject: [SUSPECTED SPAM] Error in snmp trap I am Sending a SNMPv3 trap from

Error in snmp trap

2018-08-09 Thread Nevadita Chatterjee
I am Sending a SNMPv3 trap from local host snmptrap -v 3 -n "" -a SHA -A "myauthentication" -x AES -X "mypassword" -l noauthNoPriv -u myuser2 -e 0x80001f88800b022f443c4f695b localhost 0 NOTIFICATION-TEST-MIB::demo-notif The snmptrapd is receiving the tra

Reg: How to set Engine time while sending SNMP v3 trap by suing snmptrap

2018-07-20 Thread Sreenivasulu Alapaka
Hi, I am using the '*snmptrap*' command available in *net-snmp* version 5.5 to send an SNMPv3 trap. But we receiving the Engine time as zero at remote machine so that remote machine is dropping the trap with the error *'Not in Time Window*'. I tried to set the Eng

Trap implementation

2018-04-06 Thread Deepak Sachan
Hi i have generated two .c files using mib2c.scaler and mib2c.notify for scaler and trap object. can we combined these two file in one file?? Is there any application which can generate sigle file Thanks -- Check out

SNMP trap forwarding

2017-11-08 Thread Nadella, Lokesh (Nokia - IN/Bangalore)
Hi, I have created Instance using OpenStack could and it consists of 2OMA nodes and 2 App nodes. The OAM is configured with HA-VIP (High Availability and Virtual IP). I have configured the snmptrapd.conf file as below to receive the traps and forward the same to another SNMP manager. But the tra

Re: DTLSUDP: unknown [DTLSUDP: unknown]: DTLS Trap PDU missing transport data

2017-10-28 Thread Robert Story
On Mon, 11 Sep 2017 09:57:09 +0200 Stephanie wrote: SJ> I have installed net-snmp-5.7.3 and openssl-1.0.1k on openSUSE SJ> 13.2 (Harlequin). SJ> SJ> The snmptrapd gets TRAPS without displaying source and SJ> destination address. SJ> SJ> Example : SJ> 2017-09-05 15:05:17 DTLSUDP: unknown [DTLSUDP:

Re: Trap event not passing snmptrapd

2017-10-09 Thread Bill Fenner
Per https://tools.ietf.org/html/rfc3416#section-4.2.6, "The first two variable bindings ... are sysUpTime.0 and snmpTrapOID.0". Your trap contains sysUpTime.0 and snmpTrapEnterprise (with no instance ID, making it invalid anyway). So, snmptrapd is probably just discarding it bec

Re: Trap event not passing snmptrapd

2017-10-06 Thread Ilya Etingof
Hi Marian, I do not have an answer, though two minor things I wanted to note: * You are sending packets from a “privileged” port 162 rather than an ephemeral one * Well-formed TRAP message should include a bunch of well-known OIDs at fixed positions of the PDU (refer to SNMP RFCs for details

Trap event not passing snmptrapd

2017-10-06 Thread marian szczepkowski
We have a small device that send a trap on events I have configured anmptrapd to pass traps generated manually but snmptrapd doesn't pass the events generated by our devices the event doesn't show up when run with -d so I'm guessing it's some thing fundamental. The following is

DTLSUDP: unknown [DTLSUDP: unknown]: DTLS Trap PDU missing transport data

2017-09-11 Thread Stephanie Jakopec
Hi, I have installed net-snmp-5.7.3 and openssl-1.0.1k on openSUSE 13.2 (Harlequin). The snmptrapd gets TRAPS without displaying source and destination address. Example : 2017-09-05 15:05:17 DTLSUDP: unknown [DTLSUDP: unknown]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (12) 0:00:00.12 SNM

Re: SNMP V3 trap not working when configuring same user with different authentication type

2017-08-22 Thread Wes Hardaker via Net-snmp-users
Hitesh Patel writes: > Can anybody suggest possible reason behind this error? You should read this webpage which describes the differences between traps and notifications with respect to v3 with authentication and how to configure snmptrapd: http://www.net-snmp.org/wiki/index.php/TUT:Configurin

Re: SNMP V3 trap not working when configuring same user with different authentication type

2017-08-22 Thread Pushpa Thimmaiah
Hi Hitesh Patel, snmptrapd.conf have entry for 'user' with MD5/AES not with SHA/DES Thanks, Pushpa.T On Wed, Jul 19, 2017 at 4:21 PM, Hitesh Patel wrote: > Hello everybody, > > I am using Linux based snmp (net-snmp) in my Linux device. To receive snmp > trap on Linu

SNMP V3 trap not working when configuring same user with different authentication type

2017-07-19 Thread Hitesh Patel
Hello everybody, I am using Linux based snmp (net-snmp) in my Linux device. To receive snmp trap on Linux host machine, I have configured snmptrapd in /etc/snmp/snmptrapd.conf file as below (After stopping snmpd daemon) createUser user MD5 "password123" DES "encrypt123&quo

Re: Snmp v3 DTLS TRAP - ICMP Destination unreachable

2017-06-02 Thread Stephanie Jakopec
Hi, just to add more information: INFORM works over dtlsudp with the same configuration. Am I doing something wrong with TRAP sending and receiving? Best regards, Steph 2017-06-01 10:51 GMT+02:00 Stephanie Jakopec : > Hi, > > I am trying to configure net-snmp over DTLS. The manage

Snmp v3 DTLS TRAP - ICMP Destination unreachable

2017-06-01 Thread Stephanie Jakopec
Hi, I am trying to configure net-snmp over DTLS. The manager doesn't receive the TRAP message when sending TRAPs over dtlsudp. Sending TRAPs over tlstcp is successful. In wireshark I can see Client Hello, Hello Verify Request and then an ICMP Destination unreachable (Port unreachable). I thi

Issues with "forward failed" messages being logged with trap details

2016-07-29 Thread Purcell, Leo T
Hi - In need of configuring the snmptrapd as a forwarder that can process SNMPv3 traps from devices to another NMS trap destination. Have configured the createUser entries defining one device, tested and works. What is needed is to configure createUser to forward all SNMPv3 traps to NMS trap

How to specify a simple regex for snap trap handler registration in perl

2016-07-26 Thread Sateesh Hegde
"1.3.6.1.4.1.98765.1.1.7. <http://1.3.6.1.4.1.29671.1.1.7.*>1", \&my_receiver_test); However, I would like to handle a range of trap OIDS below the 7. tree. I know it works with simple traphandle hook , but didn't work on this perl, tried the following : perl NetSNMP

RE: Trap OID translation with ambiguous symbolic values

2016-05-13 Thread o...@leferguson.com
riday, May 13, 2016 12:12 PM To: net-snmp-users@lists.sourceforge.net Subject: Trap OID translation with ambiguous symbolic values I'm using the embedded perl links to run a handler (specifically one from Zabbix) for traps. Running Ubuntu's packaged 5.7.3 version on Ubuntu 15.10. Fo

Trap OID translation with ambiguous symbolic values

2016-05-13 Thread o...@leferguson.com
I'm using the embedded perl links to run a handler (specifically one from Zabbix) for traps. Running Ubuntu's packaged 5.7.3 version on Ubuntu 15.10. For certain traps (well, one so far) the translation is not occurring as expected, and differs from snmptranslate. Example: snmptranslate -Dinit

Re: unable to locally set up trap destination but remotely works fine

2016-04-29 Thread Peter Upczak
rge.net Date: Fri, 29 Apr 2016 12:36:24 -0400 Subject: Re: unable to locally set up trap destination but remotely works fine An interesting update to this. With the ARM target's agent logging some debug, I see that it is happily digesting snmpTargetAddrRowStatus.\

Re: unable to locally set up trap destination but remotely works fine

2016-04-29 Thread Peter Upczak
least I know I ** can ** make this work in the short term. Still, any thoughts / advise appreciated. cheers, -Original Message- From: "Peter Upczak" To: net-snmp-users@lists.sourceforge.net Date: Wed, 27 Apr 2016 12:54:43 -0400 Subject: unable to locally set up trap destinatio

unable to locally set up trap destination but remotely works fine

2016-04-27 Thread Peter Upczak
V1, V2c are not used. > tail /var/log/messages Jan 1 00:00:15 (none) daemon.info snmpd[226]: NET-SNMP version 5.7.1 >From the target's shell, I want to create a trap-destination that is an external snmptrapd server. The agent is configured to listen on both eth0 and lo interfaces.

How to enable OSPF trap sending for our agent

2016-02-18 Thread Soomit Banerjee
Hi, We have got a Debian based thin-client running net-snmp based SNMP agent. The SNMPV2 agent is already enabled for *cold/warm start*, *linkup/linkdown*. We did this by making proper configuration in the snmpd.conf file. Now we need to add *ospf* trap sending capability to the agent. How to

Re: Sending V3 trap to multiple hosts

2015-12-20 Thread Ajit Ambekar
Hi Emilio, Let me share my experience here. I have observed that to receive a V3 Trap with net-snmp library, its Engine ID need to be defined in the snmptrap.conf file of the reciever. Otherwise the trap is not identified by usm engine. I am also stuck for a solution where I can recieve SNMPv3

Re: Sending V3 trap to multiple hosts

2015-12-20 Thread Ilya Etingof
Since there is no SNMP engine ID discovery being performed for SNMPv3 TRAP messages, your Notification Receiver must have [the authoritative] SNMP engine ID of your Notification Originator explicitly configured to its LCD. Technically, it’s engineID + username. In other words, there is no need

Re: Suggestions on trap packet forwarding

2015-12-16 Thread Pik Master
Hi. This thread is coming up periodically, SNMP trap forwarding is not preserving the original sender's IP address. I created a patch, to enable special mode, which adds the IP of sender on each forwarder, so at the end of the chain the original sender's IP is in OID .1.3.6.1.6.

Re: Sending V3 trap to multiple hosts

2015-12-14 Thread Emilio FG Fuoco
Some news about my issue: it seems something related to engine ID. If I'm going to send the same V3 trap to two peers I have to define two unique engine IDs (one for each remote peer) in my trap sender. If I use the same engine ID only the first trap sending works. Someone could confirm

Sending V3 trap to multiple hosts

2015-12-06 Thread Emilio FG Fuoco
Hi, following my code used in order to send the same V3 trap to multiple hosts. Now, this is en example scenario: Host #1 with wrong V3 credentials Host #2 with correct V3 credentials V3 trap not sent to host #1 => OK because I've wrong credentials V3 trap *not* sent to host #2 =>

Re: mib file to map an trap oid

2015-10-29 Thread Pranesh Kulkarni
; pushpa.thimma...@gmail.com> wrote: > Hi Fulko Hew, > > Thank you. trap oid 1.3.6.1.4.1.8072.4.2 getting resolved after loading > NET-SNMP-AGENT-MIB as follows. > 2015-10-29 16:01:34 172.16.1.xxx(via UDP: > [172.16.1.xxx]:40431->[172.16.1.yyy]) TRAP, S

Re: mib file to map an trap oid

2015-10-29 Thread Pushpa Thimmaiah
Hi Fulko Hew, Thank you. trap oid 1.3.6.1.4.1.8072.4.2 getting resolved after loading NET-SNMP-AGENT-MIB as follows. 2015-10-29 16:01:34 172.16.1.xxx(via UDP: [172.16.1.xxx]:40431->[172.16.1.yyy]) TRAP, SNMP v1, community public NET-SNMP-MIB::netSnmpNotificationPrefix Enterprise Specific T

Re: mib file to map an trap oid

2015-10-29 Thread Fulko Hew
On Thu, Oct 29, 2015 at 2:06 AM, Pushpa Thimmaiah < pushpa.thimma...@gmail.com> wrote: > Hi Folks, > > I have installed snmpagent (net-snmp-5.7.1) and it sends out trap > .1.3.6.1.4.1.8072.4.2 during its restart. I am not able to map the trap > oid .1.3.6.1.4.1.8072.4.2 >

mib file to map an trap oid

2015-10-28 Thread Pushpa Thimmaiah
Hi Folks, I have installed snmpagent (net-snmp-5.7.1) and it sends out trap .1.3.6.1.4.1.8072.4.2 during its restart. I am not able to map the trap oid .1.3.6.1.4.1.8072.4.2 I have searched online but didnot get any information . Kindly let me know what is the mib for .1.3.6.1.4.1.8072.4.2

Unable to receive V3 coldstart trap if one of the Inform destination configured is unavailable

2015-10-02 Thread raja vankam
Hi, I am testing SNMP agent created with V3 support. I have configured two inform destinations but not started one of the destinations trap receiver or removed the network cable from the server PC. At that time if I start the agent on the Linux target then the agent is not doing anything. Agent

Re: Anyone know of a trap receiver that supports SnmpAdminString with UTF-8 character encoding?

2015-07-15 Thread Robert Story
On Thu, 25 Jun 2015 14:58:36 + Christopher wrote: CC> I have tried many receivers CC> (snmptrapd,ManageEngine,iReasoning,Wireshark), and they all CC> display SnmpAdminString types as ascii characters, even though CC> the SNMP-FRAMEWORK mib has a DISPLAY-HINT of "255t" for CC> SnmpAdminString. C

Anyone know of a trap receiver that supports SnmpAdminString with UTF-8 character encoding?

2015-06-25 Thread Christopher Crotty
I have tried many receivers (snmptrapd,ManageEngine,iReasoning,Wireshark), and they all display SnmpAdminString types as ascii characters, even though the SNMP-FRAMEWORK mib has a DISPLAY-HINT of "255t" for SnmpAdminString. For example: Sending the string "IQTV-ö05" The correct UTF-8 bytes are

NET-SNMP Trap Variable Value

2015-03-10 Thread Sunil Siddharth
Hi Team, I have 1 trap which is causing my application ( receiving this trap ) to crash and I could not find the root cause but I have some queries regarding the SNMP Trap variables : 1. Does SNMP trap variable's value support line feed ? 2. Is there any limit on the n

SOLVED - AW: format trap with REGEX - \n is ignored

2015-02-04 Thread Stefan Bauer
-Ursprüngliche Nachricht- Von:Stefan Bauer Gesendet:Mi 04.02.2015 11:49 Betreff:format trap with REGEX - \n is ignored An:net-snmp-users@lists.sourceforge.net; Hi folks,   as we pass the snmp traps to our monitoring software - pre-processing of traps is what i want.   I tried

format trap with REGEX - \n is ignored

2015-02-04 Thread Stefan Bauer
Hi folks,   as we pass the snmp traps to our monitoring software - pre-processing of traps is what i want.   I tried   REGEX ((.1.3.6))(\n $1)g   but the result is just a plain \n in the text:    \n .1.3.6.1.4.1.111.15.3.1.1.29.1: \n .1.3.6.1.4.1.111.15.3.1.1.30.1: \n .1.3.6.1.4.1.111.15.3.

RE: SNMP trap going to syslog but not snmptt

2015-01-16 Thread Brian Kejser
files Dell provided. As assistance would be appreciated. Thanks From: Brian Kejser [mailto:br...@kaiserdigital.com] Sent: Saturday, January 3, 2015 5:49 PM To: net-snmp-users@lists.sourceforge.net Subject: SNMP trap going to syslog but not snmptt Hi I've installed net-snmp on Ubuntu, mad

SNMP trap going to syslog but not snmptt

2015-01-16 Thread Brian Kejser
Hi I've installed net-snmp on Ubuntu, made the following changes and restarted the snmpd and snmptt daemons. When snmp traps are received they are logged in syslog but not processed by snmptt. What's wrong? /etc/default/snmpd TRAPDRUN=yes /etc/snmp/snmptrapd.conf authCommunity log,execute,ne

Query regarding ssCpuRawIdle in SNMP Trap

2015-01-06 Thread tiong sanhyong
t, able to determine the threshold and to trigger off an SNMP trap. 2) If not 1), does that mean I have to resort to extending the agent; use of scripting? Are there other alternatives to trigger off SNMP trap for high CPU utilisation?  Hope you can help. Thanks.  Re

Re: Accessing %SNMP::MIB in Perl trap handler affects stringification of OID

2014-12-04 Thread Kevin Broadey
ently get the same output:- ——— 2014-12-04 08:56:05 localhost [UDP: [127.0.0.1]:42028->[127.0.0.1]:162]: sysUpTimeInstance = 5717369 snmpTrapOID.0 = coldStart sysLocation.0 = Just here *** trap receiver *** VARBINDS: sysUpTimeInstance = 571

Accessing %SNMP::MIB in Perl trap handler affects stringification of OID

2014-12-03 Thread Kevin Broadey
eturn NETSNMPTRAPD_HANDLER_OK; } unless (NetSNMP::TrapReceiver::register("all", \&trap_receiver)) { warn "Failed to register default Perl traphandler\n"; } else { warn "Registered default Perl traphandler\n"; } —— now I

Re: SNMP Trap interval

2014-11-28 Thread Wes Hardaker
"Stephan Alz" writes: > I would prefer sending an SNMP trap right when an event happens > (latest within 30 seconds) for the same reason why the guy detailing > it in the article. You can use the -r flag on the monitor line to set the number of seconds between the internal p

OID parameter to use for SNMP Trap - Overall CPU utilisation

2014-11-27 Thread tiong sanhyong
e on the following: - Can ssCpuRawIdle be used in a monitor statement? - How do I determine (the integer output of ssCpuRawIdle =How many Overall CPU idle (%)? - Are there other means (eg. OID parameters) to set andmonitor threshold for SNMP trap?   Thanks.   Regards, Sanh Yong NCS

SNMP Trap interval

2014-11-24 Thread Stephan Alz
Hello I wonder how can the trap message sending interval lowered in snmpd.conf. I do simple checks like: disk / 50% disk /var 50% includeAllDisks 10% proc apache2 100 1 ... But as I noticed these trap messages only sent once in every 10 minutes (or when I manually restart

SNMPv3 Trap specifying BOOTS,TIME

2014-11-13 Thread Gunner
I am trying to send an SNMPv3 trap with a specific boots/time in order to avoid a window violation. However, it appears that when I use the "-Z" parameter it is ignored and set to zero. Sample command: snmptrap -v 3 -u TestUser -a MD5 -A TestPassword -l authNoPriv -Z 123,456 1

RE: SNMPv3 Trap Question

2014-10-14 Thread Gary Dunlap
callback so it’s not easy to connect the dots. Thanks for responding on this. Gary From: Bill Fenner [mailto:fen...@gmail.com] Sent: Sunday, September 14, 2014 4:19 PM To: Gary Dunlap Cc: net-snmp-users@lists.sourceforge.net; net-snmp-cod...@lists.sourceforge.net Subject: Re: SNMPv3 Trap Question

Re: SNMPv3 Trap Question

2014-09-14 Thread Bill Fenner
On Wed, Sep 3, 2014 at 11:10 AM, Gary Dunlap wrote: > Hi. I’m having trouble with some of the SNMPv3 traps sent by snmpd being > rejected, and I think it’s because of the SNMPv3 replay protection > mechanism. > > > > It looks like when some event causes a reconfigure of snmpd > Can you say more

SNMPv3 Trap Question

2014-09-08 Thread Gary Dunlap
Boots_conf(). It gets run, incrementing the engineBoots count. But the snmpEngineTime value is not reset, so the trap receiver may think subsequent traps are outside the 150 second window. An example is this: snmpv3 1 engineBoots: 40, traced from within engineBoots_conf() snmpv3 engineBoots

snmptrapd snmpv3 trap forwarding

2014-08-31 Thread Geoff Kingsmill
NET-SNMP version 5.7.2.1. I currently have an snmp trap relay configured for SNMPv1. All configured devices send traps to the trap relay. The trap relay running snmptrapd then forwards these traps to the required trap receivers. This all works nicely. I now have a security requirement to

SNMP-Trap Eror

2014-08-22 Thread Muharrem Aydin
Hi, My problem with the SNMP-Trap. snmptt active THAT I said though there is an error log, do not fix it.  I'm running snmptt service in the following way.  /etc/init.d/snmptt restart  Restarting SNMP trap translator: snmpttPID file: /var/run/snmptt.pid . and  /etc/init.d/snmpd re

  1   2   3   4   5   6   7   8   9   10   >