Need some help with an Snmp Entry.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
skyerjoe
Posts: 56
Joined: Thu Mar 22, 2012 2:57 am

Re: Need some help with an Snmp Entry.

Post 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
Nagios Core 3.5.1

Checkmk 1.2.4p5
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Need some help with an Snmp Entry.

Post 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/
Be sure to check out our Knowledgebase for helpful articles and solutions!
skyerjoe
Posts: 56
Joined: Thu Mar 22, 2012 2:57 am

Re: Need some help with an Snmp Entry.

Post 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
Nagios Core 3.5.1

Checkmk 1.2.4p5
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Need some help with an Snmp Entry.

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
skyerjoe
Posts: 56
Joined: Thu Mar 22, 2012 2:57 am

Re: Need some help with an Snmp Entry.

Post 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
Last edited by skyerjoe on Fri Sep 16, 2016 7:00 am, edited 1 time in total.
Nagios Core 3.5.1

Checkmk 1.2.4p5
skyerjoe
Posts: 56
Joined: Thu Mar 22, 2012 2:57 am

Re: Need some help with an Snmp Entry.

Post 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
Nagios Core 3.5.1

Checkmk 1.2.4p5
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Need some help with an Snmp Entry.

Post 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?
Former Nagios Employee
skyerjoe
Posts: 56
Joined: Thu Mar 22, 2012 2:57 am

Re: Need some help with an Snmp Entry.

Post 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
Nagios Core 3.5.1

Checkmk 1.2.4p5
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Need some help with an Snmp Entry.

Post 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!
Former Nagios employee
skyerjoe
Posts: 56
Joined: Thu Mar 22, 2012 2:57 am

Re: Need some help with an Snmp Entry.

Post 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
Nagios Core 3.5.1

Checkmk 1.2.4p5
Locked