Ok, so using the bulk host cloning wizard like I have many many times before.
I select the host and then all services, paste the csv, hit next then finish. The new hosts are created as well as all the services. However, it fills nothing out for the check command and ARGs. None of them are filled out and the apply config fails.
Bulk Host Cloning wizard wigging out on me!
Bulk Host Cloning wizard wigging out on me!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Bulk Host Cloning wizard wigging out on me!
What type of host are you cloning? Can you post the config of the host, that you use as a "template" for the bulk host cloning wizard?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Bulk Host Cloning wizard wigging out on me!
Host:
Services:
More Testing - It is something on the services that is doing it. I can copy another host and services. I can also copy this host with no service. Still investigating
Code: Select all
define host {
host_name CDM Checks - Linux
use generic-host
alias Template for new linux sevrers
address localhost
register 1
}
Code: Select all
define service {
host_name CDM Checks - Linux
service_description CPU
use generic-service
check_command check_by_ssh_cpu!90,70,70!95,80,80!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Cron Scheduler
use generic-service
check_command check_by_ssh_init_service!crond!!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Disk
use generic-service
check_command check_by_ssh_disk!10%!5%!-e!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Load
use generic-service
check_command check_by_ssh_load!35,30,25!43,38,33!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Log File
use generic-service
check_command check_by_ssh_log!/var/log/messages!Error!most_recent!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Memory
use generic-service
check_command check_by_ssh_memory!10!5!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description NFS
use generic-service
check_command check_by_ssh_nfs!!!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Read-Only File System
use generic-service
check_command check_by_ssh_rofs!!!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Swap
use generic-service
check_command check_by_ssh_swap!80%!70%!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Total Processes
use generic-service
check_command check_by_ssh_procs!2900!3200!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description VNC 01
use generic-service
check_command check_vnc!01!!!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
define service {
host_name CDM Checks - Linux
service_description Zombie Processes
use generic-service
check_command check_by_ssh_procs!5!10!-s Z!!!!!
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard sshproxy
register 1
}
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Bulk Host Cloning wizard wigging out on me!
Bandit,
I had a similar issue with the bulk host cloning wizard. Seems it had also something to do with one service that was connected to a source host. After recreating this source host with it's services, it worked normally again.
Grtz
I had a similar issue with the bulk host cloning wizard. Seems it had also something to do with one service that was connected to a source host. After recreating this source host with it's services, it worked normally again.
Grtz
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Bulk Host Cloning wizard wigging out on me!
Thanks Willem. I just deleted the host as I had it setup just for a template and then re-wrote the directions for my team to use a different "real" host. I spent nearly all day yesterday trying to troubleshoot this to find the root cause and just couldn't. I made it identical to other hosts that I could copy and nothing, just nuts!
As I am typing this, I do recall, I used the renaming tool on the host, I wonder if that was the cause of the issue! Someone at nagios should test that
!
Feel free to lock this up!
As I am typing this, I do recall, I used the renaming tool on the host, I wonder if that was the cause of the issue! Someone at nagios should test that
Feel free to lock this up!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Bulk Host Cloning wizard wigging out on me!
Impossible! We never make mistakes!BanditBBS wrote:As I am typing this, I do recall, I used the renaming tool on the host, I wonder if that was the cause of the issue! Someone at nagios should test that :)
I'll take a look. Closing thread now.
Former Nagios employee