Service status UNKNOWN


#1

Hello all,

I am having an issue monitoring services on a windows server. As far as I can tell the configuration is correct and Nagios is starting with no issues, however when it checks the service status is comes back as UNKNOWN.

This is the service monitoring line from the .cfg file.
**
define service{
use generic-service
host_name bham-exchange
service_description FAX Server
check_command check_nt!SERVICESTATE!-d SHOWALL -l “GFI FAXmaker Fax Server”
}**

Just as a test I also set a line to monitor a simple service like Telnet Server and it too comes back as UNKNOWN.

**
define service{
use generic-service
host_name bham-exchange
service_description TEST
check_command check_nt!SERVICESTATE!-d SHOWALL -l Telnet
}
**

I am using the NSClient++ on the machine in question.

Please help.


#2

Hi!

I’m not sure, but when I try to run check_nt, it asks for the “-v” argument…


#3

What is -v and where does it go in my config string?


#4

Nevermind … i updated the client to the newest version and it works now. Thanks for your fast response though.