I am reading the
nagios.cfg file documentation and cannot see where it says what options are required and what options are optional. Are all of these optional? If not where can I find which are optional?
Backup the configuration file:
Comment out all the options:
and verify the configuration data:
you will see something like this:
So, you need to include some config files which defined at least a host, some services and a contact:
Usually, when a configuration option is not specified, it will be assigned a default value. Yes, the link you posted does not state whether an option is optional or not. However, default values are specified. If such a value is suitable for your needs, you don't need to include it in your config or you can include it commented out.