• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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