nv-l

Re: NV 5.1.1: Command nvdbimport

1999-07-13 10:10:54
Subject: Re: NV 5.1.1: Command nvdbimport
From: benvain <benvain AT BSD.TM DOT FR>
To: nv-l AT lists.tivoli DOT com
Date: Tue, 13 Jul 1999 10:10:54 -0400
Hi Gerd,

I tried your command (NV 5.1.1, AIX 4.2.1). Conclusions:
1. There is no hyphen between IP and hostname. (But then the not found
FielID is "IP-Hostname").
2. "IP Hostname,SNMP sysLocation,SNMP sysContact" works fine.
3. I managed to reproduce your problem by adding a blank behind the
second comma...

Cordially

Bernard Envain     CIC-Banque Scalbert-Dupont
Ph.: +33 3 20 12 60 47   Fax: +33 3 20 12 60 80


Brunschede, Gerd wrote:
>
> Hello,
>
> to set some values in the NV-database I used the nvdbimport
> command in this form
>
> /usr/OV/bin/nvdbimport -fv <import-file-name>
>
> The values I would like to set were
>
> SNMP sysContact and SNMP sysLocation. The notation in the
> import-file was the following
>
> IP-Hostname,SNMP sysContact,SNMP sysLocation
>
> After command-execution I got the error-message:
> FieldID Not Found: SNMP sysLocation   returned 0
>
> When I interchange the two parameters and write
>
> IP-Hostname,SNMP sysLocation,SNMP sysContact
>
> I get the error-message
> FieldID Not Found: SNMP sysContact   returned 0
>
> Can someone tell me what I'm doing wrong or is the command
> wrong?
>
> Thanks in advance
> Gerd Brunschede
>
> Forschungszentrum Karlsruhe GmbH
> HIK
> Hermann-von-Helmholtz-Platz 1
> 76344 Eggenstein-Leopoldshafen
> Tel.: +49 7247 82-5637
> Fax:  +49 7247 82-4972
> e-mail: gerd.brunschede AT hik.fzk DOT de

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