<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/snmptt/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/snmptt/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/snmptt/bugs/</id><updated>2025-07-30T06:24:05.424000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#51 uninitialized variable $match_type</title><link href="https://sourceforge.net/p/snmptt/bugs/51/?limit=25#8e14" rel="alternate"/><published>2025-07-30T06:24:05.424000Z</published><updated>2025-07-30T06:24:05.424000Z</updated><author><name>Thomas </name><uri>https://sourceforge.net/u/thomash3/</uri></author><id>https://sourceforge.net6282fc57f5dda62df971d87d198b952af3aef9d9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you very much :)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#49 Symbolic names match does not work.</title><link href="https://sourceforge.net/p/snmptt/bugs/49/?limit=25#a361" rel="alternate"/><published>2025-07-29T22:34:17.704000Z</published><updated>2025-07-29T22:34:17.704000Z</updated><author><name>Alex Burger</name><uri>https://sourceforge.net/u/alex_b/</uri></author><id>https://sourceforge.netef1226d0ef76a7ae7c1c4cf70a70949eff96ff53</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#51 uninitialized variable $match_type</title><link href="https://sourceforge.net/p/snmptt/bugs/51/?limit=25#e91b" rel="alternate"/><published>2025-07-29T22:32:17.027000Z</published><updated>2025-07-29T22:32:17.027000Z</updated><author><name>Alex Burger</name><uri>https://sourceforge.net/u/alex_b/</uri></author><id>https://sourceforge.net7fb1bcaf8745f2f222c81ac1f1b384d311c81312</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#51 uninitialized variable $match_type</title><link href="https://sourceforge.net/p/snmptt/bugs/51/?limit=25#1e19" rel="alternate"/><published>2025-07-29T22:31:12.240000Z</published><updated>2025-07-29T22:31:12.240000Z</updated><author><name>Alex Burger</name><uri>https://sourceforge.net/u/alex_b/</uri></author><id>https://sourceforge.net7bf8b54b787859914daf8a8b775d9401a3eabeef</id><summary type="html"/></entry><entry><title>uninitialized variable $match_type</title><link href="https://sourceforge.net/p/snmptt/bugs/51/" rel="alternate"/><published>2024-12-02T09:12:46.400000Z</published><updated>2024-12-02T09:12:46.400000Z</updated><author><name>Thomas </name><uri>https://sourceforge.net/u/thomash3/</uri></author><id>https://sourceforge.netce2fde5a156169951898e492db272e4e37b236c4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I already saw some commits where uninitialized variables were initialized.&lt;br/&gt;
However, there is still a warning in the syslog regarding one variable:&lt;br/&gt;
"Use of uninitialized value $match_type in string ne at /usr/sbin/snmptt line 1741"&lt;/p&gt;
&lt;p&gt;Maybe you can initialize the variable with an empty string in line 1729:&lt;br/&gt;
my $match_type = '';&lt;/p&gt;
&lt;p&gt;This worked for me.&lt;/p&gt;
&lt;p&gt;Thank you very much!&lt;br/&gt;
Thomas&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>uninitialized variable $match_type</title><link href="https://sourceforge.net/p/snmptt/bugs/51/" rel="alternate"/><published>2024-12-02T09:12:46.400000Z</published><updated>2024-12-02T09:12:46.400000Z</updated><author><name>Thomas </name><uri>https://sourceforge.net/u/thomash3/</uri></author><id>https://sourceforge.netbd8cd92bd47f14970f69e2e30a040417c21e32ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 51 has been modified: uninitialized variable $match_type&lt;br/&gt;
Edited By: Alex Burger (alex_b)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>uninitialized variable $match_type</title><link href="https://sourceforge.net/p/snmptt/bugs/51/" rel="alternate"/><published>2024-12-02T09:12:46.400000Z</published><updated>2024-12-02T09:12:46.400000Z</updated><author><name>Thomas </name><uri>https://sourceforge.net/u/thomash3/</uri></author><id>https://sourceforge.net6c7efd98fa4b81514dd0d5495432ea16b287cbfe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 51 has been modified: uninitialized variable $match_type&lt;br/&gt;
Edited By: Alex Burger (alex_b)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed-fixed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#49 Symbolic names match does not work.</title><link href="https://sourceforge.net/p/snmptt/bugs/49/?limit=25#e0a2" rel="alternate"/><published>2022-09-03T16:02:09.754000Z</published><updated>2022-09-03T16:02:09.754000Z</updated><author><name>Alex Burger</name><uri>https://sourceforge.net/u/alex_b/</uri></author><id>https://sourceforge.net2d2c7f29d3fe88a67eff60ce44fe2acb6a4d0439</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I found an issue in snmptthandler-embedded.  Can you test the latest version in git?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Symbolic names match does not work.</title><link href="https://sourceforge.net/p/snmptt/bugs/49/" rel="alternate"/><published>2022-06-13T16:51:19.036000Z</published><updated>2022-06-13T16:51:19.036000Z</updated><author><name>Zalex_UA</name><uri>https://sourceforge.net/u/zalexua/</uri></author><id>https://sourceforge.neteb41ae27f50a89f329f2603419541d186191f80a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I followed instructions in &lt;a href="http://www.snmptt.org/docs/snmptt.shtml#SNMPTT.CONF-EVENT" rel="nofollow"&gt;http://www.snmptt.org/docs/snmptt.shtml#SNMPTT.CONF-EVENT&lt;/a&gt; and tried these conf lines:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;EVENT general3 .1.3.6.1.6.3.1.1.5.1 "General event3" Normal
FORMAT ZBXTRAP $aA$Fn$+*

EVENT general4 SNMPv2-MIB::coldStart "General event4" Normal
FORMAT ZBXTRAP $aA$Fn$+*

EVENT general5 coldStart "General event5" Normal
FORMAT ZBXTRAP $aA$Fn$+*
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I send traps by command:&lt;br/&gt;
&lt;code&gt;snmptrap -v2c -c public 127.0.0.1 "" ".1.3.6.1.6.3.1.1.5.1"&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;And they all work only when my snmptrap daemon is started with option -On - i.e. to return all OIDs as numeric:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;  .1.3.6.1.2.1.1.3.0             type=67 value=Timeticks: (24869350) 2 days, 21:04:53.50
  .1.3.6.1.6.3.1.1.4.1.0         type=6  value=OID: .1.3.6.1.6.3.1.1.5.1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;But if start snmptrap by deafult (numeric OIDs resolved to symbolic) it returns varbinds as:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;DISMAN-EVENT-MIB::sysUpTimeInstance (24782816) 2 days, 20:50:28.16
SNMPv2-MIB::snmpTrapOID.0 SNMPv2-MIB::coldStart
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;and snmptt could not match such traps at all.&lt;/p&gt;
&lt;p&gt;I'm using Ubuntu 22.04 with recent SNMPTT 1.5beta2. &lt;br/&gt;
I've tried everything (~5 years ago) and did my test to try again now - still does not work.&lt;/p&gt;
&lt;p&gt;Debug files with config files are attached.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Symbolic names match does not work.</title><link href="https://sourceforge.net/p/snmptt/bugs/49/" rel="alternate"/><published>2022-06-13T16:51:19.036000Z</published><updated>2022-06-13T16:51:19.036000Z</updated><author><name>Zalex_UA</name><uri>https://sourceforge.net/u/zalexua/</uri></author><id>https://sourceforge.netf4d088867f9387c652ee35b329b0360b83df0d79</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 49 has been modified: Symbolic names match does not work.&lt;br/&gt;
Edited By: Alex Burger (alex_b)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed-fixed'&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>