Host Status -Unknown

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
riredondo
Posts: 49
Joined: Thu Sep 08, 2011 9:04 pm

Host Status -Unknown

Post by riredondo »

hello,

i've been looking for the supporting documents that explains for the "unknown" status for hosts and services and no luck, either i didn't look on the right site or there is no specific document for it. can someone explain this to me please? thanks.

looking forward for your usual support.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Status -Unknown

Post by lmiltchev »

To handle situations when a service is down for a very short time, or the test
has temporarily failed, soft states were introduced. When the status of a check is
unknown, or it is different from the previous one, Nagios will retest the host or
service several times to make sure that the change is persistent. The number of
checks is specified in the host or service configuration. Nagios assumes that the
new result is a soft state. After additional tests have verified that the new state is
permanent, it is considered a hard state.
Also, see this:
http://nagios.sourceforge.net/docs/nagi ... types.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
riredondo
Posts: 49
Joined: Thu Sep 08, 2011 9:04 pm

Re: Host Status -Unknown

Post by riredondo »

lmiltchev,

so unknown state is being triggered if the check did not fall into either up or down? am i right?

what then is the best interpretation on the following report related to the unknown state?
You do not have the required permissions to view the files attached to this post.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Host Status -Unknown

Post by nscott »

An UNKNOWN state usually means the plugin was completely unable to determine that status. Common causes of this:

1) Plugin was called incorrectly
2) Necessary libraries not available for the plugin to use

Its up to the programmer discretion, but thats generally what the UNKNOWNS are caused by. Try running the plugin with the exact command line arguments that Nagios will run it with and see what kind of output that gives.
Nicholas Scott
Former Nagios employee
Locked