Page 1 of 1
Hard and Soft issue
Posted: Wed Sep 24, 2014 1:53 pm
by BanditBBS
Look at this:
Capture.PNG
Look at the Unknown at 1:28 and 22:27. They are both 2 of 3 but both say HARD. Shouldn't they be SOFT? Then it doesnt check again in one minute as it should. Or it may have, but didn't log a state change.
Re: Hard and Soft issue
Posted: Wed Sep 24, 2014 3:16 pm
by Box293
Can you show us the advanced tab of each of these services please.
Re: Hard and Soft issue
Posted: Wed Sep 24, 2014 3:21 pm
by BanditBBS
Code: Select all
Advanced Status Details
Service State: Ok
Duration: 5h 50m 19s
State Type: Hard
Current Check: 1 of 3
Last Check: 2014-09-24 15:20:12
Next Check: 2014-09-24 15:25:12
Last State Change: 2014-09-24 09:30:12
Last Notification: Never
Check Type: Active
Check Latency: 0.15918 seconds
Execution Time: 0.55375 seconds
State Change: 0%
Performance Data:
Service Notes:
Service notifications are disabled
I'm assuming this is the information you wanted to see Box. Let me know if not and I'll do a proper screen cap.
Re: Hard and Soft issue
Posted: Wed Sep 24, 2014 3:28 pm
by lmiltchev
Can you post the service's config?
Re: Hard and Soft issue
Posted: Wed Sep 24, 2014 3:32 pm
by BanditBBS
Code: Select all
define service {
host_name xxxxxxxx-uk-gw
service_description ITC-CHI-VPN Tunnel Status
use generic-service
check_command check_netscreen_vpn!-C itc-net -n ITC-CHI-VPN -t!!!!!!!
max_check_attempts 3
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 0
notification_period xi_timeperiod_24x7
notifications_enabled 0
contacts dummy_contact,nagiosadmin,sdnagios
contact_groups ACRD_NAGIOS_ALL_CG
register 1
}
Re: Hard and Soft issue
Posted: Wed Sep 24, 2014 3:47 pm
by Box293
Yeah thanks for that.
It's in a hard state and it reports "Current Check: 1 of 3", similar to your screenshot.
Do you feel like deleting retention.dat, restarting nagios and see if that helps? Or at least removing one of these objects from retention.dat.
Re: Hard and Soft issue
Posted: Thu Sep 25, 2014 9:23 am
by BanditBBS
These were all just added to nagios the day this happened, so not sure what deleting them from retention will accomplish in this case.
I mean, I'll do it, but don't see it doing anything different since they were just added.
Re: Hard and Soft issue
Posted: Thu Sep 25, 2014 10:45 am
by lmiltchev
BanditBBS, did you try deleting retention.dat? Did this change anything?