Re: AIX ADSM Monitoring...
1998-07-20 11:12:34
We run on an SP node; the SP code automatically redirects all console output
to a file. I've built a dumb little shell program that I invoke via cron
every 15 minutes to drop a row of equal signs (============) with the date
and time in the center to /dev/console (which redirects to
/var/adm/SPlogs/sysman/<nodename>.console.log). I wouldn't run this more
frequently than every 5 minutes, so it won't work for fine resolution -- but
15 minute intervals work for us.
Tom Kauffman
Sr. Technical Advisor
NIBCO, Inc.
> ----------
> From: Daniel Whicker[SMTP:heimdall AT MAIL.UTEXAS DOT EDU]
> Sent: Monday, July 20, 1998 9:09 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: AIX ADSM Monitoring...
>
> At 08:39 AM 7/20/98 , you wrote:
> >On Fri, 17 Jul 1998, Joe Schilling wrote:
> >> We are running ADSM Server on an AIX Server, we would like to have our
> Data
> >> Center monitor events at night and weekends without giving them access
> to
> >> ADSM. We are wanting to cron a job to check the activity log to see
> any
> >> errors that may occur and then send a message to them.
> >> Does anyone have anything like this already in place? Thanks in
> advance
> >> for your help.
> >
> >I start the adsm server with this, and then anyone can tail the log:
> >
> >/opt/IBMadsm-s/bin/dsmserv >> /var/adm/log/adsmserver.log 2>&1
> >
> >You could even have a program monitor the file, and send email or pages
> >based on message ID's.
>
> The problem that you run into with this method is that there aren't any
> timestamps on the output. The only clear way I know of getting this
> information from the activity log with timestamps would be to query it
> once
> an hour.
>
> dsmadmc -id=id -password=passord -out q actl begint=-1 2>&1 >
> /var/adm/log/adsmserver.`date +%H`
>
> Something to that effect...
>
> -Daniel
> ------------------------------------------
> Daniel Whicker (heimdall AT mail DOT org)
>
|
|
|