I'm using Ubuntu 12.04 and I installed the nagios3 using :<div><br></div><div>sudo apt-get install -y nagios3</div><div><br></div><div>Can anyone say me how to install this graph plugin. I'm spending days on it!!!<br>
<br><div class="gmail_quote">On Thu, Sep 6, 2012 at 6:09 PM, Aravinth Anto <span dir="ltr"><<a href="mailto:t-aravinth@juspay.in" target="_blank">t-aravinth@juspay.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have installed it. And then I run the <a href="http://install.pl" target="_blank">install.pl</a> script. And I also replaced the /usr/local/nagios/share/side.php file with required changes. <div><br></div><div>When I try to view the contents on browser I get 404 error.</div>
<div><br></div><div>Basically it says that :</div><div><br></div><div>The requested URL /usr/local/nagiosgraph/cgi/show.cgi was not found on this server.</div><div><br></div><div>Eventhough I can view that file!<div><div class="h5">
<br><br><div class="gmail_quote">
On Thu, Sep 6, 2012 at 5:50 PM, James Osbourn <span dir="ltr"><<a href="mailto:james.osbourn@citrix.com" target="_blank">james.osbourn@citrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You will need to install the RRD package. How you do this will depend on your operating system.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">James<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Aravinth Anto [mailto:<a href="mailto:t-aravinth@juspay.in" target="_blank">t-aravinth@juspay.in</a>] <br>
<b>Sent:</b> 06 September 2012 13:08<br><b>To:</b> Nagios Users List<br><b>Subject:</b> Re: [Nagios-users] Problem in Installing the graph plugin.<u></u><u></u></span></p></div></div><div><div><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">I run this command : <u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">sudo ./<a href="http://install.pl" target="_blank">install.pl</a> --check-prereq<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">checking required PERL modules<u></u><u></u></p></div><div><p class="MsoNormal"> Carp...1.20<u></u><u></u></p></div><div><p class="MsoNormal">
CGI...3.52<u></u><u></u></p></div><div><p class="MsoNormal"> Data::Dumper...2.130_02<u></u><u></u></p></div><div><p class="MsoNormal"> File::Basename...2.82<u></u><u></u></p></div><div><p class="MsoNormal"> File::Find...1.19<u></u><u></u></p>
</div><div><p class="MsoNormal"> MIME::Base64...3.13<u></u><u></u></p></div><div><p class="MsoNormal"> POSIX...1.24<u></u><u></u></p></div><div><p class="MsoNormal"> RRDs... ***FAIL***<u></u><u></u></p></div><div><p class="MsoNormal">
Time::HiRes...1.972101<u></u><u></u></p></div><div><p class="MsoNormal">checking optional PERL modules<u></u><u></u></p></div><div><p class="MsoNormal"> GD...2.46<u></u><u></u></p></div><div><p class="MsoNormal">checking nagios installation<u></u><u></u></p>
</div><div><p class="MsoNormal"> found nagios at /usr/local/nagios/bin/nagios<u></u><u></u></p></div><div><p class="MsoNormal">checking web server installation<u></u><u></u></p></div><div><p class="MsoNormal"> found apache at /usr/sbin/apache2<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">*** one or more problems were detected!<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal">It seems that RRDs... ***FAIL*** . So how can I skip this error?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn <<a href="mailto:james.osbourn@citrix.com" target="_blank">james.osbourn@citrix.com</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Did you run the install and check your prerequisites, I found that some of these are not present by default, You can run</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">sudo ./install –check=prereq</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If everything is ok, you can proceed, otherwise you will need to install the missing packages</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">At install time you may need to pass the argument for a standalone installation, this all depends on your environment</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">sudo ./install –standalone</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Once installation has completed you can test that the server is working by going to one of the following websites</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><a href="http://%3cserver%3e/nagiosgraph/cgi-bin/showconfig.cgi" target="_blank">http://<server>/nagiosgraph/cgi-bin/showconfig.cgi</a> or <a href="http://%3cserver%3e/nagiosgraph/cgi-bin/show.cgi" target="_blank">http://<server>/nagiosgraph/cgi-bin/show.cgi</a><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This assumes your cgi data is located in cgi-bin and that you are running apache.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This should help to get nagiosgraph working, you will then need to update Nagios to use the graphing plugin.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">James</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Aravinth Anto Intern [mailto:<a href="mailto:t-aravinth@juspay.in" target="_blank">t-aravinth@juspay.in</a>] <br>
<b>Sent:</b> 02 August 2012 14:38<br><b>To:</b> Nagios Users List<br><b>Subject:</b> [Nagios-users] Problem in Installing the graph plugin.</span><u></u><u></u></p></div></div><div><div><p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Hi all, I'm trying to install Nagios Plugin : <a href="http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details" target="_blank">http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details</a><br>
<br><br>I downloaded it, unzip it and then I run the <a href="http://install.pl" target="_blank">install.pl</a> as<br><br><b>sudo ./<a href="http://install.pl" target="_blank">install.pl</a><br></b><br><br>I accepted every directory as default and done with installation. <br>
<br>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 :<br><br><br><b>The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server.<br>
</b><br><br>Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi.<br><br>But why its not working? <br><br><br>Thanks in adavnce <u></u><u></u></p></div></div>
</div></div></div><p class="MsoNormal"><br>------------------------------------------------------------------------------<br>Live Security Virtual Conference<br>Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>will include endpoint security, mobile security and the latest in malware<br>threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p>
</div></div></div></div></div></div><br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>