HP-UX SysFaultMgmt (System Fault Management) (SFM) Administrator Guide (762798-001, March 2014)
-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: Any external subscriptions cannot be deleted, either with CLI or GUI.
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 email consumer
The email 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 email server. In such
cases, you need not configure the email consumer.
If the email server is not on the local system, you must configure the email consumer.
To configure the email 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 email server. The FULLNAME refers to the complete name
of the email server. The FROMADDR refers to email 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>
3. Enter the following command at the HP-UX prompt:
# sfmconfig -c /var/opt/sfm/conf/evweb.conf
Viewing event subscriptions using Evweb
This section describes how to perform non-administration tasks, such as viewing event subscriptions.
This section addresses the following topics:
• “Viewing Evweb event subscriptions” (page 66)
• “Viewing external event subscriptions” (page 68)
You can view HP Known subscriptions and user defined subscriptions using Evweb. You can also
view event subscriptions that are created using tools other than Evweb (referred to as external
subscriptions).
HP Known event subscriptions are created by default during the installation of SysFaultMgmt
bundle. However, administrators can also create HP Known event subscriptions, using the
/opt/sfm/bin/sfmconfig command.
Viewing event subscriptions using Evweb 65