CloudFabrix Documentation
Asset IntelligenceOps IntelligenceObservabilityRobotic Data
  • Getting Started
  • CloudFabrix Overview
  • AIOps Platform
  • AIOps Solutions
  • CloudFabrix RDA
    • RDA - Overview
      • RDA - Terminology and Artifacts
    • RDA - Installation
      • Linux OS
      • Windows OS
      • Mac OS
      • RDA Client
      • Worker Nodes
      • Event Gateway
      • Edge Collector
      • Log Shippers
        • Filebeat
        • Fluentd
        • Rsyslog
        • Syslog (udp)
        • Splunk forwarder (Windows and Linux)
        • Winlogbeat (Windows)
      • RDA Log Archives
    • RDA - Administration
      • RDA - Configuration
    • RDA - User Guide
      • RDA - AIOps Studio
        • AIOps Studio - Solution Packages
        • AIOps Studio - Pipelines
        • AIOps Studio - Explore
        • AIOps Studio - Administration
        • RDA CLI in UI
        • AIOps Studio - Examples
          • File Operations
          • Loop Operations
          • Data Management Operations - cfxdm
          • Data mapping - cfxdm - dm:eval
          • Filters - cfxdm - dm:filter
          • Data mapping - cfxdm - dm:map
          • Metadata - cfxdm-dm:metadata
          • Data mapping - cfxdm - dm:functions
            • Any_non_null
            • Concat
            • Datetime
            • Date and Timestamp
            • Evaluate
            • Fixed
            • Highest
            • Join
            • jsonDecode
            • Lower
            • Lowest
            • Match
            • Minutes_Between
            • Replace
            • Seconds_Between
            • Slice
            • Split
            • Strip
            • To_Numeric
            • Ts_To_Datetimestr
            • Upper
            • When_Null
          • Data Mapping cfxdm - dm:sort
          • Data Mapping cfxdm - dm:head
          • Data Mapping cfxdm - dm: tail
          • Data Mapping cfxdm - dm: dedup
          • Data Mapping cfxdm - dm:selectcolumns
          • Data Mapping cfxdm - dm:fixcolumns
          • Data Mapping cfxdm - dm:mergecolumns
          • Data Mapping cfxdm - dm:describe
          • Data Mapping cfxdm - dm:save
          • Data Mapping cfxdm - dm:savedlist
          • Data Mapping cfxdm - dm:recall
          • Data Mapping cfxdm - dm:concat
          • Data Mapping cfxdm - dm:groupby
          • Data Mapping cfxdm - dm:to_type
          • Data Mapping cfxdm - dm:enrich
          • Data Mapping cfxdm - dm:dns_ip_to_name
          • Data Mapping cfxdm - dm:dns_name_to_ip
        • AIOps Studio - Datasource Examples
          • Elasticsearch (v1)
      • RDA - Data Management (cfxdm)
        • cfxdm - dm:filter
        • cfxdm - dm:map
        • cfxdm - dm:functions
        • cfxdm - dm:sort
        • cfxdm - dm:head
        • cfxdm - dm:tail
        • cfxdm - dm:dedup
        • cfxdm - dm:selectcolumns
        • cfxdm - dm:mergecolumns
        • cfxdm - dm:describe
        • cfxdm - dm:hist
        • cfxdm - dm:bin
        • cfxdm - dm:fixcolumns
        • cfxdm - dm:save
        • cfxdm - dm:savedlist
        • cfxdx - dm:recall
        • cfxdm - dm:concat
        • cfxdm - dm:groupby
        • cfxdm - dm:enrich
        • cfxdm - dm:to_type
        • cfxdm - dm:dns_ip_to_name
        • cfxdm - dm:dns_name_to_ip
        • cfxdm - files:loadfile
      • RDA Terminal
        • Examples using Terminal / Commandline
    • RDA - Bot Documentation
    • RDA - Datasource Integrations
      • AppDynamics
      • Dynatrace
      • Dell EMC Unity
      • Elasticsearch
      • Infoblox NetMRI
      • Kubernetes Cluster
      • Linux OS
      • Microsoft Windows Server OS
      • Nagios XI
      • NetApp Clustered ONTAP
      • PRTG Network Monitor
      • VMware vCenter
      • VMware vRealize Operations
    • RDA - Python API
      • Class CaaSDataset
      • Class CaaSClient
      • Python API Example
    • RDA - FAQ
      • Download and Installation
      • Troubleshooting
  • CFXQL - CFX Query Language
    • CFXQL User Interface
  • Operations Intelligence Analytics (OIA)
    • Solution Overview
      • Navigating cfxOIA
      • Any title
    • Administration Guide
      • Active Directory Integration
      • Add Customer
      • First Steps
      • OIA Users
      • Add New Users and Assign Roles
      • Add Environment
      • Add Gateway
      • Add DataSource
      • Add Project
      • Project Configuration
      • Stacks
      • Teams
    • User Guide
      • Incidents
        • Incident
        • Stack
      • Alerts
      • Outcomes
  • INTEGRATIONS
    • Zabbix
    • AppDynamics
    • Dynatrace
    • NetApp C Mode
    • NetApp 7 Mode
    • Splunk Enterprise
    • VMware vCenter
  • OBSERVABILITY
  • Observability - IT Infrastructure Monitoring (cfxPulse)
    • Getting Started
    • Solution Overview
    • Installing cfxPulse Collector
    • Administrator Quick Start Guide
      • Prerequisites
      • Accessing cfxPulse
      • Configuration of cfxPulse
      • Setting Up Monitoring
      • Monitoring Using Prometheus Agents
      • How to add Prometheus Agent Details
      • Discovery of Devices
      • Monitoring Dashboard
    • End User Quick Start Guide
      • Portal Navigation
      • Monitoring Analysis
      • Monitoring
      • Alerts and Incidents
      • Reports
      • NOC/Ops
      • Configuration Backups
      • Interacting With Tabular Reports
      • Creating Custom Dashboards
  • Observability - Log Monitoring & Analytics (CFX LogAnalytics or CLA)
    • Getting Started
    • Solution Overview
    • Solution Key Components
    • Log Forwarding
      • Install and Configure Logstash
      • Sending Logs to Logstash Forwarder
    • Log Collection
      • Collecting Logs from Linux
    • Log Transformation & Enrichment
    • Logstash Installation
      • How to install Java / Logstash on client side
  • Asset Intelligence Analytics (AIA) Solution
    • Getting Started
    • Solution Overview
    • AIA Roles
      • Platform Admin
        • Managed Service Provider (MSP)
        • Authentication Server
        • Set Up Services
        • Organizations
        • Users
      • Organization Admin
        • My Organizations
      • Organization Executive
      • Organization User
    • AIA Tasks, Functions
      • Home Page Navigation
      • Filters
      • Settings Menu
      • Notifications
      • Authentical Server
      • How to Add, Edit, Delete MSP
      • Actions
        • Services
        • Files
        • Dictionaries
        • Discovery Jobs
        • Snapshots
        • Clambda Jobs
        • State Operations
        • Replacement Rate
      • Details
        • Overall
        • POR Insights
        • HW Assets
        • SW Assets
        • Contracts
        • App Dependency
        • Asset List
    • AIA API
    • Enterprise Discovery
      • cfxEdgeCollector
        • Deployment of cfxEdgeCollector
        • Configuration of cfxEdgeCollector
        • cfxEdgeCollector Command Line Options
        • cfxEdgeCollector Help Command
        • Working With cfxEdgeCollector
        • cfxEdgeCollector Auto Export
    • Asset Intelligence & Analytics (AIA) (Delete)
  • CloudFabrix SaaS
    • Signup
    • Navigation
    • User Roles
  • Support
    • Contact Support
