nv-l
[Top] [All Lists]

Re: [NV-L] Email Rule for Windows

To: "Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>, Ronald.Ross@springswindowfashions.com
Subject: Re: [NV-L] Email Rule for Windows
From: "Ahsan Ali" <ahsan@pk.ibm.com>
Date: Sat, 23 Sep 2006 00:05:11 +0500
Cc:
Delivery-date: Fri, 22 Sep 2006 20:13:19 +0100
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=kdpj0aIKje1a6yFHOh/Rgk4Fh0nAVe4Q5noEorUZHw5QkwtnqyK79NUNahhf/KTVrBklTiw0krISeoKfV1cwDxxc0+/mZfezhS+XndXk4hB1HAys3GXt+RxgG2mvRgShI0oTMRbSLIMFggoSTYMNOIZEYRXVL6zjptDogbwaDEg=
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OFE9643B5A.52C19AD2-ON862571F1.0066C2CD-862571F1.006700AC@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>
References: <17daa8560609221136w30db741dg185b6fea50471aec@mail.gmail.com> <OFE9643B5A.52C19AD2-ON862571F1.0066C2CD-862571F1.006700AC@springswindowfashions.com>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
Ross,

From the Netview Windows User's Guide -> Working with events and event
filters -> Actions on events:

Using the Tivoli NetView program, you can specify actions that are
automatically performed when a specific event occurs when you select
Options --> Trap Settings. This feature provides quick notification
for events that are critical to your environment. The types of actions
you can configure include the following:

Display an error dialog using the nvecho command. Refer to the IBM(R)
Tivoli(R) NetView(R) for Windows(R) Programmer's Reference for
information about the nvecho command.

Send an e-mail message using the nvmail command. Refer to the IBM
Tivoli NetView for Windows Programmer's Reference for more
information.

Send a page using the nvpage command. See Paging support for more information.

You can also configure any action that you can run in a batch file.
You must specify the fully qualified path name for the batch file and
enclose any arguments to the batch file in double quotes (for example,
c:\mydir\myaction.bat "param1 param2").

=========================================
Manual page for nvmail (Netview for Windows Programmer's Reference ->
Reference Pages -> nvmail)

nvmail

Purpose: Sends a mail message.

Syntax:

nvmail -server servername -recipient user-mailbox [-subject
subject-string ][-message message-string|-file file-name]


Description:

The nvmail command can be used to send an e-mail message. It can be
invoked upon receipt of a trap to send an e-mail message to the
operator in response to the event. Use Options -> Trap Settings to
configure a trap to execute this command.

Flags
-server servername
Specifies the name of the SMTP mail server.

-recipient user-mailbox
Specifies the name of the recipient of the mail. Only one recipient
can be specified.

-subject subject-string
A quoted string that will appear as the body of the mail message. This
flag is optional

-message message-string
A quoted string that will appear as they body of the mail message.
This option can not be specified if the -file option is used.

-file file-name
A fully qualified file name to be transmitted as the body of the mail
message. This option cannot be specified if the -message option is
used.

Example:

nvmail -server mailserver.acme.com -recipient reed@adam12.com -subject
"Segment down" -message "Respond as backup"

Implementation Specifics
- nvmail will only work with SMTP mail servers.
- Only one recipient can be specified with the nvmail command.
- nvmail does not transmit files as attachments.


I hope that helps you!

---
Ahsan Ali
Tivoli Technical Specialist,
Software Group, IBM Pakistan
_______________________________________________
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