Images not showing in GUI
Dinçer Kavraal
dkavraal at yahoo.com
Sat Mar 24 19:57:01 CET 2007
Then, there are two options left (I suppose).
1) You have sth wrong with your browser. It might refuse asking you username
and password. However, then, how are you available to see the web page? So,
only one option left :)
2) On the images which are not shown on the web page, right-click and
properties. Look at the image URL. I think there is sth wrong with it. It
should be http://-host-address-/nagios/images/XXXX.png
Is it so? Can you see any image with this URL on your own? (copy-paste the
image's address to your browser)
If so, it means you have given path values wrong when compiling nagios.
Anyway, check it then we can recompile it with right values.
Dinçer
2007/3/23, Payam Jahromi <pjahromi at us.checkpoint.com>:
>
> I also tried chown -R nagios:apache /usr/local/nagios/sbin
>
>
>
> Restarted both httpd and apache process, still no images. (the
> /nagios/images/disabled.gif still shows cross sign).
>
>
> ------------------------------
>
> *From:* Payam Jahromi [mailto:pjahromi at us.checkpoint.com]
> *Sent:* Friday, March 23, 2007 12:04 PM
> *To:* 'Dinçer Kavraal'
> *Subject:* RE: [Nagios-users] Images not showing in GUI
>
>
>
> It still doesn't work after the chown command.
>
>
>
> Then when I go to the URL specified, I see the cross sign.
>
>
> ------------------------------
>
> *From:* dkavraal at gmail.com [mailto:dkavraal at gmail.com] *On Behalf Of *Dinçer
> Kavraal
> *Sent:* Friday, March 23, 2007 11:53 AM
> *To:* Payam Jahromi
> *Subject:* Re: [Nagios-users] Images not showing in GUI
>
>
>
> Can you try
> # chown -R nagios:apache /usr/local/nagios/share
>
> If again it is unsuccessful, let me be aware what happens when you type
> URL:
>
> http://-your-web-host/nagios/images/disabled.gif
>
> What can you see (a cross sign)? An error? What does it say? (A 404 Error?
> a 500 Error?)
>
> Dinçer
>
> 2007/3/23, Payam Jahromi < pjahromi at us.checkpoint.com>:
>
> Attached. Thank you
>
>
>
>
> ------------------------------
>
> *From:* dkavraal at gmail.com [mailto: dkavraal at gmail.com] *On Behalf Of *Dinçer
> Kavraal
> *Sent:* Friday, March 23, 2007 11:22 AM
> *To:* Payam Jahromi
>
>
> *Subject:* Re: [Nagios-users] Images not showing in GUI
>
>
>
> Could you please send your httpd.conf? I think there is a clash between
> definitions. Because everything seems to be fine.
>
> Dinçer
>
> 2007/3/23, Payam Jahromi < pjahromi at us.checkpoint.com>:
>
> ls -l /usr/local/nagios/share/images
>
> total 316
>
> -rw-rw-r-- 1 nagios nagios 891 Mar 12 12:21 ack.gif
>
> -rw-rw-r-- 1 nagios nagios 1374 Mar 12 12:21 action.gif
>
> -rw-rw-r-- 1 nagios nagios 1187 Mar 12 12:21 command.png
>
> -rw-rw-r-- 1 nagios nagios 900 Mar 12 12:21 comment.gif
>
> -rw-rw-r-- 1 nagios nagios 1476 Mar 12 12:21 contexthelp1.gif
>
> -rw-rw-r-- 1 nagios nagios 1406 Mar 12 12:21 contexthelp2.gif
>
> -rw-rw-r-- 1 nagios nagios 1385 Mar 12 12:21 critical.png
>
> -rw-rw-r-- 1 nagios nagios 966 Mar 12 12:21 delay.gif
>
> -rw-rw-r-- 1 nagios nagios 1124 Mar 12 12:21 delete.gif
>
> -rw-rw-r-- 1 nagios nagios 890 Mar 12 12:21 detail.gif
>
> -rw-rw-r-- 1 nagios nagios 1088 Mar 12 12:21 disabled.gif
>
> -rw-rw-r-- 1 nagios nagios 846 Mar 12 12:21 down.gif
>
> -rw-rw-r-- 1 nagios nagios 864 Mar 12 12:21 downtime.gif
>
> -rw-rw-r-- 1 nagios nagios 807 Mar 12 12:21 empty.gif
>
> -rw-rw-r-- 1 nagios nagios 1016 Mar 12 12:21 enabled.gif
>
> -rw-rw-r-- 1 nagios nagios 1040 Mar 12 12:21 extinfo.gif
>
> -rw-rw-r-- 1 nagios nagios 578 Mar 12 12:21 flapping.gif
>
> -rw-rw-r-- 1 nagios nagios 329 Mar 12 12:21 greendot.gif
>
> -rw-rw-r-- 1 nagios nagios 17934 Mar 12 12:21 histogram.png
>
> -rw-rw-r-- 1 nagios nagios 924 Mar 12 12:21 history.gif
>
> -rw-rw-r-- 1 nagios nagios 958 Mar 12 12:21 hostevent.gif
>
> -rw-rw-r-- 1 nagios nagios 1371 Mar 12 12:21 info.png
>
> -rw-rw-r-- 1 nagios nagios 1097 Mar 12 12:21 left.gif
>
> -rw-rw-r-- 1 nagios nagios 13011 Mar 12 12:21 logofullsize.jpg
>
> drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 logos
>
> -rw-rw-r-- 1 nagios nagios 1085 Mar 12 12:21 logrotate.png
>
> -rw-rw-r-- 1 nagios nagios 1003 Mar 12 12:21 ndisabled.gif
>
> -rw-rw-r-- 1 nagios nagios 921 Mar 12 12:21 noack.gif
>
> -rw-rw-r-- 1 nagios nagios 1594 Mar 12 12:21 notes.gif
>
> -rw-rw-r-- 1 nagios nagios 947 Mar 12 12:21 notify.gif
>
> -rw-rw-r-- 1 nagios nagios 325 Mar 12 12:21 orangedot.gif
>
> -rw-rw-r-- 1 nagios nagios 985 Mar 12 12:21 passiveonly.gif
>
> -rw-rw-r-- 1 nagios nagios 1413 Mar 12 12:21 recovery.png
>
> -rw-rw-r-- 1 nagios nagios 5519 Mar 12 12:21 redudancy.png
>
> -rw-rw-r-- 1 nagios nagios 5519 Mar 12 12:21 redundancy.png
>
> -rw-rw-r-- 1 nagios nagios 969 Mar 12 12:21 restart.gif
>
> -rw-rw-r-- 1 nagios nagios 1098 Mar 12 12:21 right.gif
>
> -rw-rw-r-- 1 nagios nagios 5093 Mar 12 12:21 sblogo.jpg
>
> -rw-rw-r-- 1 nagios nagios 958 Mar 12 12:21 serviceevent.gif
>
> -rw-rw-r-- 1 nagios nagios 917 Mar 12 12:21 start.gif
>
> -rw-rw-r-- 1 nagios nagios 957 Mar 12 12:21 status2.gif
>
> -rw-rw-r-- 1 nagios nagios 951 Mar 12 12:21 status3.gif
>
> -rw-rw-r-- 1 nagios nagios 1029 Mar 12 12:21 status4.gif
>
> -rw-rw-r-- 1 nagios nagios 939 Mar 12 12:21 status.gif
>
> -rw-rw-r-- 1 nagios nagios 971 Mar 12 12:21 stop.gif
>
> -rw-rw-r-- 1 nagios nagios 1290 Mar 12 12:21 tacdisabled.jpg
>
> -rw-rw-r-- 1 nagios nagios 1329 Mar 12 12:21 tacdisabled.png
>
> -rw-rw-r-- 1 nagios nagios 1525 Mar 12 12:21 tacenabled.jpg
>
> -rw-rw-r-- 1 nagios nagios 1113 Mar 12 12:21 tacenabled.png
>
> -rw-rw-r-- 1 nagios nagios 567 Mar 12 12:21 thermcrit.png
>
> -rw-rw-r-- 1 nagios nagios 776 Mar 12 12:21 thermok.png
>
> -rw-rw-r-- 1 nagios nagios 676 Mar 12 12:21 thermwarn.png
>
> -rw-rw-r-- 1 nagios nagios 870 Mar 12 12:21 trends.gif
>
> -rw-rw-r-- 1 nagios nagios 18902 Mar 12 12:21 trendshost.png
>
> -rw-rw-r-- 1 nagios nagios 19031 Mar 12 12:21 trendssvc.png
>
> -rw-rw-r-- 1 nagios nagios 1405 Mar 12 12:21 unknown.png
>
> -rw-rw-r-- 1 nagios nagios 848 Mar 12 12:21 up.gif
>
> -rw-rw-r-- 1 nagios nagios 1386 Mar 12 12:21 warning.png
>
> -rw-rw-r-- 1 nagios nagios 3827 Mar 12 12:21 weblogo1.png
>
> -rw-rw-r-- 1 nagios nagios 1004 Mar 12 12:21 zoom1.gif
>
> -rw-rw-r-- 1 nagios nagios 1005 Mar 12 12:21 zoom2.gif
>
>
> ------------------------------
>
> *From:* dkavraal at gmail.com [mailto: dkavraal at gmail.com] *On Behalf Of *Dinçer
> Kavraal
> *Sent:* Friday, March 23, 2007 11:04 AM
>
>
> *To:* Payam Jahromi
> *Cc:* nagios-users at lists.sourceforge.net
> *Subject:* Re: [Nagios-users] Images not showing in GUI
>
>
>
> It's okay for now. But could you check " ls -l
> /usr/local/nagios/share/images"?
>
> 2007/3/23, Payam Jahromi < pjahromi at us.checkpoint.com>:
>
> I've re-read this page and I still don't know the issue. I've made sure
> the permissions are readable.
>
>
>
> I put in the snippet in my httpd.conf file.
>
>
>
> [root at pippen conf]# ls -ld /usr/local/nagios/sbin
>
> drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/sbin
>
>
>
> [root at pippen conf]# ls -l /usr/local/nagios/sbin
>
> total 1752
>
> -rwxrwxr-x 1 nagios nagios 156928 Mar 12 12:21 avail.cgi
>
> -rwxrwxr-x 1 nagios nagios 165908 Mar 12 12:21 cmd.cgi
>
> -rwxrwxr-x 1 nagios nagios 122144 Mar 12 12:21 config.cgi
>
> -rwxrwxr-x 1 nagios nagios 182292 Mar 12 12:21 extinfo.cgi
>
> -rwxrwxr-x 1 nagios nagios 111456 Mar 12 12:21 history.cgi
>
> -rwxrwxr-x 1 nagios nagios 107712 Mar 12 12:21 notifications.cgi
>
> -rwxrwxr-x 1 nagios nagios 108956 Mar 12 12:21 outages.cgi
>
> -rwxrwxr-x 1 nagios nagios 107616 Mar 12 12:21 showlog.cgi
>
> -rwxrwxr-x 1 nagios nagios 161212 Mar 12 12:21 status.cgi
>
> -rwxrwxr-x 1 nagios nagios 121280 Mar 12 12:21 statuswml.cgi
>
> -rwxrwxr-x 1 nagios nagios 107776 Mar 12 12:21 statuswrl.cgi
>
> -rwxrwxr-x 1 nagios nagios 127840 Mar 12 12:21 summary.cgi
>
> -rwxrwxr-x 1 nagios nagios 128476 Mar 12 12:21 tac.cgi
>
>
>
> [root at pippen conf]# ls -ld /usr/local/nagios/share
>
> drwxrwxr-x 8 nagios nagios 4096 Mar 12 12:21 /usr/local/nagios/share
>
>
>
> [root at pippen conf]# ls -l /usr/local/nagios/share
>
> total 52
>
> drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 contexthelp
>
> drwxrwxr-x 3 nagios nagios 4096 Mar 12 12:21 docs
>
> drwxrwxr-x 3 nagios nagios 4096 Mar 12 12:21 images
>
> -rw-rw-r-- 1 nagios nagios 658 Mar 12 12:21 index.html
>
> -rw-rw-r-- 1 nagios nagios 2408 Mar 12 12:21 main.html
>
> drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 media
>
> -rw-rw-r-- 1 nagios nagios 26 Mar 12 12:21 robots.txt
>
> -rw-rw-r-- 1 nagios nagios 12729 Mar 12 12:21 side.html
>
> drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 ssi
>
> drwxrwxr-x 2 nagios nagios 4096 Mar 12 12:21 stylesheets
>
>
>
> What am I missing?
> ------------------------------
>
> *From:* dkavraal at gmail.com [mailto: dkavraal at gmail.com] *On Behalf Of *Dinçer
> Kavraal
> *Sent:* Friday, March 23, 2007 9:43 AM
> *To:* Payam Jahromi
> *Cc:* nagios-users at lists.sourceforge.net
> *Subject:* Re: [Nagios-users] Images not showing in GUI
>
>
>
> You have to recheck your image permissions. Be sure they are readable by
> web server (read: http://nagios.sourceforge.net/docs/2_0/installweb.html )
>
> 2007/3/23, Payam Jahromi < pjahromi at us.checkpoint.com>:
>
> Hi,
>
>
>
> I just installed and set up nagios (version 2.8) for the first time. I set
> up the cgi-bin directory per the instructions, but when I go to the web
> interface, I don't see any images or icons/colors. I can see the nagios
> colors to the left, but the images in the middle are X'd out.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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/20070324/a225faa3/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- 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