Disable Active Checks and Logging

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Wafflemonger
Posts: 2
Joined: Wed Nov 04, 2015 5:34 pm

Disable Active Checks and Logging

Post 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!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Disable Active Checks and Logging

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Wafflemonger
Posts: 2
Joined: Wed Nov 04, 2015 5:34 pm

Re: Disable Active Checks and Logging

Post by Wafflemonger »

Thank you very much. I just was not sure what to search in the log file :). You've been a great help!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Disable Active Checks and Logging

Post by hsmith »

Are we all right to close this one and consider it resolved?
Former Nagios Employee.
me.
Locked