nv-l
[Top] [All Lists]

Re: [NV-L] Hostname Missing

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] Hostname Missing
From: Larry Fagan <larrytechie@yahoo.com>
Date: Wed, 2 Jul 2008 12:25:48 -0700 (PDT)
Delivery-date: Wed, 02 Jul 2008 20:32:42 +0100
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=t/3xlVZbmWdo63XURduU1xJzcPW5r6BJ0thv1UFkgdPPEbSkCOI51Z8lAJ3Uds4tyW+rs73v1/L2yQlu/56+bIu8kc8wNniMJ1K80C3U/Iz/WedIOFb6q8ESt4pk/PvIq6RZy4ezGJZW84SA2QCAEIOCT0czqHTgpHiBdGDpxUs=;
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Larry Fagan <larrytechie@yahoo.com>, Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
James,
Thanks for MIBS. Appreciate it...
I did exactly as you told me to do initially.
used Mib2trap for CPQHLTH.mib .. This created CDS, OID and BAROC files.
So added all the OID's in tecad_oid file. And i added CDS file content into tecad_nv6k file.
Now my tecad_nv6k service does NOT start up.. It says state "NOT RUNNING".
When i check the nvtecad.log trace file I get bunch of errors as below:

Wed Jul 02 21:15:12 2008   MAJOR: PARSER , err 00,          parse.y line 1595: Parser \usr\ov\conf/tecad_nv6k.cds:syntax error on line 2807 current keyword "MAP"

Wed Jul 02 21:15:12 2008   MAJOR: PARSER , err 00,          parse.y line 1595: Parser \usr\ov\conf/tecad_nv6k.cds:syntax error on line 2814 current keyword "MAP"

Wed Jul 02 21:15:12 2008   MAJOR: PARSER , err 00,          parse.y line 1595: Parser \usr\ov\conf/tecad_nv6k.cds:syntax error on line 2821 current keyword "MAP"

Wed Jul 02 21:15:12 2008   MAJOR: PARSER , err 00,          parse.y line 1595: Parser \usr\ov\conf/tecad_nv6k.cds:syntax error on line 2828 current keyword "MAP"

Wed Jul 02 21:15:12 2008   MAJOR: PARSER , err 00,          parse.y line 1595: Parser \usr\ov\conf/tecad_nv6k.cds:syntax error on line 4049 current keyword ""

Wed Jul 02 21:15:12 2008   MAJOR: PARSER , err 01, .\parse_config.c line 0859: Kernel config file <(null)> could not be parsed
Wed Jul 02 21:15:12 2008   FATAL: DRVSPEC, err 01,      driver_ov.c line 2047: Can not initialize kernel

Any idea what it is?

Many Thanks,
Larry


----- Original Message ----
From: James Shanks <jshanks@us.ibm.com>
To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sent: Wednesday, July 2, 2008 10:09:44 AM
Subject: Re: [NV-L] Hostname Missing

Larry,

You would be better off search the web for the MIB and using mib2trap.  The
manual method is much more prone to error.

You don't know any of the OIDs -- the actual varbinds sent in the trap.
That's why I suggested you  change the definition to $*  or just add it to
the existing definition so that they will print out in trapd.log.  Not
having any OIDs means that you cannot map them to shorthand labels in the
OID file to be used in the CDS.  So you have to select the variables in the
CDS blind, by number not by name.  I think this will work.

CLASS  cpqHe3FltTolPowerRedundancyLost
  SELECT
      1: ATTR(=,$ENTERPRISE), VALUE(PREFIX, "1.3.6.1.4.1.232.2");
      2: $SPECIFIC = 6032;
      3: ATTR(=,"VB_3") ;
  MAP
      msg = PRINTF ("The Power Supplies are no longer redundant on Chassis
%s,  $V3);
END,



James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp


                                                                         
            Larry Fagan                                                 
            <larrytechie@yaho                                           
            o.com>                                                    To
            Sent by:                  Tivoli NetView Discussions         
            nv-l-bounces@list        <nv-l@lists.ca.ibm.com>           
            s.ca.ibm.com                                              cc
                                                                         
                                                                  Subject
            07/02/2008 07:59          Re: [NV-L] Hostname Missing       
            AM                                                           
                                                                         
                                                                         
            Please respond to                                           
                Larry Fagan                                               
            <larrytechie@yaho                                           
              o.com>; Please                                             
                respond to                                               
              Tivoli NetView                                             
                Discussions                                               
            <nv-l@lists.ca.ib                                           
                  m.com>                                                 
                                                                         
                                                                         




James,
Thank You so much for excellent explanation. I'm trying to minimize pain by
adding manually in .cds & oid files rather than re inventing the wheel .
Now Please walk me through with one example...
I have a Compaq Trap definition ---OID is 1.3.6.1.4.1.232  Specific # is
6032 and generic # 6
Trap description "The Power Supplies are no longer redundant on Chassis
$3."
Trap name "cpqHe3FltTolPowerRedundancyLost"
Severity "Warning"

How Do i define these in .CDS & OID file?
Thanks,
Larry




)



_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web