Trigger executable on HMC on occurence of an event


 
Thread Tools Search this Thread
Operating Systems AIX Trigger executable on HMC on occurence of an event
# 1  
Old 11-12-2014
Trigger executable on HMC on occurence of an event

Hi all,

sadly I currently don't have any access to a HMC and I am interessted if anybody knows if there is any way to trigger an executable/script in case of incomming hardware errors etc.. I don't remember there was any such option but then my last HMC was v7.x more than 2 years ago I saw.
I saw an article about to configure syslogd on a HMC to forward such events to another syslogd. In the official documentation/Redbook there was only mentioned to trigger a message via SMTP but that's not sufficient for my environment.
Our event management system is not an IBM product so I don't have options via Systems Director or Tivoli Monitoring/OMNIbus.

Any experience/hints on your side?
# 2  
Old 11-12-2014
Quote:
Originally Posted by zaxxon
I don't have options via Systems Director
Systems Director is officially dead and buried - at good last. ;-)

I think you look at it from the wrong side: the HMC is an appliance and your possibilities to implement there anything useful at all are limited. (Right now it is relatively easy to become root on the HMC, given that shellshock bug, but most of the time you are in a poor position when you try to do administration work on the HMC.)

My suggestion is to write a script which queries the HMC remotely about hardware conditions. Issue "lssyscfg" and/or related commands via a ssh-connection and then parse in your script what comes back. We use this mechanism to automate things like LPAR generation and similar tasks, but you can surely automate your task this way too.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 11-13-2014
Quote:
Systems Director is officially dead and buried - at good last. ;-)
Really? Smilie I had the dubious honor 4 or 5 years ago to check what this thing can do and it was not much useful. I thought I overheared that it was improved a lot since then, but that it is now dead is interessting heh.

I know it is an appliance and somewhat tight/limited on what you can do there.
Because I am not up to date I thought they might have implemented something now, that you can trigger other scripts/executables easily, but ok, so far nothing seems to have changed on this.

Thanks Smilie
# 4  
Old 11-13-2014
Quote:
Originally Posted by zaxxon
Really? Smilie I had the dubious honor 4 or 5 years ago to check what this thing can do and it was not much useful. I thought I overheared that it was improved a lot since then, but that it is now dead is interessting heh.
OK, i admit: declaring the Systems Director itself "dead and buried" was a bit of wishful thinking on my part. In fact the "Systems Director Management Console", which we were threatened with for the last years and which - for the last years - was announced to replace the HMC "real soon now" is completely dead. Systems Director (so i overheard it) will probably be renamed one more time before finally being put where it belongs. Here is a link:

SDMC is dead

It actually is a piece of art in itself to create software which makes something like the HMC look good and preferable.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Print between patterns - first occurence, second occurence etc

I have a file # cat asasas AAAAAA 11 22 33 44 BBBBB NILNILNIL AAAAAA 22 33 44 55 66 77 88 BBBBB NILNILNIL (2 Replies)
Discussion started by: anil510
2 Replies

2. UNIX and Linux Applications

update trigger

hi all, i hope i am posting this /beginner) question in the right forum: i want to create an update trigger, which rolls back a transaction if a record of a table is updated. the table has - amongst others - a field 'statusid' - if a record in this table has the statusid X and it is attempted... (0 Replies)
Discussion started by: kalinkula
0 Replies

3. Shell Programming and Scripting

Trigger with condition

If test.ksh is successful then I have a sequence of script which needs to execute automatically. Is it possible to capture the return code to execute the next script automatically? what is better way of doing this. (4 Replies)
Discussion started by: zooby
4 Replies

4. Shell Programming and Scripting

Trigger Enter

Hello, I need to trigger every time enter has been clicked while some one on terminal i tried to googleit but with out result any idea ?? thanks in advance (3 Replies)
Discussion started by: AYAK
3 Replies

5. UNIX for Dummies Questions & Answers

Can we trigger an shell script on an event

Hi, My program A updates a log called logA. I have a shell script S that is responsible to send emails reading from the log. I want to trigger execution of the script whenever there is an update to the log. Thanks in advance. (8 Replies)
Discussion started by: cv_pan
8 Replies
Login or Register to Ask a Question