- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Load Average monitor for RHEL AS servers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2008 09:15 AM
10-03-2008 09:15 AM
Load Average monitor for RHEL AS servers
My LINUX versions include 2.1,3,4,5.1 etc.
what would be your suggetion on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2008 01:17 PM
10-03-2008 01:17 PM
Re: Load Average monitor for RHEL AS servers
You can create a simple script, for example:
ALARM=10
uptime | tr -d "," | tr "." "," | awk -v ALARM=$ALARM '$10 > $ALARM { print $0 }'
You can then add notifications via mail.
Or you can use tools like nagios, zabbix, ganglia. Better if you do this because you will have historical graphs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 02:39 AM
10-06-2008 02:39 AM
Re: Load Average monitor for RHEL AS servers
You can also use 'sar -q' to know the details.
If you have installed either Glance/ Performance Agent, you can configure it to send alert on yoru console, mail, manager console etc. It has better alarming capabilities.. based on conditions/probability..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2008 05:11 AM
10-30-2008 05:11 AM
Re: Load Average monitor for RHEL AS servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2008 01:21 AM
10-31-2008 01:21 AM
Re: Load Average monitor for RHEL AS servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2008 05:20 AM
10-31-2008 05:20 AM
Re: Load Average monitor for RHEL AS servers
check this script, if the load goes to 6 in 15 minutes, it will create a text file. you can set the mail to parameter to send you mail.
#!/bin/bash
# Set up limit below
NOTIFY="6.0"
FTEXT='load average:'
# 15 min
F15M="$(uptime | awk -F "$FTEXT" '{ print $2 }' | cut -d, -f3)"
# compare it with last 15 min load average
RESULT=$(echo "$F15M > $NOTIFY" | bc)
# if load >= 6.0 create a file /tmp/file.txt
if [ "$RESULT" == "1" ]; then
echo 'LOAD ISSUE'>/tmp/file.txt
fi