Link to home
Start Free TrialLog in
Avatar of nino2004
nino2004

asked on

How I write cl app to send notificatios to my email

Hello there
I am windows network guy and I need to monitor jobs and OS on the AS/400,
anyone there can help me with that?
I am looking to get a notification to my email for teh major events happening on as/400 reboot, shutdown, jobs did not started, jobs fails..etc
we do have have Exchange server and we do not have domino or msf configuered
thanks in advance
nagi_mickael@rentway.com
Avatar of Barry Harper
Barry Harper
Flag of Canada image

Hi nino2004

To set up email on the AS/400 is relatively easy:
i)   set up TCP/IP domains
ii)  add directory entry
iii) set up a mail relay to your email server
iv)  start the servers
v)   send the mail
Details on how to do this can be found at:
http://www-912.ibm.com/s_dir/slkbase.nsf/1ac66549a21402188625680b0002037e/34879f5e413aa5cd8625697b0053f36a?OpenDocument&Highlight=0,smtp


For your monitoring requirements, your choices are:

1) Buy solution(s)
The two alternatives that I would consider are:
a) from Help Systems. Help has a whole suite of products that integrate together. You are primarily interested in the Robot/Console product that monitors messages and in Robot/Alert which handles alerting you through paging, etc.
The products are not cheap. Spending U$10,000 will be easy.
Their tech support is reliable.
b) from Bytware.  The product is Messenger/Plus which will handle most of what you need.
Cost is lower, but they offer a narrower range of products.
Their tech support is okay.

2) Write your own.
With some work and help (from experts-exchange as well), you can write message monitoring and alerting yourself. You will learn a lot in the process. This assumes you are comfortable with medium-level programming. There are some basic tools available in Operations Navigator too, especially the current releases.

Hope this gets you started!
Avatar of nino2004
nino2004

ASKER

B H
thanks for your help that really great info here but i can not afford to buy any solution, the ony way for me now is to wrtie my own code using help from here
I do thank you again for your quick help,
now any one there can help me with the code????
The email (rentway)is not used longer work please answer here or nagi_mickael@yahoo.com
Nino

Let's start with the free stuff. Assuming you are using iSeries Access for Windows, install the Navigator components. Check out what can be done from there. Refer to this link:
http://www-03.ibm.com/servers/eserver/iseries/navigator
Of particular interest to you is the "Functions by Release" link on the navigation bar.

What release are you at?

Please include a more exact list of things that you want to monitor.

bh
hello BH
I am on V5R3 windows client but the server are going to be updated to V5r4 today, i have the navigator installed on my pc and also i can access using the black screen.
I need to monitor rebooting activitites , serviecs stopped or started also Job stopped or started and the time on each event.
also The DB2 i need to know if the dbase are up and running , also any meesage hanging there needs reply,
You can advice me as I am an IT guy what i need to know else from the Iseries
thanks
IBM service director monitors your system for hardware problems. Make sure
it is working by sending a test problem to your hardware maintenance
company, presumably IBM. Test this by using command GO SERVICE and look for
the option to send a test problem.

Did you check out the Navigator info? Look especially under Management
Central at the monitors. You can do a lot of what you need in there. If you decide that Navigator cannot do what you need, post back and I can get you started with basic CL programming.

Please keep in mind the scope of your question is quite large. I typically spend 3 days on setup and 5 days on user training for my customers who are new to the platform.

bh
BH,
I am not able to do that from the Navigator client for windows, But I am done of setting up the SMTP i can do SNDDST to my email (outlook) and the email i can sedn for now is just a test LMSG ok, here is what i need to do :
I need to write a CL a program can look at the qhst log and  then do a snddst to my email so I can get if the JOBs are done successfuly and completed or any messages there need to be reply,,etc.
I hope i was able to explaine my thoughts to you and forgive my poor english
Thanks for your help
Nagi
ASKER CERTIFIED SOLUTION
Avatar of Barry Harper
Barry Harper
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Mr. BH
You are great man i think this is what i am looking for
i will try to do that and let you know what i got, for your question yes I need to know if teh job is completed or not
the backup is copmleted also and all other critical messages
but for now you done great
tell where did you find that? i used google but never found such a useful link like this one :)
Thanks for your time
Nino
Glad to help Nino. I will follow up on iSeries Navigator, and check into monitoring QHST for you.
bh
Hello B H,
thanks for your reply and I would like to ask you also if we need to write this in VB.net inviroment as i do have some courses in vb.net and i think i can write an applictaion do you think we can get same result i mean we can setup a program can monitor teh Iseries using vb.net?
thanks
Nagi