Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_log and retaining state changes #2036

Open
HerbertKoelman opened this issue Dec 2, 2024 · 2 comments
Open

check_log and retaining state changes #2036

HerbertKoelman opened this issue Dec 2, 2024 · 2 comments

Comments

@HerbertKoelman
Copy link

Hello,

I'm using the plugin check_log (you'll never guess :-) ) to check that a log doesn't contain any error. When an error entry is found my service goes from Ok to Critical. And that's just fine.

But when the next check interval is reached, then criticial state is reverted to Ok.

My question is : how can I stop service from polling when it's in critical status and force an operator to aknowledge an error condition ?

The way it stands is that when an errors is detected at night, then in the morning no alert can be seen on our dashboards.

Thanks for your help.

Regards

@garadar
Copy link

garadar commented Dec 12, 2024

Hi @HerbertKoelman

I'm not familiar with this check, do you have the source somewhere (nagios forge for example).

In this case, I will have created a status file and if this file exists, I will quit check_log without going any further.

This is forcing you to delete the file status it manually.

@HerbertKoelman
Copy link
Author

Hello, thanks for the feed back. I'll try it out as soon as possible :-)

I found this check in the nagios addons.

By the way I have a question: how do I get my hands on the plugins provided specifically for Shinken ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants