Page 1 of 1

common.cfg template

Posted: Thu Nov 27, 2014 5:19 am
by WillemDH
Hello,

Automating management of nsclient configs for Windows Servers is working very nice atm, but as we are eusing more and more Linux servers, I was wondering what's the best way to automate updating the common.cfg file where the commands are located? I would like to make a quick action to update this common.cfg file with the latest version.

Any tips / advice on how to handle this?

Grtz

Willem

Re: common.cfg template

Posted: Mon Dec 01, 2014 11:45 am
by abrist
Scripts and ssh. The quick action script would need to log into the remote box, wget/ftp/scp the newest nrpe config, and then restart the xinetd/nrpe service. Most people do this type of work with puppet, or nrdp/nrds.