Active checks using check_by_ssh not logged
Posted: Fri Aug 14, 2020 4:35 am
Hi. I am in the process of migrating our monitoring from passive checks (using gearman / mod_gearman) to active checks (using check_by_ssh).
All the checks / alerts / notifications for the passive checks are logged in nagios.log, but nothing is being logged for the active checks.
Should anything be getting logged, and if so, is there something I have to configure to enable this?
The log settings in the main config file are as follows:
The Nagios server is running CentOS 8 with Nagios installed using the RPM packages from the EPEL repository.
Thanks in advance.
All the checks / alerts / notifications for the passive checks are logged in nagios.log, but nothing is being logged for the active checks.
Should anything be getting logged, and if so, is there something I have to configure to enable this?
The log settings in the main config file are as follows:
Code: Select all
log_file=/var/log/nagios/nagios.log
log_rotation_method=d
log_archive_path=/var/log/nagios/archives
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_current_states=1
log_external_commands=1
log_passive_checks=1Thanks in advance.