common.cfg template

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

common.cfg template

Post 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
Nagios XI 5.8.1
https://outsideit.net
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: common.cfg template

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked