I have a new setup of Icinga2, with IcingaWeb2, and the monitoring plugins 2.1.1 I can see the actual icinga box, and I have installed teh NSClient++ on the target windows machine. I have, to the best of my knowledge, properly setup the icinga to look in the correct directory for the monitoring plugins. However, I cannot find a current guide for setting up the conf file(s) properly.
I have tried the following guides and forum posts for help, with no success
http://www.monitoring-portal.org/wbb/ind…dows+monitoring
http://docs.icinga.org/latest/en/monitoring-windows.html
https://wiki.icinga.org/pages/viewpage.a…pageId=23887907
https://github.com/jpfluger/examples/blo…ient-windows.md
There are no firewalls on any of the machines (everything is in an isolated test environment) The current contents of my test conf file for the windows host is:
/*Test file for windows host*/
define host{
use windows-server
host_name win-tenant
address 192.168.204.15
}
define hostgroup{
hostgroup_name windows-servers
}
define service{
use generic-service
host_name win-tenant
check_command check_nt!CLIENTVERSION
}
With this setting, I get an error underlining the 'host' in define host.
I have tried the following as well
/*Test file for windows host*/
object Host "win-tenant" {
address = "192.168.204.15"
vars.os = "Windows"
}
object Service "load" {
import "generic-service"
host_name = "win-tenant"
check_command = "check_nt!CPULOAD!-l 5,80,90"
}
and got an errors relating to the check command and the check_nt, but it still won't pass the config check.
I have tried the following guides and forum posts for help, with no success
http://www.monitoring-portal.org/wbb/ind…dows+monitoring
http://docs.icinga.org/latest/en/monitoring-windows.html
https://wiki.icinga.org/pages/viewpage.a…pageId=23887907
https://github.com/jpfluger/examples/blo…ient-windows.md
There are no firewalls on any of the machines (everything is in an isolated test environment) The current contents of my test conf file for the windows host is:
/*Test file for windows host*/
define host{
use windows-server
host_name win-tenant
address 192.168.204.15
}
define hostgroup{
hostgroup_name windows-servers
}
define service{
use generic-service
host_name win-tenant
check_command check_nt!CLIENTVERSION
}
With this setting, I get an error underlining the 'host' in define host.
I have tried the following as well
/*Test file for windows host*/
object Host "win-tenant" {
address = "192.168.204.15"
vars.os = "Windows"
}
object Service "load" {
import "generic-service"
host_name = "win-tenant"
check_command = "check_nt!CPULOAD!-l 5,80,90"
}
and got an errors relating to the check command and the check_nt, but it still won't pass the config check.