6.2.1
Table Of Contents
- Application Discovery Manager Administration Guide
- Contents
- About This Book
- Overview
- Installing ADM
- Setting Up ADM
- Securing ADM
- Maintenance
- Upgrading ADM
- Migrating to a New Appliance
- Troubleshooting ADM
- Uninstalling ADM
- Time Zones
- ADM API Tutorial
- Index
VMware, Inc. 61
B
ThisappendixdescribestheADMAPIandexplainshowtoaccessanduseit.Topicsinclude:
“A P I Features”onpage 61
“WebServicesAPI”onpage 63
API Features
TheAPIofADMallowsclientstoqueryitsdatabaseandexportpartsofitbymeansofawebservicesAPI.
Thefollowingcasesareexplainedinthefollowingsections:
WritingthesystemstatusintoanXMLoutputfile;“Insight_control”onpage 61.
SynchronizationofCMDBapplicationswithdataofADM;“A s y n c h API”onpage 62.
PopulationofthirdpartyapplicationswithdataofADM.
DumpingofentiredatabasetablesanduploadingtoanFTPserver;“DumpAPI”onpage 62.
Accesstofiltereddatabybulk(paginated);“BulkAPI”onpage 63.
YoucandividetheAPIintothreesections,wheretwoarededicatedtoqueryingtheADM(DumpandBulk),
andthethirdisinchargeoftrackingthosequeries(Asynch).
Insight_control
TheInsight_controlutilitywritesthesystemstatusintoanXMLoutputfile.
To run Insight_control utility
1Logintotheapplianceasuserroot.
2 Changethedirectorybytyping:
cd /home/nlayers/Seneca/management/APIs
3Typethefollowingcommandtogenerateasystemstatusoutputfile:
./InSight_control.sh systemstatus --get --output /tmp/systemstatus
Service Status
Servicestatuscanbe:
Running:Theserviceisrunning.
Disabled:TheADMintentionallystopstheservice.
NotRunning(PurposelyStopped):Theservicewasstoppedintentionally,forexample,aservicewas
manuallystoppedbytheadm_control.pl --stopcommand.
ADM API Tutorial
B
NOTEYoucansubstituteadifferentfileandpathfor /tmp/systemstatus.