Creating a custom sensor using Monitoring option

About this task

This topic explains how to create a custom sensor using InformixHQ Monitoring option.

Procedure

  1. Select the desired server from InformixHQ.
  2. Click on Monitoring option from side menu.
    CS-1
  3. Click on + Add Sensors button.
    CS-2
  4. Add Sensors pop up appears. For creating a custom sensor, click on Create Custom Sensor button.
    CS-3
  5. Create Custom Sensor button will navigate user to Create Sensor setup page.
    CS-4
  6. Click on the Select button to view the list of servers.
    CS-5
  7. Select the desired server from the server list.
  8. After selecting the desired server , write a query in text area & click on Run button to execute the query.
    CS-6
  9. Clicking on Run button will show query data preview.
    • Transpose : Transpose (or pivot) will transform rows into columns based on the selected columns.
    • Primary Key : If a query returns multiple rows describing multiple objects (e.g.: dbspaces), the primary key will be used to uniquely identify each object. Null and duplicate values will be ignored.
    CS-7
  10. Click on Next button to navigate to Metrics tab. Metrics tab defines metrics for your columns. Change values as per the requirements.
    • Name : The display name of metric.
    • Unit : The unit determines how will this metric be displayed by default.
    • Default value : The default value of this metric if the query returns a null or invalid value. If blank, an invalid value will be ignored.
    • Calculate delta : If enabled, the sensor will calculate and store the difference per second between the latest reading and the previous reading.
    CS-8
  11. After making the changes click on Next button to navigate to the Sensor tab. Sensor tab provides all the related details for a sensor as per the requirements.
    • ID : The ID to uniquely identify this sensor. Can only use lowercase characters, digits, and single underscores (e.g.: my_custom_sensors).
    • Name : The display name of this sensor.
    • Descriptions : Add detailed description of the sensor.
  12. User can change Default run interval and Data retention interval as per the requirements.
    CS-9
  13. Click on Next button to navigate to Preview tab. Preview tab shows query preview for a custom sensor.
    CS-10
  14. View your Sensor JSON Preview.
  15. Click on Save Sensor button and Confirm to create a custom sensor.
  16. After confirming, user can view list of all custom sensors created for a selected server on Sensor management page.
    CS-11
  17. User can view recently added custom sensors in the sensor list from Monitoring page using + Add Sensors model pop up.
    CS-12