Hi,
ubuntu12
intalled via apt
icinga-web tells me: 1.11.0
i've copied the windows host template from wiki into a new file, called it
window.cfg, added it to the main file. content:
define host{
host_name webserver
alias languagecenter
display_name Server at language center
address 192.168.0.51
active_checks_enabled 1
passive_checks_enabled 0
max_check_attempts 3
check_command check-host-alive
check_interval 5
retry_interval 1
notification_period 24x7
notification_interval 60
notification_options d
}
and the error when i run: icinga -v /etc/icinga/objects/windows.cfg:
Reading configuration data...
Error in configuration file '/etc/icinga/objects/windows.cfg' - Line 1
(NULL value)
Error processing main config file!
any ideas?
thx
On Wed, Jun 18, 2014 at 3:44 AM, Michael Friedrich <
[email protected]> wrote:
> On 17.06.2014 20:15, tom wrote:
>
> hi,
>
> i have a brand new install and its all working, but when i add my first
> window host, it tells me the windows.cfg is wrong. im using the sample from
> the wiki:
> http://docs.icinga.org/latest/en/sample-windows.html
>
> why is the config-check failing
>
>
> Please provide the following
>
> - distribution and version
> - icinga version
> - how was icinga installed (pkg, src, routine...)
> - what's the output of the config check on the shell?
> - did you add all required templates, and if, which ones?
>
> regards,
> Michael
>
>
> thx
>
>
>
> _______________________________________________
> icinga-users mailing
> [email protected]https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
>
> --
> Michael Friedrich, DI (FH)
> Application Developer
>
> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> http://www.netways.de | [email protected]
>
> ** Open Source Backup Conference 2014 - September - osbconf.org **
> ** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
> ** OSMC 2014 - November - netways.de/osmc **
> ** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users