Skip to content

Palulukas/wazuh-prometheus-exporter

 
 

Repository files navigation

Wazuh Prometheus exporter

Simple prometheus exporter for Wazuh server

System environments

Name Description
WAZUH_API_HOST Wazuh API host e.g 127.0.0.1 or wazuh
WAZUH_API_PORT Wazuh API port e.g 55000
WAZUH_API_USERNAME Wazuh API user for authorization
WAZUH_API_PASSWORD Wazuh API user password for authorization
EXPORTER_PORT Exporter listen port, default 5000
EXPORTER_LOG_LEVEL Exporter log level, default INFO, for debug use DEBUG

Deployment

The solution can be run as docker container or inside Kubernetes

Building docker container

docker build . -t wazuh-exporter:latest

or You can pull the existing image from DockerHub

docker pull kennyopennix/wazuh-exporter:latest

Example of Kubernetes deployment

cd deployment

Change variables WAZUH_API_HOST/WAZUH_API_PORT/WAZUH_API_USERNAME/WAZUH_API_PASSWORD

And run kubectl command for example for wazuh namespace

kubectl apply -f deployment.yaml -n wazuh

About

Wazuh prometheus exporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Other 0.9%