Log rotations just stopped.... Data DISAPPEARED
Gareth Hash
fyzix at yahoo.com
Wed May 14 16:26:20 CEST 2003
Hello.
I came across a weird problem. After I changed the hosts and services
file to be strictly template based, the logs DISAPPEARED at the end
of the day. I went through the options in the Nagios doc, but I did
not see one which said that logs will disappear at the end of the day
if I have log rotation turned on.
I am still receiving email notifications when a service or host goes
down.
Any help would be GREATLY appreciated. Thank you.
Hosts file :
# Generic host definition template
define host{
name generic-host ; Name of
template.
max_check_attempts 1
checks_enabled 0
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 60
notification_period 24x7
notification_options n
notifications_enabled 1
register 0 ; Template only. Do
not register
}
define host{
use generic-host
host_name host1
alias host1
address 192.168.x.x
}
Services file :
define service{
name ping
service_description PING
is_volatile 0
check_command
check_ping!1000.0,75%!2000.0,100%
max_check_attempts 3
normal_check_interval 2
retry_check_interval 1
active_checks_enabled 1
passive_checks_enabled 0
check_period 24x7
parallelize_check 1
check_freshness 0
notification_interval 60
notification_period 24x7
notification_options n
notifications_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
contact_groups dragon-admins
register 0 ; Template for ping
service
}
# Ping service definition
define service{
use ping
host_name host1, host2, host3, host4
}
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
_______________________________________________
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