Script to find hardware issue


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Script to find hardware issue
# 1  
Old 04-10-2012
Script to find hardware issue

hii everyone,
i am handling data center,so most of the time i have to check hardware issue.So i came to the conclusion that try something automatic.

so the thing is that when any hardware issue come to the server it send a automatic mail to my mail server like hotmail.com

And i will configure the hotmail.com in such a way that when it will get a mail from a particular mail address i will get a message on my mobile. So it will reduce so much time.
REQUIREMENT:
1-shell script to find the hardware error.
2-rest of the thing i will do myself.

So i want to all of you to help me to write the script for finding hardware issue.

THANKS !!!!!Smilie
# 2  
Old 04-10-2012
Finding hardware errors depends on the type of OS that you use. Examples on how a mail can be sent has been posted in this forum very often - try the search function first.

What have you tried yourself so far?

You are spamming questions and not showing any effort. Same in the other post where you ask about the environment variable, which might be more called "prompt".
There are posts like this
https://www.unix.com/unix-dummies-que...ix-prompt.html
in the forum about how handle it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

DHCP Issue Possibly due to Hardware Clock?

Hello All, OS: openSUSE 13.1 (Bottle) (armv7hl) PC: CuBox-i (*mini-pc) The PC in question is a CuBox-i mini-pc. Since this PC doesn't have a battery, everytime the PC reboots the hardware clock is reset back to the same date every time, which is "2014-07-08 00:00". I have NTP configured... (5 Replies)
Discussion started by: mrm5102
5 Replies

2. UNIX for Advanced & Expert Users

Linux Command To Find the System Configuration And Hardware Information

Hello guys. I wanted to find the System Configuration and Hardware Information on one of my servers. Here is part of the cpu info: CPU core info: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU... (2 Replies)
Discussion started by: Ymir
2 Replies

3. Solaris

Remote managemnt - looking at hardware issue (using ALOM ) Server rebooting

Hi we have A sun4v SPARC Enterprise T2000 It has started to go down frequently without producing any corefiles. There is nothing in the logs to induicate any issues. So I'm trying to remotely check this and get to see if there are any hardware issue. I heard about ALOm and I think this is... (4 Replies)
Discussion started by: mnassiri
4 Replies

4. Shell Programming and Scripting

Help with Linux hardware fault script in Perl

Hello, I am working on a Perl script to run from an AIX Nim server to extract hardware errors from our Linux server using various forms of grep statements - I have all my hosts in a text file and a command is run from the nim server to each host to pull out data from /var/log/messages and... (5 Replies)
Discussion started by: neilh1704
5 Replies

5. Solaris

e2900 hardware issue?

Hi, I am fairly new to Solaris , i have an e2900 server which gives the following output on the console: Fri Sep 23 08:20:57 noname.example.com lom: /N0/SB0 : F ailed AR interconnect test. Status = 00060040 Fri Sep 23 08:21:00 noname.example.com lom: AR Intercon nect test: System board... (7 Replies)
Discussion started by: steve_b72
7 Replies

6. Hardware

Hardware issue advice

Hi all, I've got an issue with my PC and was wondering what you thought might be the issue. The problem manifests it'self in two ways (at least I'm assuming it's related). 1. I turn the power on at the wall and press the on button, but nothing happens. I have to wait for several seconds to... (3 Replies)
Discussion started by: DougyC
3 Replies

7. Solaris

Need some help to find out hardware details

hi all i am looking for some command or utility to find out hard ware details. 1. How should i know whether my network adapter is a fibre card or RJ25 (upd) card (ethtool in linux) 2. How to check physical connectivity. ("mii-tool eth0" in linux) 3. How to find pci devices with exact details.... (1 Reply)
Discussion started by: kingston
1 Replies

8. Shell Programming and Scripting

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... (2 Replies)
Discussion started by: saidiya
2 Replies

9. UNIX for Advanced & Expert Users

Command to find Hardware model in Solaris

Hi, I need a command to find the Hardware Model in Solaris 8,9,10,11. The command which I am using right now is: /usr/platform/`uname -i`/sbin/prtdiag The problem is in this output:- System Configuration: Sun Microsystems sun4u Netra T1 200 (UltraSPARC-IIe 500MHz) Here I am... (1 Reply)
Discussion started by: vineetd
1 Replies

10. UNIX for Dummies Questions & Answers

How do I find information about the hardware?

Hello I used to Red Hat and the common Linux commands, but now I have to deal with a SCO-Unix (Unix Ware 7). I have to find information about the hardware. What networkcard is installed? What graphiccard is installed? Which SCSI-Adapter and what kind of harddisks? What software is... (3 Replies)
Discussion started by: Fwurm
3 Replies
Login or Register to Ask a Question