Description
Type string READ/WRITE
subprocuser is the user name used to run any subprocesses of pmmasterd such as, when running the system function. The default value is "root".
Example
subprocuser="appl_user";
cfile=system("find /home/applhome -name customprofile.txt");
if (status == 0)
{
print(readfile(cfile));
}
Description
Type integer READ/WRITE
tmplogdir is the directory used for temporary storage of I/O log files if a remote log host is specified in iologhost. The default value is /opt/quest/qpm4u/iologs/queue.
Example
iologhost="sol34.test.com";
tmplogdir="/var/iologs/queue";
iolog = mktemp("/var/adm/pm.enc."+user+"."+command+".XXXXXX");
}
The following predefined global variables appear only in the audit (event) log. They are not available for use in the policy file, as they are set by pmlocald during the runcommand session. Use pmlog to view them.
Table 31: Global event log variables
alertdate |
string |
Date on which the alert was raised. |
alerttime |
string |
Time at which the alert was raised. |
event |
string |
Type of event. |
exitdate |
string |
Date on which the finish event was logged. |
exitstatus |
string |
Exit status of the request |
exittime |
string |
Exit time of the request. |
Description
Type string READONLY
alertdate contains the date when a configured alert was matched by pmlocald. It is not available for use in the policy file, it is set in the event log. To view the event log, use the pmlog -l command.
Example
#display all alerts raised with action set to log
pmlog -l -c 'alertkeyaction == "log"'