Sponsored Content
Top Forums UNIX for Advanced & Expert Users Script to find hardware issue Post 302621195 by vipinkumarr89 on Tuesday 10th of April 2012 04:12:28 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
apticron(1)						      General Commands Manual						       apticron(1)

NAME
apticron - Generate a mail listing packages which are pending an upgrade SYNOPSIS
apticron [--cron] DESCRIPTION
apticron is a shell script which generates a mail with a list of all packages currently pending an upgrade, as well as summary of changes - using apt-listchanges - to a configurable Email address. apticron is mainly intended for automatic notification of pending security updates but can also be used in many other situations where timely updates are necessary. The --cron option is only meant to be used when invoked by cron in order to run no more than once a day. FILES
/etc/apticron/apticron.conf Configuration file, Email address to mail and profile for use with apt-listchanges are configurable. /etc/cron.d/apticron Cron job for executing apticron daily. /etc/cron.daily/apticron Fallback cron script for executing apticron (if no crond running or system down at designated time). /var/lib/misc/apticron.cron Time stamp file used by apticron when invoked with --cron option. SEE ALSO
apt-get(8), apt-listchanges(1), cron(8) AUTHOR
Apticron was initially developed by Colm MacCarthaigh <colm.maccarthaigh@heanet.ie> with contributions from Marc Sherman <msherman@projec- tile.ca>. Since 2006 it is maintained and improved by Tiago Bortoletto Vaz <tiago@debian.org>. apticron(1)
All times are GMT -4. The time now is 09:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy