Skip to content

Commit

Permalink
Merge pull request communi5#4 from neotel-at/improve-readme
Browse files Browse the repository at this point in the history
Improve README for CentOS installation
  • Loading branch information
doktorsip authored Feb 16, 2023
2 parents 7998490 + 5906a4a commit 5586e10
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,28 @@ cstaEnabled = false
notificationEnabled = false
### 3rd party XMS
resourceCountersEnabled = false
resourceLicensesEnabled = false
xmsEnabled = false
```

### Installation on CentOS/RedHat

Install RPM package:

rpm -Uvh prometheus-c5-exporter_1.1.7_linux_amd64.rpm

Adjust configuration to in `/etc/prometheus-c5-exporter.conf` to only enable XMS metrics:

Restart and check status:

systemctl daemon-reload
systemctl restart prometheus-c5-exporter.service
systemctl status prometheus-c5-exporter.service

Ensure we allow external access to exporter port 9055:

iptables -A INPUT -i eth0 -p tcp --dport 9055 -j ACCEPT
vi /etc/sysconfig/iptables # or iptables-save

## Building and Packaging

To build prometheus-c5-exporter only a recent Go version (v1.15+) is required.
Expand Down

0 comments on commit 5586e10

Please sign in to comment.