Images using wrong path?
Jon Lyons
jlyons30 at yahoo.com
Tue Nov 5 01:31:26 CET 2002
Just a shot in the Dark here, but since you have a second machine I'd compile nagios using the default paths, and configure apache to mactch the docs exactly. Just do a ./configure and use the default nagios paths.(make sure to do a "make clean")..What OS are you running on?
http://nagios.sourceforge.net/docs/1_0/installing.html
Sean Lutner <sean at techtarget.com> wrote: All images other than the logos. The logos are called from plain html.
Yes, I've tried putting the images in /apps/nagios/sbin, however this
will not work because that's the cgi-bin directory and when the images
are called apache tried to execute them rather than display them.
I thought that perhaps my setup was the cause for my problems (nagios
built in a non default location, and running the web interface from a
vhost). However, after compiling a vanilla instance of apache and
nagios, I've hit the same problems. There are no other sites being
served from this second instance of apache, and I followed the docs to
the letter as far as the config goes. I'm still getting the same
problem. Would someone mind sending me a working apache config they are
using to run nagios? Also, are there any config files that I might want
to look at a 50th time for this? Everything seems to be working except
this image problem.
Thanks again...
Sean
Jon Lyons wrote:
> Are these the logos, the image when you click on a host or service?
> You say your images are in /apps/nagios/share/images have you tried
> moving them to /apps/nagios/sbin/?
>
> > or unable to stat: /apps/nagios/sbin/down.gif
> > My images are in /apps/nagios/share/images.
>
>
>
>
>
>
> */Sean Lutner /* wrote:
>
> I hate to reply to my own post, but has anyone seen this problem
> before
> or have any ideas what I'm doing wrong? I've read all the docs
> I've come
> across and haven't found any mention of it. I've also never had this
> problem with netsaint. Everything from my netsaint install has been
> converted and nagios is running, except for displaying images called
> from a CGI. Any ideas or help at all would be greatly appreciated.
> I can
> post any configs anyone might want to see.
>
> Thanks
> Sean
>
>
> On Mon, 2002-10-21 at 12:04, Sean Lutner wrote:
> > I'm in the process of upgrading from my netsaint installation to
> Nagios.
> > I've compiled Nagios with the following options.
> >
> > ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/
> --with/htmurl=
> >
> > and the plugins with the following
> >
> > ./configure --prefix=/apps/nagios --with-cgiurl=/cgi-bin/
> >
> > I've converted my netsaint configs and nagios is running and
> working,
> > however all the images are not loading. All images called from a
> cgi are
> > not woroking and appear to be called with the wrong path.
> >
> > Here is a snippet from my apache logs.
> >
> > [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script
> not found
> > or unable to stat: /apps/nagios/sbin/up.gif
> > [Mon Oct 21 11:35:56 2002] [error] [client 10.69.10.26] script
> not found
> > or unable to stat: /apps/nagios/sbin/down.gif
> >
> >
> > My images are in /apps/nagios/share/images.
> >
> > Any ideas why this is happening would be greatly appreciated. I
> can also
> > provide further configs if needed.
> >
> > Thanks
> > Sean
> >
> > --
> > Sean Lutner
> > Senior Systems & Network Administrator
> > TechTarget, Inc.
> > 117 Kendrick St, Suite 800
> > Needham, MA 02494
> > P: 781-657-1337
> > F: 781-657-1100
> > E: sean at techtarget.com W: http://www.techtarget.com
> >
> > "Imagination is more important than knowledge." -- Albert Einstein
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> --
> Sean Lutner
> Senior Systems & Network Administrator
> TechTarget, Inc.
> 117 Kendrick St, Suite 800
> Needham, MA 02494
> P: 781-657-1337
> F: 781-657-1100
> E: sean at techtarget.com W: http://www.techtarget.com
>
> "Imagination is more important than knowledge." -- Albert Einstein
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host
> your web site
--
Sean Lutner
Senior Systems & Network Administrator
TechTarget, Inc.
117 Kendrick St, Suite 800
Needham, MA 02494
P: 781-657-1337
F: 781-657-1100
E: sean at techtarget.com W: http://www.techtarget.com
"Imagination is more important than knowledge." -- Albert Einstein
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
---------------------------------
Do you Yahoo!?
HotJobs - Search new jobs daily now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021104/6026b780/attachment.html>
More information about the Users
mailing list