Greetings:
I have been researching the Forum but I cannot find anything to help.
I am running Application Performance Monitor v3 - AL250
I need to monitor a file status on an HPUX B.11.23 U 9000/800 system. I have had no problems running ksh with APM on my Linux machines, but the HPUX is defeating me.
Essentially, I look for a file in a directory that is created by a cron. I wrote the script on the box, and it works fine there. I have run it in sh, bash, and ksh, and it works fine.
The APM script bombs with the following result:
Testing on node gs-mw1: failed with 'Undefined' status
Checking of directory existence failed. Last login: Wed Dec 16 11:47:11 2009 from 10.12.0.110 (c)Copyright 1983-2003 Hewlett-Packard Development Company, L.P. (c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California (c)Copyright 1980, 1984, 1986 Novell, Inc. (c)Copyright 1986-2000 Sun Microsystems, Inc. (c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology (c)Copyright 1989-1993 The Open Software Foundation, Inc. (c)Copyright 1990 Motorola, Inc. (c)Copyright 1990, 1991, 1992 Cornell University (c)Copyright 1989-1991 The University of Maryland (c)Copyright 1988 Carnegie Mellon University (c)Copyright 1991-2003 Mentat Inc. (c)Copyright 1996 Morning Star Technologies, Inc. (c)Copyright 1996 Progressive Systems, Inc. RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause in DFARS 252.227-7013. Hewlett-Packard Company 3000 Hanover Street Palo Alto, CA 94304 U.S.A. Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19(c)(1,2). You have mail. [3g[25;9HH[25;17HH[25;25HH[25;33HH[25;41HH[25;49HH[25;57HH[25;65HH[25;73HH [3g H H H H H H H H H Value of TERM has been set to "vt100". WARNING: YOU ARE SUPERUSER !! [root@gsmw1] # sh [root@gsmw1] # [root@gsmw1] # PS1=' _ _SOLAR _WINDS _APM _ _' Very frustrating. I have adjusted the Command Line with everything I could think of, and added PATH statements to the system. Please help if possible. |