cancel
Showing results for 
Search instead for 
Did you mean: 

Check status of the VDS services via idm job.

devaprakash_b
Active Contributor
0 Kudos

Hello Experts,

When we go to run->type services.msc->installed services on the server and their status is displayed.

I would like to create a scheduled job in IDM, which checks on hourly basis if the dispatcher and VDS services are running on the windows server or not.

Dispatcher status i can consider via mc_dispatcher table, but to get the status of the VDS services or other services installed on the server

Can i do it via shell execute pass? creating a .bat file to get the status and storing it in a file or table.

Later create an another pass, which reads the file or table and gets the status.

Please let me know if this solution can be possible to implement, if not can you please guide me how to proceed further or else let me know if there is any other easiest solution available.

Regards,

Deva

Accepted Solutions (1)

Accepted Solutions (1)

former_member2987
Active Contributor

Hi Deva,

That sure is an interesting question. At the moment, I do not believe there is a "standard" way to do this via IDM, either through the Identity Center or the Virtual Directory Server (and its API).

However, I would suggest trying this... Create an IDM Job with a "To LDAP" pass that queries your VDS Configuration every hour. Write an Error Script that would notify you if the Configuration is unresponsive.

You'll find a nice start to that script in a blog by Chris Krabsetsve, that just so happens to be written with LDAP in mind. You'll probably need to tweak it a little for LDAP errors that would indicate the service is down.


Hope this helps!

Cheers,

Matt

devaprakash_b
Active Contributor
0 Kudos

Hi Matt,

Thanks for your response. So try to create an FromLDAP Pass and try to retrieve any user related records.

If the service is running, the records would have returned successfully, if not then link a script which can update the error or send mail notification.

Regards,

Deva

Answers (0)