Hi,
I am setting error state at sub agent using funtion netsnmp_set_request_error to SNMP_ERR_RESOURCEUNAVAILABLE. But whever I am getting this value using snmpget command to retrieve this value. It is showing me the error
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
but it should give me the error like :
Error in packet
Reason: (resourceUnAvilable)
Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
Reason: (resourceUnAvilable)
Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
I don't know why I am not getting this output.. Some body help me to get this output
jigar.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
