Page 5 of 9

Re: Need some help with an Snmp Entry.

Posted: Tue Sep 06, 2016 6:45 am
by skyerjoe
Hello trgriep

The traps works pretty well without the Variable Bindings.... tested this just before i tried to setup the Variable Bindings.

And yes i always restart the deamon on any change.

So i think the idea with update is o good one .. but atm we have 12.04 lts installed and the latest package from snmptt is 1.3.

So is there any problem to install an higher version as the repository admits?

regards john

Re: Need some help with an Snmp Entry.

Posted: Tue Sep 06, 2016 11:14 am
by tgriep
There shouldn't be a problem with installing the newer version but you could check their web site for any issues.
http://snmptt.sourceforge.net/

Re: Need some help with an Snmp Entry.

Posted: Thu Sep 15, 2016 8:28 am
by skyerjoe
Hello again

So i had time to update the snmptt daemon

and still rechecked the submit exec command as standalone command .. works

Do i need to test all traps again ?

or is it enough to use the last definition

Edit: tested with the last defintion .. still the same unknown

may i should update net-snmp too ? .. do i have to obey sth. for nagios when i do so ?

regards john

Re: Need some help with an Snmp Entry.

Posted: Thu Sep 15, 2016 10:44 am
by tgriep
At this point, you will have to contact the authors of the snmptt software for a fix.
You can try and update the net-snmp tools and see if that helps out in the issue.

Re: Need some help with an Snmp Entry.

Posted: Fri Sep 16, 2016 1:18 am
by skyerjoe
At this point, you will have to contact the authors of the snmptt software for a fix.
You can try and update the net-snmp tools and see if that helps out in the issue.
....Or to setup a new system on scratch

the only thing what i try is ti update net snmp and then it's enough ...

btw. is the value definition still correct in the last post ?

Edit:
For completeness i have added the 3 other values as well in the definition and retested it .... same result unknown log ...

but the testrap doesn't appear in the unkonw log anymore ...


here is my snmptt handler debug log from the test trap:

Code: Select all

UDP: [127.0.0.1]:38712->[127.0.0.1]

.1.3.6.1.2.1.1.3.0 165:16:13:15.18

.1.3.6.1.6.3.1.1.4.1.0 .1.3.6.1.4.1.31440.0.6

.1.3.6.1.4.1.31440.2.2.1.1.5 2

SNMPTTHANDLER started: Fri Sep 16 10:18:32 2016

s = 1474013912, usec = 215711
s_pad = 1474013912, usec_pad = 215711

Data received:

127.0.0.1

UDP: [127.0.0.1]:47801->[127.0.0.1]

.1.3.6.1.2.1.1.3.0 165:16:13:15.18

.1.3.6.1.6.3.1.1.4.1.0 .1.3.6.1.4.1.31440.0.6

.1.3.6.1.4.1.31440.2.2.1.1.5 2


regards john

Re: Need some help with an Snmp Entry.

Posted: Fri Sep 16, 2016 6:58 am
by skyerjoe
Sorry i made a misstake ... i had open vim but i thought it was tail -f .. so i thought the trap doesn't appears in snmptt.unknown log anymore ....

how embarassing... sorry for it

regards john

Re: Need some help with an Snmp Entry.

Posted: Fri Sep 16, 2016 10:15 am
by rkennedy
No problem, you're not the only one to ever do something like that. The joys of typing into a black box!

Does it appear if you run the tail?

Re: Need some help with an Snmp Entry.

Posted: Thu Sep 22, 2016 9:11 am
by skyerjoe
Hello Rekennedy

No it appears nothing

even when i update snmptt and net-snmp too...

so i think i will rebuild nagios from scratch

regards john

Re: Need some help with an Snmp Entry.

Posted: Thu Sep 22, 2016 4:28 pm
by tmcdonald
We can keep this thread open in case you have further issues, but if it is resolved by a rebuild please let us know!

Re: Need some help with an Snmp Entry.

Posted: Fri Sep 23, 2016 1:41 am
by skyerjoe
sure no problem

may an os update is an other option too

so far ...thanks for all ..

btw. at this point great forum great support

regards john