OpsRampCLI Introduction
OpsRampCLI (opcli) is a handy python-based command line utility for the HPE OpsRamp SaaS platform. Here are some common use cases:
Easily inject alerts using opcli postalerts
Bulk-delete or bulk-heal alerts using opcli getalerts action option
Generate Service Maps for many applications all at once based on a standard template Service Map using opcli cloneservicemaps, as illustrated in this video presentation: Managing an Azure Application Stack at Scale
Enrich OpsRamp with attributes from your CMDB or other sources with opcli importfromdatasource and an accompanying job file
Automatically apply higher per-device or per-interface/fs override thresholds based on .95 quantile criteria with opcli setbaselinethreshold
Contents:
- OpsRampCLI Introduction
- Installation
- Specifying OpsRamp API Credentials
- Usage
- opcli - CLI interface
- opcli options
- opcli getalerts
- opcli postalerts
- opcli webhookalerts
- opcli getincidents
- opcli getresources
- opcli importresources
- opcli addpropasmetriclabel
- opcli exportservicemaps
- opcli importservicemaps
- opcli cloneservicemaps
- opcli transformsvcmap
- opcli getservicemaps
- opcli getchildsvcgroups
- opcli getservicegroup
- opcli exportcustattrfile
- opcli importcustattrfile
- opcli getcustomattrs
- opcli importfromdatasource
- opcli customattrmetriclabel
- opcli getdiscoprofile
- opcli getalertesc
- opcli migratealertesc
- opcli getdevmgtpol
- opcli gettemplates
- opcli clonetemplates
- opcli metricsql
- opcli setbaselinethreshold
- opcli getintegrations
- opcli importintegrations
- opcli addazurearmintegration
- opcli addazureasmintegration
- opcli addkubernetesintegration
- opcli - CLI interface
- importfromdatasource Job File