I’m using Check_MK Raw 2.4 0p5 and have Nutanix devices configured. There’s an alert called PRISM Alerts, and I want to know if there’s a way to filter the information that Check_MK collects. I only need it to report errors and status warnings, not the informational alerts.
I need to filter only the warning and critical messages.
The agent does only transmit events that are in the state not “acknowledged” and not “resolved”.
There is no severity selection or any other filtering in the agent at the moment.
The check itself only alerts if there is a warning or critical message inside.
If only informational messages are existing the check will stay OK. Only showing the informational messages.
This function is already present in the latest build of the Nutanix v4 mkp.
I had only no time to update the post here
The function i included is from sebastian.haeger@sva.de and allows the special agent to produce the log output as normal logwatch output.
This can be configured there inside the special agent config.
As every logwatch output you can filter and rewrite the criticality and so on.
Also i had no time to test it on a live system
If one of the answers helped you solve your question, please mark it as the solution. This way, you thank the person who helped you and also indicate that the question has been resolved. This, in turn, helps others who come across the same question.