Nagios core 4.0.8, Ubuntu 14.04, pnp4nagios 0.6.25 Gets 404

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
phillawson
Posts: 3
Joined: Mon Jul 13, 2015 8:10 pm

Nagios core 4.0.8, Ubuntu 14.04, pnp4nagios 0.6.25 Gets 404

Post by phillawson »

I'm trying to run a new install of Ubuntu 14.04, nagios 4.0.8, and pnp4nagios 0.6.25. Nagios runs ok, but after the pnp install going to http://ip of nagios server here/pnp4nagios gives me a 404 error. If I run the verify_pnp_config all looks ok there. When I try to click on graphs in nagios I also get a 404 page not found error. Any idea what I'm missing?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios core 4.0.8, Ubuntu 14.04, pnp4nagios 0.6.25 Gets

Post by Box293 »

Anything reported in your apache error logs?

Here's a guide I did for installing PNP on CentOS, it *might* help:
http://sites.box293.com/nagios/guides/i ... core-4-0-x
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
phillawson
Posts: 3
Joined: Mon Jul 13, 2015 8:10 pm

Re: Nagios core 4.0.8, Ubuntu 14.04, pnp4nagios 0.6.25 Gets

Post by phillawson »

Nothing other than the 404 error being reported in the apache logs.

I think this is something specific to pnp 0.6. on Ubuntu, I might try going back to the 0.4 version but I'd prefer to have the later version if I can.

Thanks

-Phil
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios core 4.0.8, Ubuntu 14.04, pnp4nagios 0.6.25 Gets

Post by tgriep »

Can you post your pnp4nagios.conf file so we can review it?
Can you post the error you are seeing in the Apache error_log file?
I found a link that may be helpful. Take a look and see if it helps.
http://askubuntu.com/questions/110525/p ... ith-apache
Be sure to check out our Knowledgebase for helpful articles and solutions!
phillawson
Posts: 3
Joined: Mon Jul 13, 2015 8:10 pm

Re: Nagios core 4.0.8, Ubuntu 14.04, pnp4nagios 0.6.25 Gets

Post by phillawson »

Thanks, Your request to post the pnp4nagios.conf fixed it. The file was in conf-available not conf-enabled.

-Phil
Locked