@skoelpin thanks for any help you can be. The OS is RHEL 6 the output is in key-value pairs as I am use the eval command to create the correct syntax for the outlput values. Check the eval commands in the above search. I use the bdquiry to get the 'URL' and 'CI Name' values. Then do the eval commandss to put those values in the right syntax for the CSV style output.
in the output I get the header row ping,interval,title,url,agent then in each row after that I get the individual values, comma separated of course.
I can put this in word-processor and manipulate it like this;
delete the first row
delete all the quote marks
everywhere there is a line break put two line breaks
everywhere there is a comma put a line break
this gives me the right format for the input.conf
If you could help with the automation of the "search and replace" as above that would help a great deal
... View more