nv-l

Re: [NV-L] Email Rule for Windows

2006-09-22 16:33:43
Subject: Re: [NV-L] Email Rule for Windows
From: ronnie.ross AT springs DOT com
To: Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
Date: Fri, 22 Sep 2006 14:46:42 -0500
James,
The short story is, I have a working rule with NetView on AIX 7.1.4.
Basically the rule checks to see if object in event is a member of a
Smartset and then sends out an e-mail.

When I move the rule to Windows and have the Smartsets created just like
AIX, nothing happens.  I have tried to change the e-mail command in the
rule to match what windows requires, but still nothing.  If I manully run
nvmail, I can get mail sent to someone.  Just can not make it go from the
rule.

That's why I was looking for a sample rule that really works to see what
syntax was making it work.  Maybe I am missing a backslash or something.



                                                                           
             James Shanks                                                  
             <jshanks AT us DOT ibm.c                                           
  
             om>                                                        To 
             Sent by:                  Tivoli NetView Discussions          
             nv-l-bounces@list         <nv-l AT lists.ca.ibm DOT com>           
  
             s.ca.ibm.com                                               cc 
                                                                           
                                                                   Subject 
             09/22/2006 02:10          Re: [NV-L] Email Rule for Windows   
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
              Tivoli NetView                                               
                Discussions                                                
             <nv-l AT lists.ca DOT ib                                           
  
                  m.com>                                                   
                                                                           
                                                                           




Using, and creating, rulesets for Windows is difficult so most people just
drive the command or a bat file from Trap Settings. Since there's no
ruleset editor most folks have to create them on UNIX first and then modify
them with Wordpad on Windows. The you have to start nvcord with that rule
active. And since Windows does not have an actionsvr process, the ruleset
would use an in-line action run by nvcord himself, something like this,
TrapSettings ==> In-line action

This would be suicide on UNIX because nvcorrd is right in the middle of the
event flow in the UNIX architecture, but on Windows, he 's optional. He
only sees the traps after they have been stored in the ODBC database.

NetView for Windows provides the nvmail command so you can send mail to an
SMTP server, or you can do it yourself with Perl. Either way you usually
have to write a script of some sort and if your ruleset is not more
complicated than what I showed above, then you might as well just run it as
a hidden command by trapd.

Are you having problems with nvmail?

James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp
(Embedded image moved to file: pic00483.gif)Inactive hide details for
ronald.ross AT springswindowfashions.comronald DOT 
[email protected]

                                                                           
                         ronald.ross@s                                     
                         pringswindowf                                     
                         ashions.com                                       
                         Sent by:      (Embedded image moved to file:      
                         nv-l-bounces@ pic24607.gif)                       
                         lists.ca.ibm.                                  To 
                         com                    (Embedded image moved to   
                                                file: pic23862.gif)        
                                                Tivoli NetView Discussions 
                         09/22/2006             <nv-l AT lists.ca.ibm DOT com>  
  
                         02:45 PM      (Embedded image moved to file:      
                                       pic18750.gif)                       
                                                                        cc 
           Please respond to                    (Embedded image moved to   
       Tivoli NetView Discussions               file: pic06952.gif)        
        <nv-l AT lists.ca.ibm DOT com>        (Embedded image moved to file:    
  
                                       pic25492.gif)                       
                                                                   Subject 
                                                (Embedded image moved to   
                                                file: pic03910.gif)        
                                                [NV-L] Email Rule for      
                                                Windows                    
                                                                           
                                                                           
                                       (Embedded image moved to file:      
                                       pic32513.gif)                       
                                               (Embedded image moved to    
                                               file: pic04681.gif)         
                                                                           
                                                                           



Does anyone have a simple rule for NetView 7.1.4 for windows that can send
an e-mail?  I can make it work for AIX but not windows.

please send to:
Ronald.Ross AT springswindowfashions DOT com

Thanks

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)
(Embedded image moved to file: pic16435.gif)
_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)

Attachment: pic00483.gif
Description: GIF image

Attachment: pic24607.gif
Description: GIF image

Attachment: pic23862.gif
Description: GIF image

Attachment: pic18750.gif
Description: GIF image

Attachment: pic06952.gif
Description: GIF image

Attachment: pic25492.gif
Description: GIF image

Attachment: pic03910.gif
Description: GIF image

Attachment: pic32513.gif
Description: GIF image

Attachment: pic04681.gif
Description: GIF image

Attachment: pic16435.gif
Description: GIF image

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