hi.

i'm so sorry to ask that, but i've been trying for days to avoid asking
for help about this basic stuff... but there's no way i can get it
working :(

anyway...

i've got a bunch of servers with the snmp deamon running and i get all
this data from a centralised machine.

I would like to extent the use of the snmp tree, create a new OID which
gets the value from a .perl script

I would like to do some thing as easy as this:


in my snmpd.conf


pass    .1.2.3.4.5.6.7.8.9.10  /root/myperl.pl



then in this myperl.pl

something as simple as.....


echo "77";

and finally from the computer that gets all the data...


snmget -v2c -c .... and so on....


so.... it's really frustating because i haven't even achieved to make
this easy example work.

Could you please put me an example of the three elements
(snmpd.conf, .pl and snmpget) so this easy example works? 

The snmpget command always says it didn't find the OID i'm asking for.

Thank you.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to