Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom tools hang

JKytsi
Honored Contributor

Custom tools hang

Hi,
We are using a custom tool to monitor linux servers. tool is run every night. Sometimes it hangs and stays in the "running" state for ever.

The problem is that SIM will run the tool next night regardless the state of previous run. is there an option to make SIM kill hanged tool automatically or make it so that it will not start another session before previous one has stopped ?
Remember to give Kudos to answers! (click the KUDOS star)

You can find me from Twitter @JKytsi
2 REPLIES
Change_happens
Honored Contributor

Re: Custom tools hang

Not HP SIM specific but general:
u can store ur exit status in a file and before running tool just check status of previous tool from that file. If it over run again otherwise no? Will it solve ur purpose?
JKytsi
Honored Contributor

Re: Custom tools hang

Eventually the script has evolved to be more intelligent to kill itself if hang.
Remember to give Kudos to answers! (click the KUDOS star)

You can find me from Twitter @JKytsi