Page 1 of 1

Auto Start Service on windows server

Posted: Sun Sep 13, 2020 2:34 pm
by RIDS_I2MP
HI Team,

Kindly let us know if there is any possibility to Auto Start service e.g: IIS Admin , WWW on windows server via Nagios XI.

We have already configured NSC Client on the server and the services are also being monitored but if in case it gets stopped is there any way Nagios can start it automatically.

Please let us know the entire procedure for doing so.

Re: Auto Start Service on windows server

Posted: Mon Sep 14, 2020 3:22 pm
by cdienger
A configuration like this is covered in this document:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Auto Start Service on windows server

Posted: Tue Sep 15, 2020 6:12 pm
by RIDS_I2MP
Hi Team,

The Document suggests that one script has be placed and service has to be restarted on each server. Perhaps we havea huge volume of servers say 400+ so to do that will not be a feasible task.

Kindly provide an alternate solution for this as to how to do that on 400 servers in one go.

Can we make use of check_system command or check_all_services[SERVICE_AUTO_START]=started this as i could see this in the config file for NSC Client anything which will not bother us to modify config file or to restart NSC Client ++ service will be a feasible solution for us.

Kindly let us know if any solution on urgent basis as we need to implement it quickly.

Re: Auto Start Service on windows server

Posted: Wed Sep 16, 2020 3:11 pm
by cdienger
check_system is meant to just to check and get metrics as far as I am aware and I check_all_service is likely the same, but can you provide more details on the config for check_all_service ?