Nagios.log not updating
Mailing Lists
mailing.lists.addr at gmail.com
Fri Sep 9 19:13:34 CEST 2011
mysql> select log_notifications,log_service_retries,
log_host_retries,log_event_handlers,log_initial_states,log_external_commands,log_passive_checks
from cfg_nagios;
+-------------------+---------------------+------------------+--------------------+--------------------+-----------------------+--------------------+
| log_notifications | log_service_retries | log_host_retries |
log_event_handlers | log_initial_states | log_external_commands |
log_passive_checks |
+-------------------+---------------------+------------------+--------------------+--------------------+-----------------------+--------------------+
| 1 | 1 | 1 |
1 | 1 | 1 |
2 |
| 1 | 1 | 1 |
1 | 1 | 1 |
2 |
| 1 | 1 | 1 |
1 | 1 | 1 |
2 |
| 1 | 1 | 1 |
1 | 1 | 1 |
2 |
+-------------------+---------------------+------------------+--------------------+--------------------+-----------------------+--------------------+
On Fri, Sep 9, 2011 at 1:07 PM, Mailing Lists
<mailing.lists.addr at gmail.com>wrote:
> Yeah, this is setup exactly like the other pollers. Below you will find the
> relevant parts of the config...
>
> [root@<hostname> etc]# grep -i log nagios.cfg
> log_file=/usr/local/nagios/var/nagios.log
> status_file=/usr/local/nagios/var/status.log
> log_rotation_method=d
> log_archive_path=/usr/local/nagios/var/archives/
> use_syslog=0
> log_notifications=1
> log_service_retries=1
> log_host_retries=1
> log_event_handlers=1
> log_initial_states=1
> log_external_commands=1
>
>
>
> On Fri, Sep 9, 2011 at 12:35 PM, Jim Avery <jim at jimavery.me.uk> wrote:
>
>> On 9 September 2011 16:01, Mailing Lists <mailing.lists.addr at gmail.com>
>> wrote:
>> > I currently have a centreon / nagios setup with one central centreon box
>> > with three pollers. The newest poller is working fine with in terms of
>> > updating the central centreon system. However, the one issue I am
>> running
>> > into and haven't been able to find an answer to is that the newest
>> poller
>> > isn't logging to the nagios.log when a service is checked. It logs the
>> > initial service state and that's it. Any idea what could cause this? I
>> have
>> > googled for hours.
>>
>> Have you checked the various option in nagios.cfg? See:-
>> http://nagios.sourceforge.net/docs/nagioscore/3/en/configmain.html
>> log_service_retries and log_passive_checks etc,.
>>
>>
>> ------------------------------------------------------------------------------
>> Why Cloud-Based Security and Archiving Make Sense
>> Osterman Research conducted this study that outlines how and why cloud
>> computing security and archiving is rapidly being adopted across the IT
>> space for its ease of implementation, lower cost, and increased
>> reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110909/b25ec610/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT
space for its ease of implementation, lower cost, and increased
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list