Bulk Host Cloning and Import Wizard

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
gomatze
Posts: 64
Joined: Mon Jan 09, 2017 12:33 am
Location: Duesseldorf, Germany

Bulk Host Cloning and Import Wizard

Post by gomatze »

Hello there, i was creating new Hostgroups with special names...
The CCM told me that the Hostgroup hab been updated succesfully, but it was not.

When the Name was changed to something more civilized it worked.
Could you provide a function that prompts you if a name or entry is not valid?
Last edited by dwhitfield on Fri Feb 17, 2017 9:53 am, edited 2 times in total.
Reason: marking with green check mark
HOMO SUM HUMANI NIHIL A ME ALIENUM PUTO
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Host Groups or other- Name valid?

Post by rkennedy »

Can you tell us what the name of the hostgroup or was, or the characters in use that affected it? We'll need to test and file a bug report internally. Sanity checking is always nice! :D
Former Nagios Employee
User avatar
gomatze
Posts: 64
Joined: Mon Jan 09, 2017 12:33 am
Location: Duesseldorf, Germany

Re: Host Groups or other- Name valid?

Post by gomatze »

Ah, sorry i got a bit scrambled yesterday... :oops:

I created many things yesterday and lost Focus. It actually was not the Hostgroup matter which made me post but the Bulk Cloning and Import Wizard.
What went wrong was that i wanted to Import many Hosts from Listings and had the formatting shaken up.
For Bulk Host Cloning and importing I needed to divide the Fields by "," but i actually was trying to make it work with ";" which brought me quite nowhere (apart from Desperation).

The Bulk Import Wizard was it who told me that everything was succesfully imported, which wasn't the case.

After i discovered my mistake it worked.
Originally that was the question: could the Import Wizard Report occuring Errors or failed Imports?

BTW: can you Change the Title of the Post to something correct... Sorry for my mistake
HOMO SUM HUMANI NIHIL A ME ALIENUM PUTO
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Host Groups or other- Name valid?

Post by mcapra »

That seems reasonable. Just so I fully understand the problem, can you share a screenshot of what you were inputting to the Bulk Cloning and Import Wizard?
Former Nagios employee
https://www.mcapra.com/
User avatar
gomatze
Posts: 64
Joined: Mon Jan 09, 2017 12:33 am
Location: Duesseldorf, Germany

Re: Host Groups or other- Name valid?

Post by gomatze »

I wrote a subroutine in Acces which does some formatting on Hosts from a Long List.
Yesterday the Count was around 600 Hosts which had to be importet into NagiosXI... well i would not want to cut out all the IPs to post a Picture.
But i can however give you examples of what i tryed to do:

First (unaware of my mistake) i tryed with semicolon which brought me nowhere...
Wrong separator
Wrong separator
But everything seemed to be ok..
000078.jpg
After I discovered my mistake...
correct separator
correct separator
everything worked fine and the Hosts actually did appear in Nagios.
HOMO SUM HUMANI NIHIL A ME ALIENUM PUTO
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Bulk Host Cloning and Import Wizard

Post by lmiltchev »

Yes, the fields must be separated by a comma - we explain this in the wizard.
example01.PNG
Is it OK if we lock this topic, and mark it as "resolved"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Bulk Host Cloning and Import Wizard

Post by mcapra »

Just as an FYI, I submit a feature request to do some basic "sanity checking" (ID 11071). Though I don't think the wizard will ever be perfect, comparing the proposed fields to what's detected on the back-end shouldn't be too difficult.
Former Nagios employee
https://www.mcapra.com/
User avatar
gomatze
Posts: 64
Joined: Mon Jan 09, 2017 12:33 am
Location: Duesseldorf, Germany

Re: Bulk Host Cloning and Import Wizard

Post by gomatze »

Ya thank you Imiltchev... sometimes you just dont get it and waste time searching while the solution is ever so near.
After i recognized the line you marked (after an hour or so) i needed a new Keyboard :evil:

I think you can Close the Case...
HOMO SUM HUMANI NIHIL A ME ALIENUM PUTO
Locked