Options and Parameters, Control Panel and Managers
What's the difference between command line options and parameters? What's the difference between a control panel and a manager? And should hosts.cfg be located in /etc/nagios/ ?
What's the difference between command line options and parameters? What's the difference between a control panel and a manager? And should hosts.cfg be located in /etc/nagios/ ?
Options change the behavior of a program. For example display number of bytes or a human readable format. Parameters are the objects that a program acts upon. For example in "mv File_1 File_2", the files are parameters.
A control panel is a where you can set options. For example your screen can be set to one of several resolutions. A manager is a where you modify data. Cupsys and Swat are managers since they manage which printers you print to and which directories you share.
/etc/ is the place to put configuration information for programs. /var/ is the place to put the data that the programs work one. Therefore hosts.cfg, the file that lists the hosts Nagios should monitor, should be located in /var/lib/nagios/. nagios.cfg is located properly in /etc/nagios/.
http://derocher.org/~brian//trackback.php?ParentId=342