Skip to Content
0

Check status of the VDS services via idm job.

Nov 21, 2017 at 04:27 PM

48

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Matt Pollicove
Nov 22, 2017 at 02:06 PM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0