03-31-2010
Monitoring script for hardware and software problems
Gentlemen
I want to write a small script and run as cronjob sothat the script runs every four hours
The script should be capable of finding any hardware issues,panics,coredumps
if anyissues found it should sent mail.If no issues it shouldnt sent mail
Deeply appreciated if any help is given
thank you so much
sai
Last edited by zaxxon; 03-31-2010 at 11:49 AM..
Reason: subject, non descriptive
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
: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
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
LEARN ABOUT ULTRIX
doconfig
doconfig(8) System Manager's Manual doconfig(8)
Name
doconfig - a program to aid system configuration
Syntax
/etc/doconfig [-c config_file] [-e ed_script]
Description
The shell script modifies a copy of the GENERIC configuration file for a new ULTRIX system kernel. The script prompts you for the system
name. If the system name does not currently exist, a system configuration file with that system name is built.
Whether the configuration file is built or not, the script then allows you to edit, configure, and build until both the configuration and
the kernel build run without errors. Additional runs of can be made to tune the configuration further.
When new hardware is added to a system, the configuration file should be updated to reflect the new system configuration. When updating an
existing configuration file or creating a new configuration file with the system must be operating the generic kernel or new hardware may
not be found. To successfully complete the process, follow these steps:
1. Save the running as
2. Move to
3. Reboot the system to single user mode.
4. Check file systems.
5. Mount the file system.
6. Run the program. (When execution is complete, make a note of the message prints showing the path and location of the new
7. Move to
8. Copy the new (from the message noted above) to
9. Reboot the system.
Options
-c The name of the existing configuration file should be supplied without specifying the pathname. This file should exist in the
directory. A new kernel is built using the specified configuration file.
-e When specified, the configuration file is edited by the ed script before building the new kernel.
Files
See Also
ed(1), config(8)
Basic Installation Guide
Guide to System Configuration File Maintenance
RISC doconfig(8)