Page 1 of 1
Event Logs
Posted: Fri Jan 10, 2014 10:31 am
by cesar.garza
hey guys i need a help to determine the logs for particular host/service that what time nagios hit the host/service to monitor them "is it up or down". I have checked my template and set up normal_check_interval 10 but not able to see in the logs with the time that what time nagios check the service/host. Is there anyway to figure out this ??
Thanks
Re: Event Logs
Posted: Fri Jan 10, 2014 10:52 am
by tmcdonald
In your nagios.cfg, you can change "debug_level" to 16 to log host/service checks to your .../nagios/var/nagios.debug log file.
https://www.mail-archive.com/nagios-use ... 34159.html
IMPORTANT: This will generate a LOT of disk I/O so you might want to consider that.
Re: Event Logs
Posted: Fri Jan 10, 2014 2:58 pm
by cesar.garza
awesome thanks...
Re: Event Logs
Posted: Mon Jan 13, 2014 1:03 pm
by sreinhardt
You're welcome, let us know if you need anything else.
Re: Event Logs
Posted: Mon Jan 13, 2014 2:12 pm
by cesar.garza
I changed the configuration from 0 to 16, but not able to snatch the data for specify host/service checks. I am looking for a report for host/service checks so i know how many times nagios hit the host server. is there any way from nagios UI ??
thanks
Re: Event Logs
Posted: Mon Jan 13, 2014 2:35 pm
by slansing
For a specific host? No, I don't think you can in Nagios Core. You can use the Event Log report to see check information that is returned, and you can use the Performance Information page to see the amount of checks going out, but not to specific objects.
Re: Event Logs
Posted: Tue Jan 14, 2014 11:02 am
by cesar.garza
Yes specific host...
so how can i determine that my host servers are not over load by hit from nagios ? I have setup normal_check_interval = 10 that nagios check all hosts/services by 10 minutes gap.
Re: Event Logs
Posted: Tue Jan 14, 2014 1:00 pm
by slansing
I think you are asking two different things here, for your last post, you can just check your hosts to see what their current CPU, MEM, etc usage is. Extrapolating on if an increase of usage is caused by Nagios checks is not something that is built into Nagios, and is really a non issue. You would need to make heavy use of custom scripts, and a combination of other tools that would allow you to analyze this.