Re: AIX ADSM Monitoring...
1998-07-20 10:09:17
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)
|
|
|