Hi All,
i run pnp4nagios today and it's good.
can i use default performance graph beside pnp4nagios?
if i want to return to default view, what should i do as rollback?
pnp4nagios performance graph
-
murawweh.daher
- Posts: 66
- Joined: Wed Sep 02, 2015 2:02 pm
- Location: Ramallah - West Bank
- Contact:
pnp4nagios performance graph
Regards,
Murawweh Daher
Murawweh Daher
Re: pnp4nagios performance graph
Can you elaborate? Did you install pnp4nagios on Nagios XI? What version/mode of pnp4nagios? What is the version of Nagios XI that you are currently running?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
murawweh.daher
- Posts: 66
- Joined: Wed Sep 02, 2015 2:02 pm
- Location: Ramallah - West Bank
- Contact:
Re: pnp4nagios performance graph
i installed the pnp4nagios in my nagios xi server.
pnp4nagios version 0.6.25.
Nagios XI Version : 2014R2.7
pnp4nagios version 0.6.25.
Nagios XI Version : 2014R2.7
Regards,
Murawweh Daher
Murawweh Daher
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: pnp4nagios performance graph
You should be aware that pnp4nagios is already installed and is a critical piece of NagiosXI's built in performance graphing. By installing again you've probably overwritten some of the necessary components used in graphing on NagiosXI.
Are performance graphs in NagiosXI still working, or have they broken? If they have broken then getting them back into a working state may be easiest handled by backing up your config, then reinstalling a new instances and restoring the config.
Are performance graphs in NagiosXI still working, or have they broken? If they have broken then getting them back into a working state may be easiest handled by backing up your config, then reinstalling a new instances and restoring the config.
-
murawweh.daher
- Posts: 66
- Joined: Wed Sep 02, 2015 2:02 pm
- Location: Ramallah - West Bank
- Contact:
Re: pnp4nagios performance graph
pnp4nagios has some nice features like special templates. It would be nice to have access to the pnp4nagios web page.
But it looks like this web page was removed.
But it looks like this web page was removed.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: pnp4nagios performance graph
You can use pnp4nagios templates in XI. Find the templates directories under /usr/local/nagios/share/pnpmopp wrote:pnp4nagios has some nice features like special templates.
It took me about 3 minutes to configure this.mopp wrote:It would be nice to have access to the pnp4nagios web page.
Code: Select all
Alias /pnp4nagios "/usr/local/nagios/share/pnp"
<Directory "/usr/local/nagios/share/pnp">
AllowOverride None
Order allow,deny
Allow from all
AuthName "pnp4nagios"
AuthType Basic
AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
Require valid-user
<IfModule mod_rewrite.c>
# Turn on URL rewriting
RewriteEngine On
Options symLinksIfOwnerMatch
# Installation directory
RewriteBase /pnp4nagios/
# Protect application and system files from being viewed
RewriteRule "^(?:application|modules|system)/" - [F]
# Allow any files or directories that exist to be displayed directly
RewriteCond "%{REQUEST_FILENAME}" !-f
RewriteCond "%{REQUEST_FILENAME}" !-d
# Rewrite all other URLs to index.php/URL
RewriteRule "^.*$" "index.php/$0" [PT]
</IfModule>
</Directory>Re: pnp4nagios performance graph
@murawweh.daher: I did the following which should not break the existing Nagios XI installation, but offers you the new features of the pnp4nagios web interface. The installed Nagios XI pnp4nagios web interface 0.4.13 is from 02/19/2009jdalrymple wrote:As mentioned - I suspect this stuff won't work right for you now that you've installed pnp in a new location. Maybe it will, maybe not. Hard to say at this point.
Tested with the latest github version. Extract the source code.
Code: Select all
# ./configure --with-perfdata-dir=/usr/local/nagios/share/perfdata
# make install-html
# make install-config
# cp -p sample-config/httpd.conf /etc/httpd/conf.d/pnp4nagios.conf
# sed -i -e 's#AuthUserFile /usr/local/nagios/etc/htpasswd.users#AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users#g' /etc/httpd/conf.d/pnp4nagios.conf
# cd lib
# make install
# service httpd restartIf the test was successful remove /usr/local/pnp4nagios/share/install.php
Code: Select all
# rm /usr/local/pnp4nagios/share/install.phpRe: pnp4nagios performance graph
I do need to point out that the above procedure provided by @mopp has not been tested by Nagios, and is not guaranteed to work. Feel free to try either of the above procedures however, and let us know the results.
Former Nagios employee