Install pnp nagios a monitoring graph
yum install rrdtool rrdtool-perl perl-Time-HiRes perl-GD -y Download from here https://sourceforge.net/projects/pnp4nagios/files/latest/download tar xvf pnp4nagios-0.6.25.tar.gz cd pnp4nagios-0.6.25 ./configure make all make fullinstall --Now enable vi /usr/local/nagios/etc/nagios.cfg process_performance_data=1 # service performance data service_perfdata_file=/usr/local/pnp4nagios/var/service-perfdata service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=15 service_perfdata_file_processing_command=process-service-perfdata-file # host performance data host_perfdata_file=/usr/local/pnp4nagios/var/host-perfdata host_perfdata_file_template=DATATYPE::HO