- Learning NAGIOS 3.0
- Wojciech Kocjan
- 458字
- 2021-08-25 18:05:42
Reports
One of the most important features of the Web interface is the ability to create reports. Many larger companies need reports to allow them to take decisions at a higher management level. Reporting functionality can also be used to browse historical notifications to alerts, and to see complete logs for a specified period.
Nagios offers the following types of reports:
- Trend reporting for host or service: Shows the state changes history for a single object along with the status information from performed checks
- Availability report for hosts or services: Shows how much time an object has spent in a particular status; can report on all objects or a single object; can also generate reports for host groups and service groups
- Alert histogram: Shows the number of alerts that have occurred over a period of time for a particular host or service
In addition, Nagios can report a history of alerts, notifications, or all events. This can be considered as reading Nagios logs in a more convenient way. It allows you to read the history either for all hosts and/or services, or for a specific object. The reports are also formatted in a more readable way than the raw logs.
Generating most reports begins with choosing the report type, then the object type—host, host group, service, or service group. Then either all objects, or a specific object, is chosen for which a report is generated.
Next, you need to specify the period for which a report, should be generated, along with additional options that can depend on the type of report being be generated. Additionally, a time period can be specified, so that the report only includes specific time periods, such as working hours.
The following is a screenshot of a sample form for specifying the parameters for a report. The actual fields may vary depending on the type of report that you want to generate.

After specifying the parameters in the form, and submitting it, the web interface will generate a report matching your criteria. Some types of reports also allow you to export the information in CSV format for further analysis. For a trend history report, it is also possible to zoom in or out in order to customize the period for which the report is generated.
The following screenshot shows the availability report for all hosts. It shows how much time each host has been up, down, or unreachable due to the parent machines not being up.

The report shows information for all hosts, in a table, along with a summary of the overall availability.
It is possible to change the parameters of a report after it first has been generated, to modify the reported period or the information included on the report.
- 現代企業應用設計指南
- 中文版CorelDRAW 2022基礎教程
- Photoshop CC 2018實用教程
- Adobe Illustrator 2023基礎教材
- Instant MuseScore
- Illustrator 2024從入門到精通
- 抖音+剪映+Premiere短視頻制作從新手到高手(第2版)
- 剪映短視頻剪輯從入門到精通:宣傳短片+電商視頻+產品廣告+活動慶典
- Origin 2022科學繪圖與數據分析
- Flash CC動畫制作與應用(第3版)
- Mastering Redis
- 從零開始:Dreamweaver CS6中文版基礎培訓教程
- VRP12虛擬現實編輯器標準教程
- SOLIDWORKS 2023中文版機械設計從入門到精通
- 中文版Photoshop CS6經典自學教程(培訓教材版)