Bulk Host Cloning

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

Post by BanditBBS »

I used the bulk host cloning wizard earlier today to create a few hosts. I found one short-coming and opened a new feature request :)

However, I also noticed an issue. The description I used had a hyphen in it. Here is an example of a line I put in:

Code: Select all

10.10.10.10,This is - an example,MISCHOST
The IP and hostname were populated fine. The description was populated with what i had in there, but the hyphen was replaced with some gibberish. It was a few random ascii characters. Should I enclose the description in quotes or is this a bug I should file?
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

Post by lmiltchev »

I was not able to recreate the issue. I wonder if you forgot to select "Description" and "Name" from the "Field 2" and "Field 3" drop-down menus in Step 3 of the wizard...
banditbbs.PNG
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Bulk Host Cloning

Post by tmcdonald »

Neither was I. Tried escaping the hyphen, enclosing the whole thing in quotes, and leaving it as you had it. Nothing. Wanna post a copy of the .cfg for the misbehaving hosts?
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Bulk Host Cloning

Post by BanditBBS »

I just replicated it on my dev server. can you try with the information I just used:

Code: Select all

10.6.124.91,IDF20 – APC UPS,UPOT2IDF2001
Just to show you:
Capture2.JPG
Capture1.JPG
Bother servers are 2012R2.3 with the wizxard version 1.8.
You do not have the required permissions to view the files attached to this post.
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

Post by tmcdonald »

Humor me here, and copy+paste the hyphen from your MSCHOST example. You are using two different hyphens and one is causing an issue.

The hex code "2D" is a standard hyphen that works. One you had in your config is "E2 80 93" and is breaking things, likely some weird UTF extension.
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Bulk Host Cloning

Post by BanditBBS »

tmcdonald wrote:Humor me here, and copy+paste the hyphen from your MSCHOST example. You are using two different hyphens and one is causing an issue.

The hex code "2D" is a standard hyphen that works. One you had in your config is "E2 80 93" and is breaking things, likely some weird UTF extension.
Trevor,

That makes sense. I was copy-n-paste from an email for the actual import I did. For the example I used first I just typed it. Guess I should have used the "paste as plain text" option in chrome when pasting.

Go ahead and close this and just make a mental note :)
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

Post by tmcdonald »

BanditBBS wrote:Go ahead and close this and just make a mental note :)
Aye Captain. I hope this saves some face from my earlier post-closing blunders :D
Former Nagios employee
Locked