Re: passing parameters to a perl script through snmpd
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/02/2008, Jordi Moles <[email protected]> wrote: > i guess that from the perl script, i have to catch values with $ARGV Correct > when i do: > > *********** > snmpset -v 2c -c cdpublicmon localhost .1.3.6.1.4.1.2021.255.8.1.8 s "hi" > *********** > > what perl receives is something like this: > > ********* > -s > .1.3.6.1.4.1.2021.255.8.1.8 > string > ********* It should receive -s .1.3.6.1.4.1.2021.255.8.1.8 string hi Dave ------------------------------------------------------------------------- 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users