Solved

Send mail on Hardware error

Posted on 2011-02-20
6
1,107 Views
Last Modified: 2012-05-11
How I can enable on a iSeries As400 system, to send mail in case of hardware error, via my mail server.
0
Comment
Question by:DareDevilE12
6 Comments
 
LVL 37

Expert Comment

by:momi_sabag
ID: 34938701
how do you detect hardware error?
0
 
LVL 1

Author Comment

by:DareDevilE12
ID: 34939008
From the alert message at the console pc and from the log.
But I need to have a mail if something happen in the weekend.
That why I am looking for a script, to read the alert, and send a mail.

Best Regards
0
 
LVL 6

Accepted Solution

by:
Jon Snyderman earned 500 total points
ID: 34960086
Apparently your question was abandoned.  There is no built-in easy AND free way to do this on the 400.  There are many options though.  The best would be thrird party options.  I would recommend CCSS or Help\Systems.  Both are very high quality monitoring systems with graphical interfaces that will do more than just monitor simple hardware failures.

Another option is using IBM Director which is installaed on a WIntel server and then can be setup to monitor the iSeries.   This is free but there is no support at the free level.  It is very powerful though.  Along the same lines as the above third party apps.

The most down and dirty is to write your own.  There are problem reporting APIs and exit points.  If you are an RPG programmer or have an RPG programmer available, this should not be too difficult.  
Here is the problem management API manual:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/pm.pdf
Once you have identified a problem, to send mail from the iSeries, here is a good Search400 article that takes you through it step by step.
http://search400.techtarget.com/news/968106/Activate-SMTP-service-on-the-iSeries-system-to-send-e-mails

Hope that helps if you havent already solved it yourself.
~Jon
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 27

Expert Comment

by:tliotta
ID: 34965790
Keep in mind that "hardware error" and "e-mail" can be mutually exclusive. E.g., if the failing component is a network adapter, it's going to be a challenge pushing e-mail out to the network.

Tom
0
 
LVL 6

Expert Comment

by:Jon Snyderman
ID: 34965881
LOL! Thanks Tom.  That is a really good point.   However, that is going to be a common thread in all scenarios regardless of a home grown API, third party app and even IBM ECS since that even uses the Internet now.  

To cover that, you need to have ECS dialing through a modem and maybe an app like CCSS notifying via pager.

~Jon
0
 
LVL 1

Author Comment

by:DareDevilE12
ID: 34968490
Solution suggested

Best Regards
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now