Link to home
Start Free TrialLog in
Avatar of KurtVon
KurtVon

asked on

SNMP from shell scripts

Is there a Linux library that allows SNMP requests to call a shell script?  I know it is possible to call a shell script on an SNMP set, but I'm looking for a simple way to gather information from a shell script, even if it's just wrapping the script output in an SNMP response.

Thanks.
Avatar of guruyaya
guruyaya

Try this network tool, I belive it can use snmp

http://www.dest-unreach.org/socat/
Hmmm,

You can always use snmp from within your script...

snmpwalk is what you use to do that...

Cant remember syntax right now, let me know if you want it...

//jonas
Avatar of KurtVon

ASKER

I don't need a shell script for accessing SNMP.  What I need is a shell script to respond to SNMP requests.  In other words, when an SNMP request comes in I'd like the server to activate a shell script that generates the values SNMP will return to the client.

Basically I'm trying to pass off writing the service to someone else with very limited programing experience.
ASKER CERTIFIED SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KurtVon

ASKER

That looks like what I was trying to find.  Thanks.
A pleasure:)