Hi,

i'm sorry if i'm asking about something just impossible or really weird,
i'm a newbie. 

The thing is that i've already got this in the snmpd.conf file:

pass    .1.3.6.1.4.1.2021.255    /home/monitor/tests/extensio.pl

When for example i do this:

# snmpget -v2c -c cdpublicmon localhost .1.3.6.1.4.1.2021.255.8.1.7  
UCD-SNMP-MIB::ucdavis.255.8.1.7 = STRING: "12189"

I get the value i want, which is great. 

But next step would be to pass some var to the perl script dynamically.

I've read about the snmpset command, but i haven't seen any information
or example about how to add this to my working perl script i've already
got. 

I would like to create .1.3.6.1.4.1.2021.255.8.1.8, which needs a var
set during the execution time. Is that possible? 
I guess i could create a new OID and make the perl script read that
information, but i don't know where to start from.
I would appreciate any help on that, thank you very much.




-------------------------------------------------------------------------
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