Powered by GitBook
On this page
  • Installation
  • a) Node Exporter Installation on Linux:
  • b) Prometheus Exporter for RabbitMQ Installation on Linux
  • c) Process Exporter
  • d) Prometheus exporter for windows machines using WMI.
  • e) Prometheus Exporter for Oracle on Linux
  1. Observability - IT Infrastructure Monitoring (cfxPulse)
  2. Administrator Quick Start Guide

Monitoring Using Prometheus Agents

Monitoring using various Prometheus Agents

Depending on which OS, the application running, install Prometheus agent by using respective OS agent.

Installation

a) Node Exporter Installation on Linux:

Step 1: Download Prometheus agent from url

wget https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz

Step 2: Extract tar file

tar -zxf node_exporter-0.18.1.linux-amd64.tar.gz

Step 3: Navigate to the directory

cd node_exporter-0.18.1.linux-amd64
cp node_exporter /usr/local/bin/

Step 4: Update node_exporter.service by navigating the folder as shown below

vi /etc/systemd/system/node_exporter.service
[Unit]
Description=Node Exporter
After=network.target
 
[Service]
User=root
Group=root
Type=simple
ExecStart=/usr/local/bin/node_exporter  --collector.bcache --collector.bonding --collector.conntrack --collector.cpu --collector.cpufreq --collector.diskstats --collector.drbd --collector.edac --collector.entropy --collector.filefd --collector.filesystem --collector.hwmon --collector.infiniband --collector.interrupts --collector.ipvs --collector.ksmd --collector.loadavg --collector.logind --collector.mdadm --collector.meminfo --collector.meminfo_numa --collector.mountstats --collector.netclass --collector.netdev --collector.netstat --collector.nfs --collector.nfsd --collector.ntp --collector.pressure --collector.processes --collector.qdisc --collector.runit --collector.sockstat --collector.stat --collector.supervisord --collector.systemd --collector.tcpstat --collector.time --collector.timex --collector.uname --collector.filesystem.ignored-mount-points="" --collector.perf --collector.diskstats.ignored-devices=""

 
[Install]
WantedBy=multi-user.target

Step 5: Provision as Linux Service

sudo systemctl daemon-reload
sudo systemctl start node_exporter
sudo systemctl status node_exporter

Step 6: Update firewall ports and restart firewall service

sudo firewall-cmd --permanent --add-port=9100/tcp
sudo firewall-cmd --reload

b) Prometheus Exporter for RabbitMQ Installation on Linux

Step1: Download agent

wget https://github.com/kbudde/rabbitmq_exporter/releases/download/v0.29.0/rabbitmq_exporter-0.29.0.linux-amd64.tar.gz

Step 2: Extract rar file

tar -zxf rabbitmq_exporter-0.29.0.linux-amd64.tar.gz

Step 3: Navigate to the directory

cd rabbitmq_exporter-0.29.0.linux-amd64

Step 4: Copy rabbimq_exporter to /usr/local.bin

cp rabbitmq_exporter /usr/local/bin/

Step 5: Open rabbtmq_exporter.service for editing and update the properties including port number

vi /etc/systemd/system/rabbitmq_exporter.service
[Unit]
Description=Node Exporter
After=network.target

[Service]
User=root
Group=root
Type=simple
Environment=RABBIT_CAPABILITIES=bert,no_sort \
ExecStart=/usr/local/bin/rabbitmq_exporter \
RABBIT_EXPORTERS="[exchange node overview queue connection cluster shovel]"\
PUBLISH_PORT=9090

[Install]
WantedBy=multi-user.target

Step 6: Provision as linux service and update firewall rules

systemctl daemon-reload
systemctl start rabbitmq_exporter
systemctl status rabbitmq_exporter

Step 7: Update firewall ports and reload service

firewall-cmd --permanent --add-port=9090/tcp
firewall-cmd --reload

c) Process Exporter

