Overview of how to get OIDInfo via CLI, or via the GUI, in Smarts
Smarts 10.1.X
To run the Smarts IP OIDInfo tool via CLI, do the following:
<BASEDIR>/IP/smarts/conf/oidinfo/
sm_edit ../conf/oidinfo/oidInfo.conf
Switch ab1def-ghij.jklmno.com Monitoring *
Switch abc.def.com Discovery *
Router ghijklmno.pqr.stu.com Discovery *
Switch host-x.x.x.x Discovery *
<BASEDIR>/IP/smarts/local/conf/oidinfo/
sm_perl sm_oidInfo.pl -s <domain name>
-----------------------------------------------------------------
Details Entered:-
Current Installation : /data/redhat5/IP/IP92/IP/smarts
Broker : x.x.x.x:1217
Server Name : NAME-IP-92
Gather the OIDs and descriptions
-----------------------------------------------------------------
Read input device file succesfully
Connected to: NAME-IP-92
Will gather info for <Switch><host-x.x.x.x><Discovery><*>
We will now gather OID data for
<Switch><host-x.x.x.x><Discovery><*>
Completed gathering OID data
We have completed collecting all OID data.
Please find the info in the following file(s)
:>/data/redhat5/IP/IP92/IP/smarts/local/logs/oidInfoLogs/Switch_host-x.x.x.x.txt
To do so from the Smarts UI:
./sm_adapter -s IPDomain -Doid=".SYSOId" utils/ic-oid-info.asl
example: ./sm_adapter -s INCHARGE-AM-PM -Doid=".1.3.6.1.4.1.9.1.3148" utils/ic-oid-info.asl |tee > .1.3.6.1.4.1.9.1.3148.out