After you have determined the root reasoning of their “object-oriented” setup, you will delight in Nagios’ independence and you may brush design

After you have determined the root reasoning of their “object-oriented” setup, you will delight in Nagios’ independence and you may brush design

2.2 Setup evaluation

Nagios configuration may look overly complicated at first glance; even the documentation warns that Nagios is quite powerful and flexible, but it can take a lot of work to get it configured just the way you’d like . Anyway, don’t despair! For the first tests, you can start by tweaking the sample configuration files contained in the /usr/local/share/examples/nagios/ directory, customizing them to your needs.

  • comments start with a “#” character and span to the end of the line;
  • varying names need certainly to start in the beginning of the range (we.e. zero indentation allowed);
  • variable labels is actually instance delicate;
  • no spaces are allowed around the “=” sign.

Setup pertains to function multiple details regarding overseeing daemon, this new CGIs and you will, of course, the machines and you can characteristics you want to display screen. All this information is spread among numerous files: we shall now check her or him one at a time.

2.dos.step one An element of the setting document

The overall behaviour of the Nagios daemon is determined by the directives included in the main configuration file, /var/www/etc/nagios/nagios.cfg. Though this file contains several dozens of parameters, for most of them the default value is the most reasonable option and you will probably want to care about only very few of them (usually cfg_file, cfg_dir and admin_email address). In any case, you can find a detailed description of each and every parameter in the official documentation.

2.2.2 The latest money file

The allows you to assign values to the user-definable macros “$Representative n $” (where n is a number between 1 and 32 inclusive). Continue reading “After you have determined the root reasoning of their “object-oriented” setup, you will delight in Nagios’ independence and you may brush design”