Status information UNKNOWN

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Status information UNKNOWN

Post by ziedmahjoub »

Hi ,
i'm monitoring a network and i got a machine with some unknown status and message information that i didn't understand :

Code: Select all

Service                 Status              Status Information 

CPU Load             Unknown          NSClient - ERROR : Could not get data for 5 perhaps we don't collect data this far back ?

Memory Usage      Unknown          NSClient - ERROR : failed to get PDH Value

Uptime                 Unknown          NSClient - ERROR : Couldn't get Value
i just want to know what this messages means

thanks
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Status information UNKNOWN

Post by tmcdonald »

What OS+version and NSClient+version are you using?
Former Nagios employee
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: Status information UNKNOWN

Post by ziedmahjoub »

tmcdonald wrote:What OS+version and NSClient+version are you using?
the client OS is windows XP and the NSClient++ is 0.3.9 the stable one
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Status information UNKNOWN

Post by jdalrymple »

ziedmahjoub

Can we see your service definitions for the services that are failing?

thanks
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Status information UNKNOWN

Post by Box293 »

It sounds like the performance counters on the Windows box need fixing.

From the windows box run:

Code: Select all

lodctr /R


After that restart the NSClient++ service.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: Status information UNKNOWN

Post by ziedmahjoub »

jdalrymple wrote:ziedmahjoub

Can we see your service definitions for the services that are failing?

thanks
i'm using these service definitions for other users in the same network and its working fine so i think the problem is from his PC , so i want to know what these errors means .

Code: Select all

define service{
	use			generic-service
	host_name		Soteb_Nizar,Tesco_Teheni
	service_description	Uptime
	check_command		check_nt!12494!UPTIME
	}

Code: Select all

define service{
	use			generic-service
	host_name		Soteb_Nizar,Tesco_Teheni
	service_description	CPU Load
	check_command		check_nt!12494!CPULOAD!-l 5,80,90
	}

Code: Select all

define service{
	use			generic-service
	host_name		Soteb_Nizar,Tesco_Teheni
	service_description	Memory Usage
	check_command		check_nt!12494!MEMUSE!-w 80 -c 90
	}
also i got another UNKNOWN STATUS : Free disk space : Invalid drive
look at the attachment

thanks
Attachments
unknown status
unknown status
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Status information UNKNOWN

Post by jdalrymple »

Did you perform the troubleshooting task Box293 suggested?

Code: Select all

lodctr /R
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Status information UNKNOWN

Post by tgriep »

Could you post the service check for your c:\ drive space check and also your nsi.ini file from the NSClient++ folder on the windows PC?
Be sure to check out our Knowledgebase for helpful articles and solutions!
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: Status information UNKNOWN

Post by ziedmahjoub »

jdalrymple wrote:Did you perform the troubleshooting task Box293 suggested?

Code: Select all

lodctr /R

no i didn't yet
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Status information UNKNOWN

Post by tmcdonald »

Can you please answer tgriep's question? In order to help you better we need you to answer all questions, not just the first one.
Former Nagios employee
Locked