Hi Niels,

This is my full command:

Sender:
update="a1 a1 a2 a3 ...a400 " #long string count from a1 to a400 snmpset -v1 -c private 192.168.4.113 *.1.3.6.1.4.1.5* *s* "${update}"


Receiver:
            +>Added 1 more line in  '/'/etc/snmp/snmpd.conf/"

*pass* *.1.3.6.1.4.1.5*    /bin/sh      /usr/local/sbin/passtest

             +> /usr/local/sbin/passtest

                    #!/bin/sh -f
                    PATH=$path:/bin:/usr/bin:/usr/ucb:/sbin
                    PLACE=".1.3.6.1.4.1.5"

                    if [ "$1" = "-s" ]; then
*echo $* > /tmp/passtest.log*
                    exit 0
                    fi

               +> Output : cat //tmp/passtest.log/

-s .1.3.6.1.4.1.426.8.1.20.5.1.2 string a1 a2 a3 .... a210 *a211*

# my full string output must be "a1 a2 a3 ...a400 ",but i down know why it only show from a1 to *a211*

Anyone can give me some ideas to solve this issue!

Thanks
Nam.




------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to