"Unknown" stuck in the Soft state
"Unknown" stuck in the Soft state
Hello,
Some time ago it has been reported that services sometimes are stuck in the soft state.
https://support.nagios.com/forum/viewto ... ilit=stuck
The issue should be fixed in 5.5. However my installation often displays this behaviour, but only with Unknown Service States. No Warning or Critical stuck.
Please check attached images.
Not all the services in the picture are stuck, some of them are correctly in the hard state type.
Regards,
NJ
Some time ago it has been reported that services sometimes are stuck in the soft state.
https://support.nagios.com/forum/viewto ... ilit=stuck
The issue should be fixed in 5.5. However my installation often displays this behaviour, but only with Unknown Service States. No Warning or Critical stuck.
Please check attached images.
Not all the services in the picture are stuck, some of them are correctly in the hard state type.
Regards,
NJ
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: "Unknown" stuck in the Soft state
What version of XI are you running? This was fixed in 5.5.1
Re: "Unknown" stuck in the Soft state
I'm running 5.5.1
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: "Unknown" stuck in the Soft state
I attempted to re-create this and my service switched to a HARD state as expected after reaching the max_check_attempts.
Does this only happen with particular down hosts? or hosts that are unreachable?
Do you have any dependencies set on these services?
I noticed these just changed state, do these services remain in an unknown state?
Please also post the output of
Does this only happen with particular down hosts? or hosts that are unreachable?
Do you have any dependencies set on these services?
I noticed these just changed state, do these services remain in an unknown state?
Please also post the output of
Code: Select all
ps-ef|grep nagios.cfgRe: "Unknown" stuck in the Soft state
1. There is no any parenting in my config, so the host is down. Hosts never get unreachable here, it's a star network.
2. No, everything remains as you have seen in the screenshot until the host is up again.
3. The host does not need to be necessarily down. For example, trying to re-create the problem, if I change the read community name at the host such that check_snmp plugin can not read data anymore, I can easily observe the problem. All services become unknown when check_snmp does not get the reply, however only some of them become Hard, even after a while (much longer then it actually needs to accomplish 3 of 3 checks).
4. If I create a new host with a non-existent IP then this host is proceeded correctly, all services become hard as they should. But they become hard on the very first check, because they have never been in any other state yet.
Thanks!
2. No, everything remains as you have seen in the screenshot until the host is up again.
3. The host does not need to be necessarily down. For example, trying to re-create the problem, if I change the read community name at the host such that check_snmp plugin can not read data anymore, I can easily observe the problem. All services become unknown when check_snmp does not get the reply, however only some of them become Hard, even after a while (much longer then it actually needs to accomplish 3 of 3 checks).
4. If I create a new host with a non-existent IP then this host is proceeded correctly, all services become hard as they should. But they become hard on the very first check, because they have never been in any other state yet.
Code: Select all
[root@gnt-nagiosxi ~]# ps -ef|grep nagios.cfg
nagios 54814 1 12 01:25 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 54833 54814 0 01:25 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 55201 33918 0 01:25 pts/0 00:00:00 grep --color=auto nagios.cfg
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: "Unknown" stuck in the Soft state
I am going to try to replicate this but so far I have been unsuccessful.
Re: "Unknown" stuck in the Soft state
Any progress with my problem?
Do I need to ticket it?
NJ
Do I need to ticket it?
NJ
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: "Unknown" stuck in the Soft state
I would, I have not been able to replicate this at allsmersh wrote:Any progress with my problem?
Do I need to ticket it?
NJ
Re: "Unknown" stuck in the Soft state
Ok, thank you.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: "Unknown" stuck in the Soft state
Locking will continue in Ticketsmersh wrote:Ok, thank you.