Bulk Host Cloning wizard wigging out on me!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Bulk Host Cloning wizard wigging out on me!

Post by BanditBBS »

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.
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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Bulk Host Cloning wizard wigging out on me!

Post by lmiltchev »

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!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Bulk Host Cloning wizard wigging out on me!

Post by BanditBBS »

Host:

Code: Select all

define host {
        host_name                       CDM Checks - Linux
        use                             generic-host
        alias                           Template for new linux sevrers
        address                         localhost
        register                        1
        }
Services:

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
        }
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
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
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Bulk Host Cloning wizard wigging out on me!

Post by WillemDH »

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
Nagios XI 5.8.1
https://outsideit.net
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Bulk Host Cloning wizard wigging out on me!

Post by BanditBBS »

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!
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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Bulk Host Cloning wizard wigging out on me!

Post by tmcdonald »

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 :)
Impossible! We never make mistakes!

I'll take a look. Closing thread now.
Former Nagios employee
Locked