Hi<br><br>Did you put the location of your serviceextinfo.cfg file inside nagios.cfg ?<br><br>The proper place is in cgi.cfg and the definition is:<br>xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg<br>xedtemplate_config_file=/usr/local/nagios/etc/
<span class="searchhighlight">serviceextinfo.cfg</span><br><br><div><span class="gmail_quote">2006/2/22, Efe Ohimor <<a href="mailto:eohimor@ipnxnigeria.net">eohimor@ipnxnigeria.net</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Message: 12</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Date: Thu, 16 Feb 2006
20:20:51 +0100 (CET)</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">From: Hugo van der Kooij
<<a href="mailto:hvdkooij@vanderkooij.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hvdkooij@vanderkooij.org</a>></span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Reply-To: Nagios Users
Mailinglist <<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users@lists.sourceforge.net</a>></span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">To: Nagios Users Mailinglist
<<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users@lists.sourceforge.net</a>></span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Subject: Re: [Nagios-users]
Graph links on Nagios 2.0 web interface</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">On Thu, 16 Feb 2006, Efe
Ohimor wrote:</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">> I am currently running
Nagios version 2.0 with the plugin version 1.4. I try</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">> to create a link on my
nagios web interface. I have tried it before on</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">> version 1.2 and the
links were created but I guess version 2.0 has a</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">> different code. Or has
anyone done it on version 2.0 before.</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">> Because I have been to
the Apan site and most people there have used it for</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">> version 1.2 and someone
too complained about not being able to use it with</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">> version 2.0.</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">What is wrong with using
extended host/service info?</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Like:</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">define hostextinfo{</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
host_name aragorn</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
notes_url /nagios/cgi-bin/rrd-graph.cgi?host=aragorn&service=all</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
icon_image base/redhat.png</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
icon_image_alt Fedora Core 4</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
vrml_image base/redhat.png</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
statusmap_image base/redhat.gd2</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
}</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Or:</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">define serviceextinfo{</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> host_name
aragorn</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
icon_image
dot.gif' border="0"></a><A TARGET="_blank"
HREF="graphs.cgi?host=aragorn&service=HTTP"
BORDER="0"><img src="/nagios/images/logos/graph.png"
border="0"logos/dot.gif</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
service_description HTTP</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">
notes_url
/nagios/cgi-bin/graphs.cgi?host=aragorn&service=HTTP</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">}</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Hugo.</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Hello,</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Thanks for your reply.</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">Here is my serviceextinfo.cfg
configuration</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">define serviceextinfo {</span></font></p>
<p style="margin-left: 48pt;"><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">host_name
excellence, Aremu, NS1, NS2, NS3, service_description
Ping Latency</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> notes_url /nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$</span>
</font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">
icon_image
/usr/local/nagios/share/logos/graph.gif</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">
icon_image_alt
View graphs</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">}</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><b><font face="Courier New" size="2"><span style="font-size: 10pt; font-weight: bold;">In my httpd.conf the following lines were added</span></font></b></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">#</Directory></span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> </span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"><Directory "/usr/local/nagios/sbin"></span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> AllowOverride AuthConfig</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> Options ExecCGI</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> Order allow,deny</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> Allow from all</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"></Directory></span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> </span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">ScriptAlias /nagiosgraph /usr/local/nagios/nagiosgraph/</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">#<Directory "/usr/local/nagios/nagiosgraph"></span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"># AllowOverride None</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"># Options None</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"># Order allow,deny</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"># Allow from all</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">#</Directory></span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> </span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> </span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> </span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);">Alias /nagios "/usr/local/nagios/share"</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"><Directory "/usr/local/nagios/share"></span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> Options None</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> AllowOverride AuthConfig</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> Order allow,deny</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"> Allow from all</span></font></p>
<p style=""><font color="#333399" face="Courier New" size="2"><span style="font-size: 10pt; color: rgb(51, 51, 153);"></Directory></span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">I use nagios graph for my
graphing.After the config I restart nagios and restarted my webserver but I
still cannot see the icon.</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;">I still do not know what I
am doing wrong.</span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;"> </span></font></p>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Le bon sens est la chose du monde la mieux partagée.