Hi,
I have Nagios Linux Server, I have added this Windows host to Nagios Server but I am getting below error
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.
I have Nagios Linux Server, I have added this Windows host to Nagios Server but I am getting below error
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.