Page 1 of 1

PNP Graphs Not Shown

Posted: Fri Oct 26, 2018 12:30 am
by rlinux57
Hello All,

I getting an issue on nagios core PNP graphs can’t load for all hosts and services as you can see in attached screenshot.
I have removed pnp4nagios and reinstalled it but still getting same issue. On the other hand I have setup on other server with same configuration it’s working. Kindly let me know how can i troubleshoot it further ?

Re: PNP Graphs Not Shown

Posted: Fri Oct 26, 2018 1:22 am
by rlinux57
I have enabled the log level but logs are not generating in npcd.log:

Code: Select all

Starting npcd:DEBUG: Config File = /usr/local/pnp4nagios/etc/npcd.cfg
CONFIG_OPT_LOGTYPE = syslog
CONFIG_OPT_LOGFILE = /usr/local/pnp4nagios/var/npcd.log
CONFIG_OPT_LOGFILESIZE = 10485760
CONFIG_OPT_LOGLEVEL = -1
CONFIG_OPT_SCANDIR = /usr/local/pnp4nagios/var/spool
CONFIG_OPT_RUNCMD = /usr/local/pnp4nagios/libexec/process_perfdata.pl
CONFIG_OPT_RUNCMD_ARG = --bulk
CONFIG_OPT_MAXTHREADS = 5
CONFIG_OPT_LOAD = 0.0
CONFIG_OPT_USER = nagios
CONFIG_OPT_GROUP = nagios
CONFIG_OPT_PIDFILE = /var/run/npcd.pid
CONFIG_OPT_SLEEPTIME = 15
CONFIG_OPT_IDENTMYSELF = 1
---------------------------
DEBUG: load_threshold is disabled - ('0.000000')
 done.

Re: PNP Graphs Not Shown

Posted: Fri Oct 26, 2018 1:28 pm
by npolovenko
Hello, @rlinux57. Can you right click one of these graphs in a google chrome, click on Inspect, go to the Console tab and let me know what errors you're seeing(in red)?

Please upload the /etc/httpd/conf.d/pnp4nagios.conf file.

Please upload these log files:
/var/log/httpd/error_log
/var/log/httpd/ssl_error_log
Has pnp ever worked on this server?