Showing results for 
Show  only  | Search instead for 
Did you mean: 

Openshift Pod - Alert if state is not ready.


Hi! we where wondering if is possible to monitor (and how) the state of the pod as seen at the Openshift console in case that a pod is not ready.


DynaMight Leader
DynaMight Leader

Right now there is no such function out of the box. It may be possible by creating ActiveGate plugin that will fetch some extra metrics from OpenShift api (if they are available).


Thanks @sebastian k. After checking all the options, we found out that in the case of unhealthy state a log is created. So we setup a log detection to check that use case. Will check tomorrow and report back. Thanks!

If you have log analytics license this will be great as well 🙂 Good luck!.


DynaMight Pro
DynaMight Pro

Our workaround for a similar case (i.e. raising alerts when any warning events are detected for a given namespace) has been implementing of synthetic HTTP monitors that poll the Kubernetes Events API and check the response via regex. Maybe you could do something similar for your pod state. Although I agree it is additional manual work to set up but better than nothing....