To: | Tivoli NetView Discussions <nv-l@lists.ca.ibm.com> |
---|---|
Subject: | Re: [NV-L] Hostname Missing |
From: | Larry Fagan <larrytechie@yahoo.com> |
Date: | Thu, 3 Jul 2008 05:12:07 -0700 (PDT) |
Delivery-date: | Thu, 03 Jul 2008 13:13:47 +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=3llN6xePuEH5XKV3tFhK6raJoxrYnhTsB5SNNcSdunvQDHrAANzrJmN0uf3gMsZwctFE9Tf1TeV6p7vE/29xSf1mxbt5t7BXg+OQbyf791JGaE9wajkVb+V5Sf2mg7ujVXHzvIBrI5qJR5Fk6KGv9tJ2OLoTv1lETdWo4HYVu84=; |
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, After scrambling through the CDS file, i deleted few entries and finally got it to work and now tecad_nv6k process is running. Now question is, when i run tecconfig.bat, i don't see those new classes showing up in the list to select to forward to TEC. How are classes populated when we execute tecconfigbat. Am i missing something? Also should the entries in OID and CDS must match? I hope there is no issue since i deleted some entries in CDS file but they may exist in OID file. 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 4:26:24 PM Subject: Re: [NV-L] Hostname Missing Well, Larry, you are learning about the dangers of working with the tecad_nv6k adapter. There are parse errors in the CDS file you built and you are going to have to find them and correct them before it will start. I hope you have a backup. If not, create one now, remove all your changes, then rename the files so that the backup becomes your tecad_nv6k.cds. Then start looking for syntax errors in that original file. When you think you've found the problem then you can switch the files back. You can also get the adapter to help you find them perhaps by editing the tecad_nv6k.err file and having the parser send more messages to the log, like this # # MODULE = PARSER # PARSER MINOR /usr/ov/log/nvtecad.log PARSER MAJOR /usr/ov/log/nvtecad.log PARSER FATAL /usr/ov/log/nvtecad.log PARSER LOW /usr/ov/log/nvtecad.log PARSER NORMAL /usr/ov/log/nvtecad.log PARSER VERBOSE /usr/ov/log/nvtecad.log You could even send them to a different file # # MODULE = PARSER # PARSER MINOR /usr/ov/log/tecad.parser.log PARSER MAJOR /usr/ov/log/tecad.parser.log PARSER FATAL /usr/ov/log/tecad.parser.log PARSER LOW /usr/ov/log/tecad.parser.log PARSER NORMAL /usr/ov/log/tecad.parser.log PARSER VERBOSE /usr/ov/log/tecad.parser.log Those line numbers may or may not match where the real problem is. But they might be close. I'd be looking to make sure that all my SELECT and MAP statements ended in a semi-colon. 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 03:25 Re: [NV-L] Hostname Missing PM Please respond to Larry Fagan <larrytechie@yaho o.com>; Please respond to Tivoli NetView Discussions <nv-l@lists.ca.ib m.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) _______________________________________________ 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> |
---|---|---|
|
Previous by Date: | Re: [NV-L] Hostname Missing, James Shanks |
---|---|
Next by Date: | Re: [NV-L] Hostname Missing, James Shanks |
Previous by Thread: | Re: [NV-L] Hostname Missing, James Shanks |
Next by Thread: | Re: [NV-L] Hostname Missing, James Shanks |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web