Windows hosts are returning unknown status results - check

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.
Locked
mregis
Posts: 12
Joined: Wed Mar 03, 2010 10:17 am

Windows hosts are returning unknown status results - check

Post by mregis »

For each Windows hosts that i add to be monitored, I am getting a "unknown status" results and "check_nt: Could not parse arguments"

Can anyone explain?

Again I am new to Nagios configuration and I have looked over the instructions. I am using the sample config files.

Thanks in advance.

M
Attachments
screen capture of unknown status and check_nt arguements error message
screen capture of unknown status and check_nt arguements error message
check_nt.JPG (43.5 KiB) Viewed 3063 times
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Windows hosts are returning unknown status results - check

Post by mmestnik »

Can you post your objects.cache find, should be under /var some where.
Bzip2 is nice.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Windows hosts are returning unknown status results - check

Post by mmestnik »

Don't forget to remove any sensitive data with a find replace.
mregis
Posts: 12
Joined: Wed Mar 03, 2010 10:17 am

Re: Windows hosts are returning unknown status results - check

Post by mregis »

mmestnik wrote:Can you post your objects.cache find, should be under /var some where.
Bzip2 is nice.
Hi MMestnik.
I am having a bit of trouble trying to locate the object.cache file :(
mregis
Posts: 12
Joined: Wed Mar 03, 2010 10:17 am

Re: Windows hosts are returning unknown status results - check

Post by mregis »

Hi MMestinik.

I found the problem.
I had s- PASSWORD present in my command.cfg file.
I removed the -s mypasswordgoeshere and the problem was resolved.

# 'check_nt' command definition
define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s mypasswordgoeshere -v $ARG1$ $ARG2$
}

Thank for your help.
Locked