Page 1 of 1

Monitoring Cluster Openshift

Posted: Thu Jan 18, 2024 12:38 pm
by occ
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?

Re: Monitoring Cluster Openshift

Posted: Fri Jan 19, 2024 1:10 pm
by snapier3
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.
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.
Using this feature you can craft an NRDP POST Payload.
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 ;)

Re: Monitoring Cluster Openshift

Posted: Sun Jan 21, 2024 9:31 pm
by anniesteuber
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