nv-l

Re: [nv-l] build_location.pl

2004-05-24 15:20:26
Subject: Re: [nv-l] build_location.pl
From: Paul <pstroud AT bellsouth DOT net>
To: nv-l AT lists.us.ibm DOT com
Date: Mon, 24 May 2004 15:08:11 -0400
Actually, I was referring to the map itself. In other words, have you
created the locations and placed the devices into those locations on
your map?

Paul

Meyos Yemveng wrote:

meaning locations created from the location.conf file? No, I have the default empty location.conf
*/Paul <pstroud AT bellsouth DOT net>/* wrote:

    Do you have locations on your map currently?

    Paul


    Meyos Yemveng wrote:

    > I indeed included the redirection operator ">"
    >
    > */Jane Curry /* wrote:
    >
    > Meyos,
    > Can I just check you have the correct syntax here - you need to
    > redirect
    > the output from the mapdump command so you should have:
    > ovmapdump -v > ovmapdump.out
    >
    > The ">" is the redirection operator.
    >
    > Cheers,
    > Jane
    >
    > Meyos Yemveng wrote:
    >
    > > Certain I used ovmapdump -v ovmapdump.out
    > >
    > > what OS and perl version are you having succes with?
    > >
    > > */Paul /* wrote:
    > >
    > > Are you sure you used ovmapdump and not ovtopodump?
    > > You must use the mapdump for it work properly. ! Take a
    > > look at your output from ovmapdump and make sure it is
    > > readable.
    > >
    > > Paul
    > >
    > >
    > > Meyos Yemveng wrote:
    > >
    > > > I am having the same problem with the same version ....
    > > > Running on:
    > > > 1- Solaris 9 , Perl 5.6.1
    > > > 2! - Solaris 8, Perl 5.005_03
    > > >
    > > > It only prints the following:
    > > > # location.conf file was autogenerated on Friday May 21 17:48:01
    > > GMT 2004.
    > > > # Script completed processing on Friday May 21 17:48:05 GMT 2004
    > > >
    > > >
    > > > */Paul /* wrote:
    > > >
    > > > Scott,
    > > > Can you give a better description? What exactly is your problem.
    > > > I have used the script a number of times with no problems on
    > > > different versions of perl across several plat! forms. What are
    > > &! gt; you running into thats causing a problem?
    > > >
    > > > Paul
    > > >
    > > >
    > > >
    > > > Bursik, Scott {PBSG} wrote:
    > > >
    > > > > Actually the version I downloaded from
    > > > >
    > > > > http://www.nv-l.org/twiki/bin/view/Netview/LocationConf
    > > > >
    > > > > was the version with the function and I have the problem.
    > > > >
    > > > >
    > > > >
    > > > >
    > > > >
    > > > > Scott Bursik
    > > > >
    > > > > Enterprise Systems Management
    > > > >
    > > > > PepsiCo Business Solutions Group
    > > > >
    > > > > (972) 963-1400
    > > > >
    > > > > scott.bursik AT pbsg DOT com
    > > > >
    > > > >
    &g! t; > >
    > >
    >
    ------------------------------------------------------------------------
    > > > >
    > > > > *From:* Barr, Scott [mailto:Scott_Barr AT csgsystems DOT com]
    > > > > *Sent:* Friday, May 21, 2004 3:55 PM
    > > > > *To:* nv-l AT lists.us.ibm DOT com
    > > > > *Subject:* RE: [nv-l] build_location.pl
    > > > >
    > > ! > >
    > > > >
    > > > > The new version I have not yet posted uses that function. I
    > > > > just haven't had a time to post it to the NetView web
    home. Good
    > > > catc! h
    > > > > Ray - thanks.
    > > > >
    > > > >
    > > > >
    > > > >
    > > >
    > >
    >
    ------------------------------------------------------------------------
    > > > >
    > > > > *From:* owner-nv-l AT lists.us.ibm DOT com
    > > > > [mailto:owner-nv-l AT lists.us.ibm DOT com] *On Behalf Of
    > > > > *ray.smith AT clorox DOT com
    > > > > *Sent:* Friday, May 21, 2004 3:46 PM
    > > > > *To:* nv-l AT lists.us.ibm DOT com
    > > > > *Subject:* RE: [nv-l] build_location.pl
    > > > >
    > > > >
    > > > > The problem of empty output is caused by the readline
    > function, a
    > > > > seldom used Perl function that apparently behaves
    differently in
    > > > > different versions of Perl. If you replace all instances of
    > > > > "rea! dline ($_[0])" with "", the script should work fine
    > > > > ! in any version (or at least version 4 or better, which is
    > > all I've
    > >! ; > > ever worked with) of Perl.
    > > > >
    > > > >
    > > > > Ray Smith
    > > > > IS Engineer
    > > > > The Clorox Services Company> > > > 925-425-4363
    > > > >
    > > > >
    > > > >
    > > > >
    > > > >
    > > > > *"Bursik, Scott {PBSG}" *
    > > > > Sent by: owner-nv-l AT lists.us.ibm DOT com
    > > > >
    > > > > 05/21/2004 01:02 PM
    > > > > Please respond to nv-l
    > > > >
    > > > >
    > > > >
    > > > >
    > > > > To: "'nv-l AT lists.us.ibm DOT com'"
    > > > > cc:
    > > > > Subject: RE: [nv-l] build_location.pl
    > > > >
    > > > >
    > > > >
    > > > >
    > > > > Just for the record, I had the same problem and my perl is
    > at 5.6
    > > > > on AIX 4.3.3.
    > > > >
    > > > >
    > > > > Scott Bursik
    > > > > Enterprise Systems Managemen! t
    > > > > Pepsi! Co Business Solutions Group
    > > > >
    > > > >
    > > > >
    > > > >
    > > > >
    > > >
    > >
    >
    ------------------------------------------------------------------------
    > > > >
    > > > >
    > > > > *From:* Barr, Scott [mailto:Scott_Barr AT csgsystems DOT com] *
    > > > > Sent:* Friday, May 21, 2004 2:46 PM*
    > > > > To:* nv-l AT lists.us.ibm DOT com*
    > > > > Subject:* RE: [nv-l] build_location.pl
    > > > >
    > > > > I think 5.6 should work. I am on solaris 2.8 and had the issue
    > > > > with PERL 5.05. Let me research a bit and I'll post a response
    > > here.
    > > > >
    > > > >
    > > > >
    > > > >
    > > > >
    > > > >
    > > >
    > >
    >
    ------------------------------------------------------------------------
    > > > >
    > > > >
    > > > > *From:* owner-nv-l AT lists.us.ibm DOT com
    > >! ; > > [mailto:owner-nv-l AT lists.us.ibm DOT com] *On Behalf Of *Meyos
    > Yemveng*
    > > > > Sent:* Friday, May 21, 2004 2:28 PM*
    > > > > To:* nv-l AT lists.us.ibm DOT com*
    > > > > Subject:* RE: [nv-l] build_location.pl
    > > > > I am runn! ing perl v5.6.1 on Solaris 9 ...
    > > > > Q: what version is recommended?
    > > > >
    > > > >
    > > > > */
    > > > > "Barr, Scott" /* wrote:
    > > > > Your PERL version may be a factor. Can you check what
    > version you
    > > > > are using?
    > > > >
    > > > > perl -version will tell you
    > > > >
    > > > >
    > > > >
    > > > >! ;
    > > > >
    > > >
    > >
    >
    ------------------------------------------------------------------------
    > > > >
    > > > >
    > > > > *From:* owner-nv-l AT lists.us.ibm DOT com
    > > > > [mailto:owner-nv-l AT lists.us.ibm DOT com] *On Behalf Of *Meyos
    > Yemveng*
    > > >! ; > Sent:* Friday, May 21, 2004 1:20 PM*
    > > > > To:* netview Tivoli*
    > > > > Subject:* [nv-l] build_location.pl
    > > > > Hi Folks,
    > > > > I downloaded the build_location.pl script
    > > > > I then ran:
    > > > > ovmapdump -v > /tmp/ovmapdump.out
    > > > > build_location.pl /tmp/ovmapdump.out > /tmp/location.conf
    > > > >
    > > > &g! t; my ovmapcount.out is about 7026770 bytes
    > > > > my location.conf file generated is 141 bytes with only the
    > > > > following lines:*> > > >
    > > > > # location.conf file was autogenerated on Friday May 21
    17:48:01
    > > > > GMT 2004.
    > > > > # Script completed processing on Friday May 21 17:48:05
    GMT 2004
    > > > >
    > > > > Q1: Any idea on what I did wrong?
    > > > > Q2: Any suggestions?
    > > > >
    > > > >
    > > > >
    > > > > Thank You,
    > > ! > > Meyos
    > > > > "ALLEZ LES LIONS INDOMPTABLES"
    > > > >
    > > > >
    > > > >
    > > > >
    > > >
    > >
    >
    ------------------------------------------------------------------------
    > > > >
    > > > >
    > > > > Post your free ad now! *Yahoo! Canada Personals*
    > > > >
    > > > >
    > > > >
    > > > > Thank You,
    > > > > Meyo! s
    > > > > "ALLEZ LES LIONS INDOMPTABLES"
    > > > >
    > > > >
    > > > >
    > > > >
    > > >
    > >
    >
    ------------------------------------------------------------------------
    > > > >
    > > > >
    > > > > Post your free ad now! *Yahoo! Canada Personals*
    > > > >
    > > > >
    > > >
    > > >
    > > >
    > > > Thank You,
    > > > Meyos
    > > > "ALLEZ LES LIONS INDOMPTABLES"
    > > >
    > > >
    > > >
    > >
    >
    ------------------------------------------------------------------------
    > > > Post your free ad now! *Yahoo! Canada Personals*
    > > >
    > >
    > >
    > >
    > > Thank You,
    > > Meyos
    > > "ALLEZ LES LIONS INDOMPTABLES"
    > >
    > >
    > >
    >
    ------------------------------------------------------------------------
    > > Post your free ad now! *Yahoo! Canada Personals*
    > >
    >
    >
    > --
    > Tivoli Certified Consultant & Instructor
    > Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
    > Tel: +44 (0)1628 782565
    > Copyright (c) 2004 Jane Curry . All rights reserved.
    >
    >
    >
    > Thank You,
    > Meyos
    > "ALLEZ LES LIONS INDOMPTABLES"
    >
    >
    >
    ------------------------------------------------------------------------
    > Post your free ad now! *Yahoo! Canada Personals*
    >

    *

*

Thank You,
Meyos
"ALLEZ LES LIONS INDOMPTABLES"*

*
*

------------------------------------------------------------------------
*Post your free ad now! *Yahoo! Canada Personals* <http://ca.personals.yahoo.com/>
*