Step 1: Download agent

 wget https://github.com/ncabatoff/process-exporter/releases/download/v0.5.0/process-exporter_0.5.0_linux_386.rpm

Step 2: Extract the file

# rpm -ivh process-exporter_0.5.0_linux_386.rpm

Step 3: open all.yaml file and update the process names.

process_names:
  - name: "{{.ExeFull}}"
    cmdline:
    - '.+'

Step 4: Provision as Linux service

#systemctl daemon-reload
#systemctl start process-exporter
#systemctl status process-exporter

Step 5: Update firewalls and ports. Default port is 9256

# firewall-cmd --permanent --add-port=9256/tcp
# firewall-cmd --reload

d) Prometheus exporter for windows machines using WMI.

Step 1: Download the msi file

https://github.com/martinlindhe/wmi_exporter/releases/download/v0.9.0/wmi_exporter-0.9.0-amd64.msi

Step 2: Open powershell and execute the following commands. Please note the commands differ for windows, IIS, MSSQL, etc and are mentioned below as sub-steps

Step 2a: For Windows Only

msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=os,cpu,cs,dns,logical_disk,memory,net,process,service,system,tcp LISTEN_PORT=9182

Step 2b: For IIS only

msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=os,cpu,cs,dns,logical_disk,memory,net,process,service,system,tcp,iis LISTEN_PORT=9182

Step 2c: For MSSQL

msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=os,cpu,cs,dns,logical_disk,memory,net,process,service,system,tcp,mssql LISTEN_PORT=9182

Step 2d: For all-in one VM

msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=os,cpu,cs,dns,logical_disk,memory,net,process,service,system,tcp,iis,mssql LISTEN_PORT=9182

Step 3: You need to enable the respective port in firewall.

Note: We cannot run multiple wmi_exporter in single vm, before executing the command, please check if it needs to be enabled for IIS and MSSql etc.

e) Prometheus Exporter for Oracle on Linux

Step 1: In order to run, you'll need the Oracle Instant Client Basic for your operating system. Only the basic version is required for execution.

Select the zip file based on your os type and download the Basic Package (ZIP) Version 18.5.0.0.0 (any zip file in this version) download zip file. At the end of the page, you will have will have steps to how to Installation of ZIP files. Follow those steps carefully.

Step 2: Download the Oracle db exporter agent

 wget https://github.com/iamseth/oracledb_exporter/releases/download/0.2.2/oracledb_exporter.0.2.2.linux-amd64.tar.gz

Step 3: Extract the file

# tar -zxf oracledb_exporter.0.2.2.linux-amd64.tar.gz
# cd oracledb_exporter.0.2.2.linux-amd64
# nohup ./oracledb_exporter -default.metrics=/home/oracle/oracledb_exporter.0.2.2.linux-amd64/default-metrics.toml  -web.listen-address :9161 &

Step 4: Enable firewall ports, 9162 is the default port

# firewall-cmd --permanent --add-port=9162/tcp
# firewall-cmd --reload

Step 5: Additional information, set the following paths as an example

export ORACLE_HOSTNAME=<Fully Qualified Domain Name>
export ORACLE_UNQNAME=test1 <unique name chosen>
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1
export ORACLE_SID=test1
export PATH=/usr/sbin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/opt/glibc-2.14/lib:/u01/app/oracle/instantclient_18_5/instantclient_18_5

PreviousSetting Up MonitoringNextHow to add Prometheus Agent Details

Last updated 5 years ago

Check Prometheus exporter for RabbitMQ metrics

Please click here for more information on process exporter .

Please refer the exporter at Github:

Link for Oracle Instant Client Basic: .

https://github.com/kbudde/rabbitmq_exporter/releases/tag/v1.0.0-RC6
https://github.com/ncabatoff/process-exporter
https://github.com/iamseth/oracledb_exporter
https://www.oracle.com/database/technologies/instant-client/downloads.html