Hello.
Thanks for the quick response. I understand the script.
How to implement this through the Net-SNMP?
1. I am editing a file /etc/snmp/snmpd.conf
/*pass .1.3.6.1.4.1.2021.8.4 test2 /usr/share/snmp/test2.sh*/
# cat test2.sh/*
#!/bin/sh
/bin/cat $1 >> /tmp/test2.new
*/
# /*snmpset -v3 -a
Is this what you are looking for? This would the content of your script
"program".
#!/bin/sh
param=$1
/*snmpset -v3 -a SHA -A STrP@SSWRD -x AES -X STr0ngP@SSWRD -l authPriv
-u snmpadmin host_ip .1.4.6.1.3.35514.4.1 s $param*/
- Ajay/**/Sharma
/*
*/
On 11/25/19 4:35 AM, Дровалев Роман wrot
Hello.
Tell me please. Is it possible with Net-SNMP to do the following?
I send the command to the agent:
/*snmpset -v3 -a SHA -A STrP@SSWRD -x AES -X STr0ngP@SSWRD -l authPriv
-u snmpadmin host_ip .1.4.6.1.3.35514.4.1 s "parameter #1"
*/
for this OID, the script "program" is executed on th