Page 1 of 1

Problem PNP4

Posted: Mon Mar 28, 2016 12:31 pm
by JulioCesar
Hi! I need your help.
I am installing CentOS 6.7 pnp4nagios, apparently all right, but I can not see the graphics, run the script verify_pnp_config_v2 and this is the result.

[root@nagios ~]# perl verify_pnp_config_v2 --mode bulk+npcd --config=/usr/local/nagios/etc/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc/
[INFO] ========== Starting Environment Checks ============
[INFO] My version is: verify_pnp_config-0.6.25-R.40
[INFO] Start Options: verify_pnp_config_v2 --mode bulk+npcd --config=/usr/local/nagios/etc/nagios.cfg --pnpcfg=/usr/local/pnp4nagios/etc/
[INFO] Reading /usr/local/nagios/etc/nagios.cfg
[OK ] Running product is 'nagios'
[OK ] object_cache_file is defined
[OK ] object_cache_file=/usr/local/nagios/var/objects.cache
[INFO] Reading /usr/local/nagios/var/objects.cache
[OK ] resource_file is defined
[OK ] resource_file=/usr/local/nagios/etc/resource.cfg
[INFO] Reading /usr/local/nagios/etc/resource.cfg
[INFO] Reading /usr/local/pnp4nagios/etc//process_perfdata.cfg
[INFO] Reading /usr/local/pnp4nagios/etc//pnp4nagios_release
[OK ] Found PNP4Nagios version "0.6.25"
[OK ] Effective User is 'nagios'
[OK ] User nagios exists with ID '500'
[OK ] Effective group is 'nagios'
[OK ] Group nagios exists with ID '500'
[INFO] ========== Checking Bulk Mode + NPCD Config ============
[OK ] process_performance_data is 1 compared with '/1/'
[OK ] service_perfdata_file is defined
[OK ] service_perfdata_file=/usr/local/pnp4nagios/var/perfdata
[OK ] service_perfdata_file_template is defined
[OK ] service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$
[OK ] PERFDATA template looks good
[OK ] service_perfdata_file_mode is defined
[OK ] service_perfdata_file_mode=a
[OK ] service_perfdata_file_processing_interval is defined
[OK ] service_perfdata_file_processing_interval=15
[OK ] service_perfdata_file_processing_command is defined
[OK ] service_perfdata_file_processing_command=process-service-perfdata-file
[OK ] host_perfdata_file is defined
[OK ] host_perfdata_file=/usr/local/pnp4nagios/var/host-perfdata
[OK ] host_perfdata_file_template is defined
[OK ] host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$
[OK ] PERFDATA template looks good
[OK ] host_perfdata_file_mode is defined
[OK ] host_perfdata_file_mode=a
[OK ] host_perfdata_file_processing_interval is defined
[OK ] host_perfdata_file_processing_interval=15
[OK ] host_perfdata_file_processing_command is defined
[OK ] host_perfdata_file_processing_command=process-host-perfdata-file
[CRIT] service_perfdata_command is defined (service_perfdata_command=process-service-perfdata-pnp4nagios)
[CRIT] service_perfdata_command is not allowed in mode 'bulk+npcd'
[CRIT] host_perfdata_command is defined (host_perfdata_command=process-host-perfdata-pnp4nagios)
[CRIT] host_perfdata_command is not allowed in mode 'bulk+npcd'
[HINT] Config options are not allowed in bulk mode with npcd (2)


And I not know what else I can do and to review all files but apparently all is well.

thank you very much for your help.

Re: Problem PNP4

Posted: Mon Mar 28, 2016 2:36 pm
by hsmith
Can you show us what happens(screenshot) when you try to view the graphics?

Did you follow a guide? If so, can you link us to this guide?

Re: Problem PNP4

Posted: Mon Mar 28, 2016 5:39 pm
by JulioCesar
I Follow this guide:

https://www.academia.edu/4142933/Instal ... on_Cent_OS


And attached the screen that appears when I try to view graphic.

Thanks

Re: Problem PNP4

Posted: Mon Mar 28, 2016 7:00 pm
by Box293
Have you tried removing or renaming the install.php file as explained at the bottom of your screenshot?

Re: Problem PNP4

Posted: Wed Mar 30, 2016 1:48 pm
by JulioCesar
Hi.

That was just the problem , I thought I had removed in a previous configuration. I can already see the graphic on the button on the right but me this message appears and when I give the address http : //ipadress.pnp4nagios directional me alone to host AccessPoint SA

thanks for your help.

Re: Problem PNP4

Posted: Wed Mar 30, 2016 3:24 pm
by rkennedy
When you are seeing that error, can you show us the link you're trying to access?

Re: Problem PNP4

Posted: Wed Mar 30, 2016 4:17 pm
by JulioCesar

Re: Problem PNP4

Posted: Wed Mar 30, 2016 4:23 pm
by tmcdonald
PNP4Nagios is not our product, you will need to get support from them directly: https://sourceforge.net/projects/pnp4nagios/support