Skip to main content

Oracle ZS Rest API

Pack Assets

Monitored Objects

The Pack Oracle ZS collects metrics for:

  • Hardware
  • Pools

Collected Metrics

Metric nameDescriptionUnit
chassis statusChassis state
cpu statusCPU state
disk statusDisk state
fan statusFan state
memory statusMemory state
power supply statusPower supply state
slot statusSlot state


To control your Oracle ZS, the Rest API must be configured. E.g:


  1. Install the Centreon Plugin on every Poller:
yum install centreon-plugin-Hardware-Storage-Oracle-Zs-Restapi
  1. On the Centreon Web interface in Configuration > Monitoring Connector Manager, install the Oracle ZS Rest API Pack

Host configuration

  • Add a new Host and apply the HW-Storage-Oracle-Zs-Restapi-custom Host Template

Once the template applied, some Macros have to be configured:

XAPIPORTPort used (Default: 215)
XAPIPROTOSpecify https if needed (Default: 'https')
APIEXTRAOPTIONSAny extra option you may want to add to the command (eg. a --verbose flag)

How to test the Plugin and what are the main options for?

Once the plugin installed, log into your Centreon Poller CLI using the centreon-engine user account and test the Plugin by running the following command (Parameters such as api-username or api-passwordhave to be adjusted):

/usr/lib/centreon/plugins/ \
--plugin=storage::oracle::zs::restapi::plugin \
--mode=pools \
--hostname='' \
--port='215' \
--proto='https' \
--api-username='myapiusername' \
--api-password='myapipassword' \

Expected command output is shown below:

OK: All pools are ok | ''=19730301416448B;;;0;33432025432064 ''=13176557201408B;;;0;33432025432064 ''=59.02%;;;0;100
Pool 'Pool_Exadata' status : exported
Pool 'Pool_Exalogic' status : online, space usage total: 30.41 TB used: 17.94 TB (59.02%) free: 11.98 TB (39.41%)

The command above monitors pools (--mode=pools).

It uses api-username (--api-username='myapiusername'), an api-password (--api-password='myapipassword') and it connects to the host (--hostname='') on the port 215 (--port='215') using https (--proto='https').

All the options as well as all the available thresholds can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/ \
--plugin=storage::oracle::zs::restapi::plugin \
--mode=pools \


Troubleshooting plugins