Problem PNP4

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
JulioCesar
Posts: 6
Joined: Mon Dec 07, 2015 12:40 am

Problem PNP4

Post 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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Problem PNP4

Post 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?
Former Nagios Employee.
me.
JulioCesar
Posts: 6
Joined: Mon Dec 07, 2015 12:40 am

Re: Problem PNP4

Post 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
Attachments
PNP4.png
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Problem PNP4

Post by Box293 »

Have you tried removing or renaming the install.php file as explained at the bottom of your screenshot?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
JulioCesar
Posts: 6
Joined: Mon Dec 07, 2015 12:40 am

Re: Problem PNP4

Post 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.
Attachments
Only sends me to host AcccessPoint SA
Only sends me to host AcccessPoint SA
when I give the address http : //ipadress.pnp4nagios
when I give the address http : //ipadress.pnp4nagios
This is the first host on the list "AccessPoin S.A"
This is the first host on the list "AccessPoin S.A"
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Problem PNP4

Post by rkennedy »

When you are seeing that error, can you show us the link you're trying to access?
Former Nagios Employee
JulioCesar
Posts: 6
Joined: Mon Dec 07, 2015 12:40 am

Re: Problem PNP4

Post by JulioCesar »

tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Problem PNP4

Post by tmcdonald »

PNP4Nagios is not our product, you will need to get support from them directly: https://sourceforge.net/projects/pnp4nagios/support
Former Nagios employee
Locked