nv-l
[Top] [All Lists]

RE: nvdbimport question

To: nv-l@lists.tivoli.com
Subject: RE: nvdbimport question
From: "Boyles, Gary P" <gary.p.boyles@intel.com>
Date: Fri, 9 Mar 2001 08:48:40 -0800
Peter,
I do use nvdbimport, and it works fine.  I don't use any quotes,
and I don't use spaces between field-definitions.  Don't know if
I can or not... but I don't.

You should probably lose the quotes (single or double).
I've never tried it with quotes.  You might want to try
a back-slash in front of the quote if you insist on including it
in the string, or use something else to delimit the cards.

The following example should work without a problem:

IP Hostname,CardList
demo1.com,This is my string
demo2.com,card1 card2 card3 card4 card5
demo3.com,card 1::card 2::card 3::card 4

Like I said... you'll have to experiement if you want to use quotes.

Regards,

Gary Boyles, Intel





-----Original Message-----
From: demeter@hu.ibm.com [mailto:demeter@hu.ibm.com]
Sent: Friday, March 09, 2001 3:12 AM
To: nv-l@tkg.com
Subject: [NV-L] nvdbimport question




Hello,

I'm trying to import a list of strings (installed PCI cards):
created the attribute definition, similar to 'TopM Interface List', in a
new file in /usr/OV/fields/C

Field "CardList" {
     Type StringType;
     Flags     list;
}

I can see it by using the ovobjprint -f command. How can I specify the list
in my import file?  I tried to search in the documentation and the nv-l
archive without success.  I tried with the following import files:
1.
IP Hostname, CardList
demo.com,"card1" "card2"
2.
IP Hostname, CardList
demo.com,'card1' 'card2'

I'm even unable to add a single string to this new field:
3.
IP Hostname, CardList
demo.com,card1

Could someone let me know how can I do this?  I think it's possible because
the 'TopM Interface List' holds similar data what I'd like to import, but I
don't know if this type of import is possible with nvdbimport.  I would
appreciate any advice...

I'm using NV 6.0.1 with AIX 4.3.3.

Best regards,
Peter Demeter, Enterprise Systems Management
IBM Hungary, H-1117 Budapest, Neumann Janos street 1.
Tel: +36 1 382 5848  Fax: +36 1 382-5501


_________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web