Problem in Installing the graph plugin.

Aravinth Anto t-aravinth at juspay.in
Fri Sep 7 09:13:24 CEST 2012


I tried an followed the instruction on
http://docs.pnp4nagios.org/pnp-0.6/start

Everything seems to be fine. But when I went to
http://localhost/pnp4nagios/<http://localhost/pnp4nagios/graph>

I have been asked to remove the file. I removed it, which redirects me to :

http://localhost/pnp4nagios/graph

Where I get the error of :
*
*
*perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. *
*
*
*Please check your Nagios config. Read FAQ online  file [line]:
 application/models/data.php [109]:  back*

What will be my mistake?

Kindly help me out.

On Thu, Sep 6, 2012 at 7:19 PM, Tech Support <support at voipbusiness.us>wrote:

> >** **
>
> >When I try to view the contents on browser I get 404 error.****
>
> > Basically it says that ****
>
> >The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
> >** **
>
> ** **
>
> One thing that I see is that the URL should be
> /nagiosgraph/cgi-bin/show.cgi, not /nagiosgraph/cgi/chow.cgi. Could that be
> your problem?****
>
> Regards;****
>
> John****
>
> ** **
>
> ** **
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* Thursday, September 06, 2012 9:36 AM
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
> ** **
>
> I have installed the RRD package. But still I'm getting a 404 error when I
> try to visit graphs in my browser. ****
>
> On Thu, Sep 6, 2012 at 6:49 PM, FTL Nagios <ftlnagios at gmail.com> wrote:***
> *
>
> Install the RRD package like you have previously have been asked too.****
>
>  ****
>
> sudo apt-get install rrdtool****
>
>  ****
>
> Then rerun the install.pl script again.****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 14:07****
>
>
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I'm using Ubuntu 12.04 and I installed the nagios3 using :****
>
>  ****
>
> sudo apt-get install -y nagios3****
>
>  ****
>
> Can anyone say me how to install this graph plugin. I'm spending days on
> it!!!****
>
> On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto <t-aravinth at juspay.in>
> wrote:****
>
> I have installed it. And then I run the install.pl script. And I also
> replaced the /usr/local/nagios/share/side.php file with required changes.
> ****
>
>  ****
>
> When I try to view the contents on browser I get 404 error.****
>
>  ****
>
> Basically it says that :****
>
>  ****
>
> The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on
> this server.****
>
>  ****
>
> Eventhough I can view that file!****
>
>  ****
>
> On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn <james.osbourn at citrix.com>
> wrote:****
>
> You will need to install the RRD package.  How you do this will depend on
> your operating system.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto [mailto:t-aravinth at juspay.in]
> *Sent:* 06 September 2012 13:08
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> I run this command : ****
>
>  ****
>
> sudo ./install.pl --check-prereq****
>
>  ****
>
> checking required PERL modules****
>
>   Carp...1.20****
>
>   CGI...3.52****
>
>   Data::Dumper...2.130_02****
>
>   File::Basename...2.82****
>
>   File::Find...1.19****
>
>   MIME::Base64...3.13****
>
>   POSIX...1.24****
>
>   RRDs... ***FAIL*******
>
>   Time::HiRes...1.972101****
>
> checking optional PERL modules****
>
>   GD...2.46****
>
> checking nagios installation****
>
>   found nagios at /usr/local/nagios/bin/nagios****
>
> checking web server installation****
>
>   found apache at /usr/sbin/apache2****
>
>  ****
>
> *** one or more problems were detected!****
>
>  ****
>
>  ****
>
> It seems that RRDs... ***FAIL*** . So how can I skip this error?****
>
>  ****
>
>  ****
>
>  ****
>
> On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn <james.osbourn at citrix.com>
> wrote:****
>
> Did you run the install and check your prerequisites, I found that some of
> these are not present by default, You can run****
>
>  ****
>
> sudo ./install –check=prereq****
>
>  ****
>
> If everything is ok, you can proceed, otherwise you will need to install
> the missing packages****
>
>  ****
>
> At install time you may need to pass the argument for a standalone
> installation, this all depends on your environment****
>
>  ****
>
> sudo ./install –standalone****
>
>  ****
>
> Once installation has completed you can test that the server is working
> by  going to one of the following websites****
>
>  ****
>
> http://<server>/nagiosgraph/cgi-bin/showconfig.cgi or
> http://<server>/nagiosgraph/cgi-bin/show.cgi****
>
>  ****
>
> This assumes your cgi data is located in cgi-bin and that you are running
> apache.****
>
>  ****
>
> This should help to get nagiosgraph working, you will then need to update
> Nagios to use the graphing plugin.****
>
>  ****
>
> James****
>
>  ****
>
> *From:* Aravinth Anto Intern [mailto:t-aravinth at juspay.in]
> *Sent:* 02 August 2012 14:38
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Problem in Installing the graph plugin.****
>
>  ****
>
> Hi all, I'm trying to install Nagios Plugin :
> http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details
>
>
> I downloaded it, unzip it and then I run the install.pl as
>
> *sudo ./install.pl
> *
>
> I accepted every directory as default and done with installation.
>
> I changed the side.php to add my Trends link that are supported by this
> plugin. I restarted the server. But when I click on certain links. I get an
> error :
>
>
> *The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found
> on this server.
> *
>
> Why this is happening? I can go into the directory
> /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.
>
> But why its not working?
>
>
> Thanks in adavnce ****
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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****
>
>  ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120907/4484fe78/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- 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