Jump to content

SNMP bindings


xsherlock

Recommended Posts

It would be nice if the Bricks have SNMP bindings for the RedBrick, Ethernet and Wifi. So I would be able to query bricklets sensors for the status from some high level SNMP monitoring system. .  Generating traps would be another step.

 

Also the step down power suppply could have a wider range of supply 6V to 60V  so it can be used in the industrial enviroment where we have -48V power (that is usualy -56V really)

Link zu diesem Kommentar
Share on other sites

Hi,

 

not realy hard stuff:

for the first time you can use the shell bindungs and use the execute-clause in snmpd.conf to call the bash script from snmpd.

It's also possible to make this as persistent script, that communicate with snmpd each time you poll an OID.

 

Optionaly you can write this external script in any possible language and call it in a persitant way from snmpd - have a look at the man page 5 - snmpd.conf

 

Ok - if this is not fast enouth or to easy you can build your own snmp subagent - but be warned: documentation is somewhat short and ugly and very good C/C++-Skills and snmp-understandig is needed.

From that subagent you can do all that's needed to gather information from underlaying sensors also from tf or whateverelse or can translate callbacks in traps.

 

btw: i like snmp too!

 

 

regards

mabri

Link zu diesem Kommentar
Share on other sites

You could use openHAB. There are a Tinkerforge binding and a SNMP binding. With less effort you should be able to build a transformation from Tinkerforge to SNMP.

 

https://github.com/openhab/openhab/wiki

https://github.com/openhab/openhab/wiki/Tinkerforge-Binding

https://github.com/openhab/openhab/wiki/Snmp-Binding

Link zu diesem Kommentar
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...