Page 1 of 1

Disable Active Checks and Logging

Posted: Wed Nov 04, 2015 5:36 pm
by Wafflemonger
If someone were to disable active checks for a host, would it show up in the Nagios Event Log? If so, how would be the best way to search for this? What keyword should I search? Thanks!

Re: Disable Active Checks and Logging

Posted: Wed Nov 04, 2015 9:19 pm
by Box293
First you would need to enable this in nagios.cfg:

Code: Select all

log_external_commands=1
Then it would appear like this:

Code: Select all

[1446689902] EXTERNAL COMMAND: DISABLE_SVC_CHECK;WIN2008R2-01;Memory Usage
[1446689965] EXTERNAL COMMAND: ENABLE_SVC_CHECK;WIN2008R2-01;Memory Usage

Re: Disable Active Checks and Logging

Posted: Thu Nov 05, 2015 9:10 pm
by Wafflemonger
Thank you very much. I just was not sure what to search in the log file :). You've been a great help!

Re: Disable Active Checks and Logging

Posted: Fri Nov 06, 2015 10:57 am
by hsmith
Are we all right to close this one and consider it resolved?