Hello,
I need to monitor the Openshift cluster using Nagios XI.
I haven't found many solutions for Nagios. Do you know if the Docker Wizard works correctly on the Openshift cluster? I need to monitor the resources of the cluster nodes (CPU, RAM, state), the state/replicas/resources of the pods.
Otherwise, do you have other ways to perform monitoring?
Monitoring Cluster Openshift
Re: Monitoring Cluster Openshift
Configuring NXI as a signal receiver for alerts (Passive checks) is the only way I've done it.
Take a look at these OpenShift docs;
https://docs.openshift.com/container-pl ... ing-alerts
There you see this part.
Note: NRDP Now lets you use JSON, Docs a little outdated but, the method is still the same.
https://assets.nagios.com/downloads/nag ... erview.pdf
To receive the alerts, create a passive service on the host of your choosing and use that NRDP to process the forwarded service states or execute handlers
Take a look at these OpenShift docs;
https://docs.openshift.com/container-pl ... ing-alerts
There you see this part.
Using this feature you can craft an NRDP POST Payload.For webhook receivers:
Add the endpoint to send HTTP POST requests to.
Select Show advanced configuration if you want to edit the default option to send resolved alerts to the receiver.
Note: NRDP Now lets you use JSON, Docs a little outdated but, the method is still the same.
https://assets.nagios.com/downloads/nag ... erview.pdf
To receive the alerts, create a passive service on the host of your choosing and use that NRDP to process the forwarded service states or execute handlers
-
- Posts: 1
- Joined: Sun Jan 21, 2024 9:30 pm
Re: Monitoring Cluster Openshift
Nagios XI is a popular monitoring tool that can be used to monitor various aspects of an Openshift cluster. While the Docker Wizard in Nagios XI may not have specific support for Openshift out of the box, you can still monitor the resources and state of the cluster nodes, pods, and other components by leveraging Nagios plugins and custom configurations. Hello Neighbor