Administrator's and User's Guide for SFM HP-UX 11i v2 March and June 2008
NOTE: HP recommends deleting all unwanted event subscriptions. Retaining a large number
of event subscriptions may increase the size of the archive, and may affect the tasks you perform
using Event Subscriptions Administration.
Deleting an Event Subscription Using CLI
To delete an event subscription using the CLI, enter the following command at the HP-UX
prompt:
# Evweb subscribe -D -f -n <subscription name>
NOTE: The -n switch is mandatory.
Where:
-D
is an option used to delete event subscriptions.
-n
is a switch used to specify a name for an event.
-f is a switch used to force the command. This switch can be used only with the -D option. If
the -f switch is not used, Evweb prompts for a confirmation before deleting an event
subscription.
A message stating that the execution of the Evweb subscribe command was successful is
displayed on the screen.
NOTE: Using CLI, you can delete only one event subscription at a time.
For more information on deleting event subscriptions using the CLI, see Evweb_subscribe(1).
Configuring E-mail Consumer
The E-mail Consumer is a component of Evweb that receives indications from the WBEM Services,
and redirects them to an SMTP server. Normally, the local system itself is the e-mail server. In
such cases, you need not configure the E-mail Consumer.
If the e-mail server is not on the local system, you must configure the E-mail Consumer.
To configure the E-mail Consumer, complete the following steps:
1. Open the /var/opt/sfm/conf/Evweb.conf file on the system.
2. Change the IP address, FULLNAME, and the FROMADDR (From Address) of the host and
save the file.
The IP address is the address of the e-mail server. The FULLNAME refers to the complete
name of the e-mail server. The FROMADDR refers to e-mail address that sends the event
notifications.
Following is a sample Evweb.conf file with IP address, FULLNAME, and the FROMADDR
configured:
<Evweb>
<CONSUMER>
<EMAILCONSUMER>
<EMAILSERVER>
<IP>127.0.0.1</IP>
<FULLNAME>localhost</FULLNAME>
</EMAILSERVER>
<FROMADDR>Evweb@hp.com</FROMADDR>
</EMAILCONSUMER>
</CONSUMER>
</Evweb>
Administering Indications Using Evweb 57