SNMP Command
"HOUASLI, Samir via Net-snmp-coders" <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <DB8PR02MB56741B6F720BCDEFBF0DCF87E93E0@DB8PR02MB5674.eurprd02.prod.outlook.com> |
Good morning,
I want your help for a subject about the SNMP command.
I am using linux and I want to use a SNMP command to see the description of an OID.
Here is a section from the mib:
sysOperEvalNodeCmdOrder OBJECT-TYPE
SYNTAX INTEGER
{
undefined (0),
oper (1),
preoper (2),
eval (3),
unknown (4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Command to set a single node to an OPER /EVAL state:
Undefined (0),
Set node in Operational mode (1),
Set node in PreOperational mode (2),
Set node in Evaluation mode (3),
Set node in Unknown mode (4)"
::= { sysOperEval 2 }
I use this command: snmpd -m /home/snet/execution/staticCFG/MibCoSNET.txt -v1 -c public localhost .1.3.6.1.4.1.4747.14.5.16.2.0 which allows me to have as an output: LOG-MIB::sysOperEvalNodeCmdOrder.0 = INTEGER: oper(1) .
I want to have as an output the red line which is the description of the OID. Can you tell me which command allows me to have that in the output of the terminal?
Thank you
Have a nice day
Samir HOUASLI
Software Engineer MOE ODS
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders