• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue check_nt: Could not parse arguments || Windows Server 2016 Host Error

kg28

New Pleskian
Hi,

I have Nagios Linux Server, I have added this Windows host to Nagios Server but I am getting below error

5dykvlb3rry51.png


Nagios Server Configuration as below:

====================================================================================

Windows.cfg File


define host {

use windows-server

host_name ec2-35-154-15-163.ap-south-1.compute.amazonaws.com

alias My Windows Server

address 35.154.15.163

}


Few Services Format as below:


define service {

use generic-service

host_name ec2-35-154-15-163.ap-south-1.compute.amazonaws.com

service_description NSClient++ Version

check_command check_nt!nagios@2020sg!CLIENTVERSION

}



define service {

use generic-service

host_name ec2-35-154-15-163.ap-south-1.compute.amazonaws.com

service_description CPU Load

check_command check_nt!nagios@2020sg!CPULOAD!20,40,60

}



====================================================================================

commands.cfg File

define command {

command_name check_nt

command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$

}

=================================================================================

I am using this on AWS EC2 instances. Please help me to understand the cause of problem.
 
Back
Top