Troubleshoot problems with NAGIOS/ICINGA-PNP4 not displaying graphics

Source: Internet
Author: User
Tags icinga
Recently in the use of Icinga deployment monitoring, after the use of ICINGA-PNP4 deployment, the inside of the display of historical data graphics display, error:

LocalHost directory does not exist, or localhost directory is empty

After research, the final confirmation is because in the Icinga configuration file icinga.cfg, does not open the option about PerfData, resulting in Icinga will not store historical data to the specified directory, just open it all, restart the Icinga service, you can display historical data graphics.

For perfdata configuration items, remove the previous # as follows:

958:process_performance_data=1

972:host_perfdata_command=pnp4-process-host-perfdata

973:service_perfdata_command=pnp4-process-service-perfdata

982:host_perfdata_file=/tmp/host-perfdata

983:service_perfdata_file=/tmp/service-perfdata

995:host_perfdata_file_template=[hostperfdata]\t$timet$\t$hostname$\t$hostexecutiontime$\t$hostoutput$\t$ hostperfdata$

996:service_perfdata_file_template=[serviceperfdata]\t$timet$\t$hostname$\t$servicedesc$\t$ serviceexecutiontime$\t$servicelatency$\t$serviceoutput$\t$serviceperfdata$

1007:host_perfdata_file_mode=a

1008:service_perfdata_file_mode=a

1018:host_perfdata_file_processing_interval=0

1019:service_perfdata_file_processing_interval=0

1028:host_perfdata_file_processing_command=process-host-perfdata-file

1029:service_perfdata_file_processing_command=process-service-perfdata-file

1040:host_perfdata_process_empty_results=1

1041:service_perfdata_process_empty_results=1

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.