I am having the following issue that I will describe below and I would appreciate any kind of help that you can bring to me!
Scenario:
- Nagios Core
- New Nagios XI 5 Server
Steps:
I followed the steps from the guides:
fil
https://assets.nagios.com/downloads/nag ... p-Tool.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Issue:
- Most of the services are defined as templates since they are common between many of the servers.
- I have followed the order in which all files should have be imported
- All of the services templates are OK
- However when I import the services from a host that uses services templates, the services are not imported, I only see a service with the file template and it is empty.
- How file looks like after using pre import tool:
Code: Select all
define service{
use ping
host_name srv_metroweb
check_period 24x7
contact_groups sdi, operadores
_sin_dashboard 1
_sin_service INFO
_sin_environ INFR
_sin_group SDI
}
define service{
use generic-nt-process-java
host_name srv_metroweb
check_period 24x7
contact_groups sdi
_sin_dashboard 1
_sin_service INFO
_sin_environ INFR
_sin_group SDI
}
define service{
use generic-nt-service-nds
host_name srv_metroweb
check_period 24x7
contact_groups sdi
_sin_dashboard 1
_sin_service INFO
_sin_environ INFR
_sin_group SDI
}
define service{
use generic-nt-service-termsrvc
host_name srv_metroweb
check_period 24x7
contact_groups sdi
_sin_dashboard 1
_sin_service INFO
_sin_environ INFR
_sin_group SDI
}
"srv_metroweb.cfg" 40L, 1340C
I have attached many screen shots in order to provide a guide to it.
I don't understand why this is happening... When I import hosts that don't use service templates but they have the check command defined on its file the import is OK.
Regards,