Object Definitions
Up To: Contents
See Also: Object Configuration Overview, Object Tricks, Object Inheritance, Custom Object Variables
Need Help Configuring Nagios?
Our tech support team is happy to help you with any questions you might have. Contact us on our online support forum at https://support./forum
Connect With Us:
Configuration Wizards Make Monitoring Easy:
Tired of plex configuration files with Nagios Core?
Nagios XI includes web-based wizards that make monitoring new servers, network devices, applications, and services a snap!
Nagios XI also includes:
· Web-Based Configuration
· Customizable Dashboards
· Integrated Performance Graphs
· Advanced Reports
· Data Visualizations
· Nagios Core Import
· ...and many other featuress
Download a free 60-day trial or give the online demo a spin.
Introduction
One of the features of Nagios' object configuration format is that you can create object definitions that inherit properties from other object definitions. An explanation of how object inheritance works can be found here. I strongly suggest that you familiarize yourself with object inheritance once you read over the documentation presented below, as it will make the job of creating and maintaining object definitions much easier than it otherwise would be. Also, read up on the object tricks that offer shortcuts for otherwise tedious configuration tasks.
When creating and/or editing configuration files, keep the following in mind:
Lines that start with a '#' character are taken to ments and are not processed
Directive names are case-sensitive
Characters that appear after a semicolon (;) in configuration lines are treated ments and are not processed
Retention Notes
It is important to point out that several directives in host, service, and contact definitions may not be picked up by Nagios when you change them in your configuration files. Object directives that can exhibit this behavior are marked with an asterisk (*). The reas
nagios配置 来自淘豆网m.daumloan.com转载请标明出处.