Re: monitoring errorlog with wsm?
From: Justin Bleistein (justin.bleistein_at_TOWERSPERRIN.COM)
Date: 08/30/05
- Previous message: Holger.VanKoll_at_SWISSCOM.COM: "Re: monitoring errorlog with wsm?"
- In reply to: Holger.VanKoll_at_SWISSCOM.COM: "Re: monitoring errorlog with wsm?"
- Next in thread: fmu_at_OERAG.DE: "Antwort: Re: monitoring errorlog with wsm?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Aug 2005 10:53:13 -0400 To: aix-l@Princeton.EDU
I agree. I think RMC is a great monitoring tool. It's a technically
strategic component of HACMP and Power5 lpar systems.
It's mainly used in the AIX world, for monitoring o/s events. It can be
used to monitor filesystem sizes, paging space attributes
and others, as well as respond to them accordingly. There are a few great
IBM Redbooks on RMC installation setup, and concepts
out on URL: "http://www.ibm.com/redbooks". Just type in: "rmc" or "rsct"
in the search bar on that web page.
Thanks.
--Justin Richard Bleistein
AIX Systems Administrator
Holger.VanKoll@SWISSCOM.COM
Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
08/30/2005 10:25 AM
Please respond to
IBM AIX Discussion List <aix-l@Princeton.EDU>
To
aix-l@Princeton.EDU
cc
Subject
Re: monitoring errorlog with wsm?
wsm wasnt written to do this
wsm is more ore less a grafical smitty
look at rmc/rsct
attached is an email to this list from Adams Kevin
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
fmu@OERAG.DE
Sent: Tuesday, August 30, 2005 4:12 PM
To: aix-l@Princeton.EDU
Subject: monitoring errorlog with wsm?
Hi,
isn't it possible to monitor the errorlog over wsm?
I monitor my notes (p615, p630, p660 and som SP-notes) over wsm
(webbased
system management). This is default on AIX. So I can define many events
and
the response to the events (for example email to admin).
But I want monitor the errorlog with wsm. For example, the node get a
error
and I get a email from the system that the node has a new entrie in the
errorlog.
Is this possible?
Best regards,
Frank Mueller
----- Weitergeleitet von Frank Mueller/AG/OERAG am 30.08.2005 16:12
-----
Frank
Mueller/AG/OERAG
An
17.08.2005 14:15 IBM AIX Discussion List
<aix-l@Princeton.EDU>
Kopie
Thema
monitoring errorlog with wsm?
(Document link: Frank Mueller)
Hi,
we monitor all SP-nodes with PSSP (event persepctives). With PSSP can I
monitor the errorlogs of the nodes.
Now I monitor our standalone notes over WSM (web-based system
management)
which is default on AIX. But I don't see a event definition concerning
"monitor errorlog"
Can I define this in wsm?
Best regards,
Frank
----- Message from <kevin.adams@PHS.COM> on Mon, 10 Jan 2005 20:54:08
+0200 -----
To:
<aix-l@Princeton.EDU>
Subject:
Re: anyone RSCT savy?
Shawn,
You're really asking an RMC question.
What you need is a condition and then a response.
Here is a script I use. I use a modified syslogevent and notifyevent
based
on IBM's supplied notifyevent.
This script monitors paging space and / /var /tmp and /audit
filesystems.
Below 50% utilization I email and syslog, and above 50% I email, syslog
and
page. You can change that.
There is an RMC redbook too.
This should get you going:
# cat mkrmc
#!/bin/ksh
. /.profile
mail='E-mail root anytime'
page='PBH Page event anytime'
slog='PBH Syslog event anytime'
mkresponse -n "Page message" \
-d 1-7 \
-t 0000-2400 \
-s "/usr/local/pacificare/rmc/notifyevent $KEVIN_CELL" \
-e b \
-r 0 \
"$page"
mkresponse -n "Syslog message" \
-d 1-7 \
-t 0000-2400 \
-s "/usr/local/pacificare/rmc/syslogevent" \
-e b \
-r 0 \
"$slog"
for pct in 25 50 75 85 90 95 100; do
mkcondition -r "IBM.Host" \
-e "PctTotalPgSpUsed > $pct" \
-E "PctTotalPgSpUsed < $pct" \
-d "More than $pct percent of total paging space in use." \
-D "Less than $pct percent of total paging space in use." \
-S "i" \
-m "l" "PBH Paging percent space used $pct"
if (( $pct > 50 ));then
startcondresp "PBH Paging percent space used $pct" \
"$mail" \
"$slog" \
"$page"
else
startcondresp "PBH Paging percent space used $pct" \
"$mail" \
"$slog"
fi
for fs in root audit tmp var; do
if [[ $fs = root ]]; then
fs=""
fi
mkcondition -r "IBM.FileSystem" \
-e "PercentTotUsed > $pct" \
-E "PercentTotUsed < $pct" \
-d "More than $pct percent of total space in use." \
-D "Less than $pct percent of total space in use." \
-s "Name == \"/$fs\"" \
-S "i" \
-m "l" "PBH /$fs percent space used $pct"
if (( $pct > 50 ));then
startcondresp "PBH /$fs percent space used $pct" \
"$mail" \
"$slog" \
"$page"
else
startcondresp "PBH /$fs percent space used $pct" \
"$mail" \
"$slog"
fi
done
done
Kevin Adams
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Shawn Bierman
Sent: Monday, January 10, 2005 6:09 AM
To: aix-l@Princeton.EDU
Subject: [aix-l] anyone RSCT savy?
I would like to run a custom script when a filesystem gets to 75% full.
However, I cannot find a response that will fire a script off.
biermans@sf1n03en4:/home/biermans > lsresponse
Displaying response information:
ResponseName
"Broadcast event on-shift"
"E-mail root off-shift"
"E-mail root anytime"
"Log event anytime"
"Informational notifications"
"Warning notifications"
"Critical notifications"
"Generate SNMP trap"
I'm just learing about rsct so its likely I'm just overlooking
something. Can I create a custom response that will run a script?
tia,
-shawn
This electronic message transmission, including any attachments,
contains information from PacifiCare Health Systems Inc. which may be
confidential or privileged. The information is intended to be for the
use of the individual or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use of
the contents of this information is prohibited.
If you have received this electronic transmission in error, please
notify the sender immediately by a "reply to sender only" message and
destroy all electronic and hard copies of the communication, including
attachments.
- Previous message: Holger.VanKoll_at_SWISSCOM.COM: "Re: monitoring errorlog with wsm?"
- In reply to: Holger.VanKoll_at_SWISSCOM.COM: "Re: monitoring errorlog with wsm?"
- Next in thread: fmu_at_OERAG.DE: "Antwort: Re: monitoring errorlog with wsm?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Antwort: Re: monitoring errorlog with wsm?
... Subject: monitoring errorlog with wsm? ... But I want monitor
the errorlog with wsm. ... slog='PBH Syslog event anytime' ... (AIX-L) - Re: monitoring errorlog with wsm?
... wsm is more ore less a grafical smitty ... Subject: monitoring errorlog
with wsm? ... But I want monitor the errorlog with wsm. ... slog='PBH Syslog
event anytime' ... (AIX-L) - monitoring errorlog with wsm?
... But I want monitor the errorlog with wsm. ... Now I monitor our
standalone notes over WSM (web-based system management) ... (AIX-L) - Re: system hang up
... > telnet to host or even can not control the monitor attached on host. ...
> resource by topas command. ... What, if any changes, have been made to the platform
prior ... Another responder suggested running some AIX utilities ... (comp.unix.aix) - Re: monitor program for AIX 5.3
... I'm running AIX 5.3 on a 9113 p5-550 box. ... Does anyone have the 'monitor'
program running at AIX 5.3? ... init dk array failed for entry 0 ... calloc:
Not enough space ... (AIX-L)