- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux Remote Server Disk, Memory, Kernel Monitorin...
Operating System - Linux
1753894
Members
7509
Online
108809
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-18-2010 02:39 AM
04-18-2010 02:39 AM
Linux Remote Server Disk, Memory, Kernel Monitoring Scripting
Good day
I have 10+ machines on a network.
Installed with RHEL 5 operating system.
I am new to scripting ....Can any one help me on writing a script to check on all the machines for
1) Memory size
2) Diskspace
3) Dropped packets on eth0
4) Disk I/O errors
5) Kernel Versions
6) Count of mount points on each node
7) Segfault errors
if the machine passes above steps should report that the machine is OK
If any error should alert for system check or failed.
your co-opertion will be highly apprecieated.
pleasee advise
I have 10+ machines on a network.
Installed with RHEL 5 operating system.
I am new to scripting ....Can any one help me on writing a script to check on all the machines for
1) Memory size
2) Diskspace
3) Dropped packets on eth0
4) Disk I/O errors
5) Kernel Versions
6) Count of mount points on each node
7) Segfault errors
if the machine passes above steps should report that the machine is OK
If any error should alert for system check or failed.
your co-opertion will be highly apprecieated.
pleasee advise
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2010 05:22 AM
04-18-2010 05:22 AM
Re: Linux Remote Server Disk, Memory, Kernel Monitoring Scripting
Just about everything you're looking for is in /proc and a lot of that with collectl. While you could always run collectl from a script it might be easier to just grab a bunch of data from the same /proc structures. http://collectl.sourceforge.net/InputFiles.htmlwill show you where collectl gets its data from. As far as other things you can get the kernel version from 'uname' and the mount poins from 'mounts'. I'm note sure where you could get segfaults, but maybe someone else knows.
-mark
-mark
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP