Additionally, check the db for crashed tables:tail -500 /var/log/messages | grep "fork\|orphan\|segfault"
Code: Select all
tail -100 /var/log/mysqld.log | grep "crashed"Additionally, check the db for crashed tables:tail -500 /var/log/messages | grep "fork\|orphan\|segfault"
Code: Select all
tail -100 /var/log/mysqld.log | grep "crashed"Can you show us the definition of the service that is not working and one that is working? Hide sensitive info.I also tried deleting and re-adding the service from scratch, even though this check works on every other host, just to be sure.
Code: Select all
define service {
host_name USSNAPMKEWI-Core
service_description Hardware health
check_command check_nwc_hardware_health!SNMPCOMMUNITYSTRING!!!!!!!
max_check_attempts 5
check_interval 10
retry_interval 2
active_checks_enabled 1
check_period xi_timeperiod_24x7
notification_period xi_timeperiod_24x7
notifications_enabled 0
contacts nagiosadmin
_xiwizard switch
register 1
}
Code: Select all
define service {
host_name USSNAPLSAIL-Core
service_description Hardware health
check_command check_nwc_hardware_health!SNMPCOMMUNITYSTRING!!!!!!!
initial_state o
max_check_attempts 5
check_interval 10
retry_interval 2
active_checks_enabled 1
passive_checks_enabled 1
check_period xi_timeperiod_24x7
event_handler xi_service_notification_handler
event_handler_enabled 1
low_flap_threshold 10
high_flap_threshold 40
flap_detection_enabled 1
process_perf_data 0
notification_interval 60
notification_period xi_timeperiod_24x7
notification_options w,c,r,
notifications_enabled 0
contacts nagiosadmin
_xiwizard switch
register 1
}
Code: Select all
echo "ALTER TABLE nagios_servicestatus MODIFY perfdata VARCHAR(65536);"|mysql -pnagiosxi nagios
echo "ALTER TABLE nagios_servicechecks MODIFY perfdata VARCHAR(65536);"|mysql -pnagiosxi nagios
echo "ALTER TABLE nagios_hoststatus MODIFY perfdata VARCHAR(65536);"|mysql -pnagiosxi nagios
echo "ALTER TABLE nagios_hostchecks MODIFY perfdata VARCHAR(65536);"|mysql -pnagiosxi nagios