Normal practice for .cfg files

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ortizmj12
Posts: 1
Joined: Fri May 07, 2010 3:02 pm

Normal practice for .cfg files

Post by ortizmj12 »

I'm new to Nagios, just installed Nagios 3 on Ubuntu 10.04. I have Nagios up and running and it's monitoring a Windows server successfully (used this guide). I'm curious as to the normal practices for monitoring multiple Windows servers. Does one list all the servers in the windows.cfg file, or does one create a new .cfg file for each server and list that .cfg file in the nagios.cfg file?

Thanks in advance!
jchivian
Posts: 5
Joined: Fri Nov 05, 2010 7:07 pm

Re: Normal practice for .cfg files

Post by jchivian »

For me best practice is one config file per system. If you edit nagios.cfg to include a configuration directory (instead of a bunch of configuration files) you don't even have to touch the top level nagios.cfg afterward, you just edit and add individual cfg files and restart.
Locked