[color=#0D0D0D]Also check that there is sufficient disk space.
I tested on Windows but UNIX / Linux ESP Agent will be function the same.
[color]
[font=Courier New] Job Name Agent Name ApplName Gen# P Node CCode System Status
___ NTCHECK NT_NJRARWKS3198 CHKAGENT 2618 FAIL **** Error creating stdout file
Agent Parameter File
#
# General characteristics
#
spooldir=D:\UPSDATA\ESP\spool
D:\>dir \\njrarwks3198\d$\upsdata\esp\spool\espmstd\main
Volume in drive \\njrarwks3198\d$ has no label.
Volume Serial Number is 2863-8A88
Directory of \\njrarwks3198\d$\upsdata\esp\spool\espmstd\main
06/24/2010 09:44 AM <DIR> .
06/24/2010 09:44 AM <DIR> ..
06/24/2010 08:44 AM <DIR> chkagent.2614
06/24/2010 09:39 AM <DIR> chkagent.2616
06/24/2010 09:44 AM <DIR> chkagent.2617
0 File(s) 0 bytes
5 Dir(s) 0 bytes free[font]
[color=#0B0B0B]You can check disk space and permissions with a simple ESP Proc. Modify to use your spool directory.[color]
[font=Courier New]SPOOLDIR = "<ESP Spool Directory>"
HPUX_JOB CHKSPACE
AGENT %USER1
CMDNAME /bin/sh
USER compops
ARGS -c 'df -k %SPOOLDIR'
RELEASE CHKPERM
RUN ANYDAY
ENDJOB
HPUX_JOB CHKPERM
AGENT %USER1
CMDNAME /bin/sh
USER compops
ARGS -c 'ls -lR %SPOOLDIR'
RUN ANYDAY
ENDJOB
[font]
[color=#0B0B0B]Create job and event after you trigger go to CSF and use WSF to display job output[color]
[font=Courier New]----------------------------------------------------------------
Output of messages for workload object CHKSPACE/CHECK.6/MAIN
Start date Thu Jun 24 10:14:21 2010
Cybermation ESP System Agentfor HP-UX R7, Build 139
----------------------------------------------------------------
User data
----------------------------------------------------------------
/opt (/dev/vg00/lvol5 ) : 6757650 total allocated Kb
450228 free allocated Kb
6307422 used allocated Kb
93 % allocation used
#
----------------------------------------------------------------
Output of messages for workload object CHKPERM/CHKSPACE.2/MAIN
Start date Thu Jun 24 10:45:29 2010
Cybermation ESP System Agentfor HP-UX R7, Build 139
----------------------------------------------------------------
User data
----------------------------------------------------------------
drwxr-xr-x 3 compops pcstech 96 Apr 24 2009 ESPMSTD
/opt/ESP/SystemAgent/ESPMSTD/spool/ESPMSTD:
drwxr-xr-x 60 root root 5120 Jun 24 10:45 MAIN
/opt/ESP/SystemAgent/ESPMSTD/spool/ESPMSTD/MAIN:
drwxr-xr-x 2 root root 96 Jun 24 10:44 CHKSPACE.1
/opt/ESP/SystemAgent/ESPMSTD/spool/ESPMSTD/MAIN/CHKSPACE.1:
total 12
-rw-r--r-- 1 compops pcstech 2943 Jun 24 10:44 CHKPERM
-rw-r--r-- 1 compops pcstech 2708 Jun 24 10:44 CHKSPACE
/opt/ESP/SystemAgent/ESPMSTD/spool/ESPMSTD/MAIN/CHKSPACE.2:
total 12
-rw-r--r-- 1 compops pcstech 2624 Jun 24 10:45 CHKPERM
-rw-r--r-- 1 compops pcstech 2943 Jun 24 10:45 CHKSPACE
[font]
#