Guys, I need your help. I configured out SNMP Agent to execute script.
For example:
##############################
#############################################
# SECTION: Extending the Agent
#
# You can extend the snmp agent to have it return information
# that you yourself define.
# exec: run a simple command using exec()
# arguments: [oid] name /path/to/executable arguments
rocommunity public
exec .1.3.6.1.4.1.2021.2789.51 SERs /opt/snmp/scripts/ser.sh
############################################################################
Then I am trying to run command "snmpwalk".
#snmpwalk -c public -v 1 localhost .1.3.6.1.4.1.2021.2789.51
The output from this command should show me more than 50 values but it
shows only 19 values.
How can I get all output from the script - " ser.sh" which SNMP Agent
execute?
Thanks,
Askar
# SECTION: Extending the Agent
#
# You can extend the snmp agent to have it return information
# that you yourself define.
# exec: run a simple command using exec()
# arguments: [oid] name /path/to/executable arguments
rocommunity public
exec .1.3.6.1.4.1.2021.2789.51 SERs /opt/snmp/scripts/ser.sh
############################################################################
Then I am trying to run command "snmpwalk".
#snmpwalk -c public -v 1 localhost .1.3.6.1.4.1.2021.2789.51
The output from this command should show me more than 50 values but it
shows only 19 values.
How can I get all output from the script - " ser.sh" which SNMP Agent
execute?
Thanks,
Askar
