• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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