HP Distributed Print Service Administration Guide
Chapter 7 209
Using Notification
Notification Profile Examples by HPDPS Object Type
Notification Profile Examples by HPDPS
Object Type
This section shows examples of notification profiles. In some of the
examples, the events specified apply to both the main object, such as a
spooler, and objects contained within the object, such as a queue.
Spooler Notification Profile Examples
These examples show how you can set up a notification profile for a
spooler.
Example 1 Jake Jones, who will be responsible for the spooler, wants to know about
any event that occurs in the spooler Spool3 only when he is at work and
logged on.
Jake would enter this command:
pdset -c server -x "notification-profile \
={event-identifiers=class-server-attention \
class-server-configuration \
class-server-status}" Spool3
Discussion:
• Jake used the class event items so he would not have to list each
event identifier. The notification profile causes messages to be issued
for these events:
— internal-server-error
— object-cleaned
— object-deleted
— server-shutdown-complete
• Jake will receive a message for any logical printer or queue contained
in the Spool3 if it is cleaned or deleted.
• Jake does not have to enter the other components and their values
because delivery-method defaults to electronic-mail,
delivery-address defaults to his
UserName
and
HostName
, and
locale defaults to his LANG environment variable setting.