nv-l
[Top] [All Lists]

Re: [NV-L] Email Rule for Windows 7.1.4

To: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Subject: Re: [NV-L] Email Rule for Windows 7.1.4
From: James Shanks <jshanks@us.ibm.com>
Date: Tue, 26 Sep 2006 16:34:04 -0400
Delivery-date: Tue, 26 Sep 2006 21:35:44 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF42CD8AA0.3F98DAF6-ON862571F5.006BCAF4-862571F5.006C5C1C@springswindowfashions.com>
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: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com

Ronnie,

I don't think this is a good idea. Your best bet is to open a problem to Support and let them build you a complete rule on UNIX and help you modify it for Windows. The implementation on Windows make it seem as though editing one of these files with Wordpad is an easy thing to do, but it is not. There are lots of little gotchas because some of the parameters are positional and others were meant for the GUI editor on UNIX. So if you can't get this to work, then you'll have to talk to Support, like it or not. But here's my best shot.

After your query collection you need a pointer to the next node, a UserExit. That pointer will have a number after it. That number has to match the User Exit definition, like this (see UserExit6).

NVQryColl5 NVQryColl UserExit6
Origin My_Nodes 1 ""
UserExit6 UserExit
" c:\usr\ov\bin\nvmail.exe -server mailbox.raleigh.ibm.com -recipient jshanks@us.ibm.com -subject %"test message%" -message %"This is a test.%"" 0 0 0 ""

The next line after
NVQryColl5 NVQryColl UserExit6
contains the details of your NVQRYColl so ti does not matter that they do not match the example here. I would not expect them to.

Then you have the definition of the UserExit, and the details after that.

I have not tested this. I cannot. IBM management policy prohibits me from taking user problems directly from the list. They have to come through Support. So if you cannot get this to work, then that's where you will have to go next.


HTH,

James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp
Inactive hide details for ronald.ross@springswindowfashions.comronald.ross@springswindowfashions.com


          ronald.ross@springswindowfashions.com
          Sent by: nv-l-bounces@lists.ca.ibm.com

          09/26/2006 03:43 PM
          Please respond to
          Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>


To

Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>

cc


Subject

[NV-L] Email Rule for Windows 7.1.4

James,
I stripped out all of my actions and I can now get the rule to install
without errors on NetView 7.1.4 for Windows.

My Rule looks for NetView events for Node Down/Node UP and Interface
Down/Interface UP (TrapID and AddrDelay), then it trys to ping
(CheckRoute), then it does a SmartSet query (NVQryColl).  The last step I
want to do is send an e-mail with an in-line action.

What does one look like?

Does anybody have the couple of lines that make up that part of a rule?

_______________________________________________
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)

GIF image

_______________________________________________
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