This is a limitation in the execute / pass / pass_persist infrastructure:
the truncation happens when creating the output to send to the script.
setPass() sets up the command string and the arguments into
passthru->command, which is a statically allocated buffer. setPassPersist()
has the same prob
On 12/13/2013 1:52 PM, Niels Baggesen wrote:
On Thu, Dec 05, 2013 at 06:04:22PM +0800, namgmail wrote:
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*
On Thu, Dec 05, 2013 at 06:04:22PM +0800, namgmail wrote:
> 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}"
I would like
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.
Den 04-12-2013 07:09, namgmail skrev:
> Now it work if i add "-Oa" or"-OT" in the snmpset command.I can see
> readable string .
>
> But it shows only half of string not full string...
Are you it isn't the agent that truncates the string?
Try adding -d to the snmpset command to see the packets c
On 12/4/2013 6:55 AM, Magnus Fromreide wrote:
Hi Magnus Fromreide,
Thank you so much for your valuable suggestions.
Now it work if i add "-Oa" or"-OT" in the snmpset command.I can see
readable string .
But it shows only half of string not full string...
Thanks,
Have a nice working day!
Nam.
On Tue, 2013-12-03 at 10:22 +0800, namgmail wrote:
> Hi pro,
>
> I have a problem with SNMPSET ,this is my command:
>
> snmpset -v1 -c private
> 192.168.x.x.1.3.6.1.4.1.426.8.1.20.5.1.1 s
>
>
> If it's short string it work fine but with long string it automatic
> convert to