Page 1 of 1

Nagios core 4.0.8, Ubuntu 14.04, pnp4nagios 0.6.25 Gets 404

Posted: Thu Jul 30, 2015 5:08 pm
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?

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

Posted: Thu Jul 30, 2015 8:01 pm
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

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

Posted: Wed Aug 05, 2015 7:19 pm
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

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

Posted: Thu Aug 06, 2015 9:06 am
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

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

Posted: Thu Aug 06, 2015 5:25 pm
by phillawson
Thanks, Your request to post the pnp4nagios.conf fixed it. The file was in conf-available not conf-enabled.

-Phil