Mail alert? There is no such built-in function.
Are you asking how to configure it so that when you get a particular trap,
the mail command sends mail to someone?
In that case you would use xnmtrap to configure the trap settings and put
something like this in the command for automatic action:
echo $A $3 | mailx -s "mailsubject" username@xxx.com
mailsubject = whatever you want the subject of the message to be
the hostname is $A and text message from a NetView trap is $3
See the man page for trapd.conf for more details.
Of course you cold use a script to make this as elaborate as you care to
And this only works if the user has an internet id that you can
send the message to.
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
z_esm_karekars <z_esm_karekars@bharatpetroleum.com>@tkg.com on 02/14/2001
12:46:33 AM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'nv-l@tkg.com'" <nv-l@tkg.com>
cc:
Subject: [NV-L] Mail Delivery configuration on NetView Ver 6.0 on AIX
4.3.3
Hi,
I had installed Netview Ver. 6.0 on AIX ver. 4.3.3 box and trying to
configure the mail alert. Which files need to looked in to for configuring
the mail delivery, and what changes are required to do on this.
Regards,
Santosh Karekar
|