Roger that, thanks for the response. I was able to modify "check_log" to do exactly what I was looking for.
-Adam
Search found 8 matches
- Wed Sep 25, 2019 3:09 pm
- Forum: Open Source Nagios Projects
- Topic: check_logfiles with report=long, how to limit to recent only
- Replies: 3
- Views: 946
- Wed Sep 25, 2019 12:39 pm
- Forum: Open Source Nagios Projects
- Topic: check_logfiles with report=long, how to limit to recent only
- Replies: 3
- Views: 946
check_logfiles with report=long, how to limit to recent only
Hi folks, I'm using check_logfiles v3.11.0.2 with "$options = 'report=long';". when it finds an error, instead of it just showing the errors since the last time the service was "OK", it shows all of the errors that match. Here's an example scenario .. Check 1: OK <New error goes ...
- Fri Sep 19, 2014 10:38 am
- Forum: Open Source Nagios Projects
- Topic: How to check a service once a day, without an "OK" message
- Replies: 13
- Views: 5299
Re: How to check a service once a day, without an "OK" messa
Hey hey, now there's one I didn't know about, thank you!
OK, between the passive check and that option, I think it's doable! Thanks very much for your time, Eric.
Best regards,
-Adam
OK, between the passive check and that option, I think it's doable! Thanks very much for your time, Eric.
Best regards,
-Adam
- Fri Sep 19, 2014 10:26 am
- Forum: Open Source Nagios Projects
- Topic: How to check a service once a day, without an "OK" message
- Replies: 13
- Views: 5299
Re: How to check a service once a day, without an "OK" messa
Thanks, that's part of the solution, but two more things need to happen 1) The service needs to be set to OK regardless of return code the initial check - I'm thinking that the plugin could submit a passive check to accomplish this. 2) There should never be a "Service is OK" notification s...
- Fri Sep 19, 2014 10:11 am
- Forum: Open Source Nagios Projects
- Topic: How to check a service once a day, without an "OK" message
- Replies: 13
- Views: 5299
Re: How to check a service once a day, without an "OK" messa
If it takes action and always returns OK though, then a notification will never go out, right? Or am I missing something? For clarification, I don't want the plugin to correct the situation, all I'm looking for is a notification that something is awry.
- Fri Sep 19, 2014 10:06 am
- Forum: Open Source Nagios Projects
- Topic: How to check a service once a day, without an "OK" message
- Replies: 13
- Views: 5299
Re: How to check a service once a day, without an "OK" messa
I'm checking for the existence of rows in an Oracle table via a plugin that I wrote. Does that help?
- Fri Sep 19, 2014 9:56 am
- Forum: Open Source Nagios Projects
- Topic: How to check a service once a day, without an "OK" message
- Replies: 13
- Views: 5299
Re: How to check a service once a day, without an "OK" messa
I'm checking a service that may or may not return a 0, 1, or 2, just like any other service. It's just that I want to check it only once a day (which is no problem), send a notification if it's a 1 or 2 RC, and then set the status back to OK, regardless of the return code from the check. I want to c...
- Thu Sep 18, 2014 6:42 pm
- Forum: Open Source Nagios Projects
- Topic: How to check a service once a day, without an "OK" message
- Replies: 13
- Views: 5299
How to check a service once a day, without an "OK" message
Hi folks, I thought is_volatile might be what I was looking for, but it's not working like I thought it would. What I want to do is check a service once a day, if it matches a criteria, send a notification, and then put it back to OK (regardless of if it's actually OK or not). I don't want to send a...