evmpost.1 (2010 09)

e
evmpost(1) evmpost(1)
evmpost -a "Power outage recovery completed" -p 250
The following example posts a quick user’s message.
evmpost -u "Leaving for lunch."
This example posts an event that includes a variable.
evmpost << EOF
event {
name myco.ops.backup.ok
var { name backup.vol
type string
value "tape 73"
}
}
EOF
If the template for this event contains the following format data item:
"Backup completed to $backup_vol"
then evmshow displays this event as:
"Backup completed to tape 73"
WARNINGS
The evmpost command rejects attempts to output raw events to a terminal device.
Post only events for which you have posting authorization, and for which a template exists.
FILES
/etc/services Definition of the sockets and protocols used for Internet services
/etc/evm.auth Location of the EVM authorization file
SEE ALSO
Commands
evmget(1), evminfo(1), evmshow(1), evmsort(1), evmwatch(1).
Routines
EvmEventPost(3).
Files
evmdaemon.conf(4), evmtemplate(4), services(4).
Event Management
EVM(5).
EVM Events
EvmEvent(5).
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3