Sponsored Content
Top Forums Shell Programming and Scripting Monitoring script for hardware and software problems Post 302409178 by zaxxon on Wednesday 31st of March 2010 10:47:42 AM
Old 03-31-2010
There are various different derivatives of Linux, Unix etc. out there. Each have different ways to check for such things you listed.

Depending on that, it can be much more thanjust a little script to check out different conditions and to interpret them correctly etc.

Try to write a script yourself and if you have particular problem, don't hesitate to ask.

For checking the result of exit codes, you only need some basic knowledge of shell scripting. Also for sending mails there is still the help of the search function of this forum since this is a very common question being asked here.

I change the subject since it is not very descriptive. When opening threads in future, please use some more descriptive subjects so that people that search for similar topics have it much easier to find them, thank you.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

lm_sensors? hardware monitoring?

ok ok ok, this is my third post on the day I become a member. I should stop. I'm sure all my questions are in the wrong forums. I'm sorry. my question is about lm_sensors, and hardware monitoring. I have the goods, lm_sensors.tar.gz, and i2c.tar.gz and I'm rather confusled. could someone... (2 Replies)
Discussion started by: plusran
2 Replies

2. UNIX for Advanced & Expert Users

Monitoring Software??

Hi everybody, I am currently setting up a web site for customers to place orders. Having placed the order the file will be downloaded onto the Unix server (SCO UNIX v 5.0.4). At this point I need to be able to monitor the system for the file being resident and if it is then perform an action on... (2 Replies)
Discussion started by: cookiejar
2 Replies

3. UNIX for Dummies Questions & Answers

hardware monitoring on unix servers (Sun and Bull AIX)

Hello, I was given the task to write a shell script that must detect hardware problems on Unix Solaris and AIX servers. Problems that should be detected by this script are for example: abnormally high temperature or voltage etc... So, does anyone know if that kind of information is logged in a... (2 Replies)
Discussion started by: VeroL
2 Replies

4. AIX

AIX and SUN unix commands for hardware monitoring

Hello again, I would like to know if the following commands: diag, errpt, lscfg, lspv, lsvg, lsps, lslv for AIX and prtdiag, psrinfo, sysdef for SUN are native to these systems or if they are in fact scripts that are added after the unix installation. Thank you in advance. Have a nice day (4 Replies)
Discussion started by: VeroL
4 Replies

5. UNIX for Dummies Questions & Answers

Utilities/Scipts to Inventory Hardware and Software

Hi All, I am looking for a way to inventory the hardware and software components of many Solaris 8 servers/workstations. I would like to script this to run against a list of IP's in a text file. For Windows there are many such programs available (like Belarc) Is there anything similar for... (4 Replies)
Discussion started by: limey
4 Replies

6. Shell Programming and Scripting

Filesystem Monitoring script problems

Hi there all, #!/usr/bin/ksh Set -x MIN_MB_FREE="100MB" # Min. MB of Free FS Space MAX_PERCENT="85%" # Max. FS percentage value FSTRIGGER="1000MB" # Trigger to switch from % Used to MB Free WORKFILE="/tmp/df.work" # Holds filesystem data >$WORKFILE #... (0 Replies)
Discussion started by: draco
0 Replies

7. Shell Programming and Scripting

Hardware and Software Configuration in UNIX..

Hi, Anybody please let me know the command to find the Hardware and Software components used in any HP-UNIX or Sun Solaris UNIX server ? I need to get all the configuration of the UNIX server. Thanks, Rohit.. (1 Reply)
Discussion started by: ronix007
1 Replies

8. UNIX for Dummies Questions & Answers

Hardware monitoring free tool

Folks; What is a good free tool i can use on my SUSE10 to monitor the hardware so i can be notified in case of any failure such as fan failure, etc..? (2 Replies)
Discussion started by: Katkota
2 Replies

9. Windows & DOS: Issues & Discussions

windows server hardware monitoring

:wall:hi all, as hp support pack has hpasm, hpacu command using in linux server to show and monitor hareware status. hpacu command was avaialbe in windows server also, but where can find hpasm command in windows, it looks hp support pack not support hpasm in windows. any one can help? an... (1 Reply)
Discussion started by: maxlee24
1 Replies

10. Solaris

Hardware to software RAID migration

We have hardware RAID configured on our T6320 server and two LDOMs are running on this server. One of our disk got failed and replaced. After replacemnt the newly installed disk not detected by RAID controlled so Oracle suggested to upgrade the REM firmware. As this is the standalone production... (0 Replies)
Discussion started by: rock123
0 Replies
script(1)							   User Commands							 script(1)

NAME
script - make record of a terminal session SYNOPSIS
script [-a] [filename] DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the record is saved in the file typescript. See WARNINGS. The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends when the forked shell exits or when Control-d is typed. OPTIONS
The following option is supported: -a Appends the session record to filename, rather than overwriting it. NOTES
script places everything that appears on the screen in filename, including prompts. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |CSI |Enabled | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a privileged user, that is, root. Be sure that typescript is not a link before running script. SunOS 5.10 30 Jan 2004 script(1)
All times are GMT -4. The time now is 05:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy