Problem With Graphs in Pnp4nagios
Kaplan, Andrew H.
AHKAPLAN at PARTNERS.ORG
Fri Apr 4 16:22:05 CEST 2008
Hi there --
I have installed the Pnp4nagios software onto our Nagios 2.6 system. The server
is using
the php 5.1.6 release. As part of the installation procedure, I created an entry
in the
serviceextinfo.cfg file shown below:
define serviceextinfo{
host_name gray
service_description Web Server Status
action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
}
The service description is a copy of the same line for the host in question
within the
services.cfg file. I ran the nagios -v nagios.cfg command to confirm there were
no errors.
There were several other checks associated with the host, but I did not include
them in
the serviceextinfo file.
I restarted Nagios, and waited for an hour for graphs and other information to
be generated
on-screen. So far there has not been any information appearing on the php page.
I checked the
hostname directory under perfdata, and there are rrd and xml files being
generated. Here is a
screenshot of what is occurring:
To verify that php is full operational, I installed the query.php, or Network
Query, tool into the
base directory of the Apache server, and I was able to see and use it without a
problem. It appears
there is a problem with php somewhere, but I am not sure where the problem lies.
Does anyone have an idea as to what other step(s) do I need to take? Thanks.
The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080404/36b43f81/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 55155 bytes
Desc: image002.jpg
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080404/36b43f81/attachment.jpg>
-------------- next part --------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list