Statusmap error

Jayson Kliger jayson at sonictrading.com
Tue Jan 21 22:23:51 CET 2003


Thanks Greg,
Thats exactly what Jeff had helped me with and it fixed the problem,
however the problem that I am having now is the icons for the status map
are not showing up, all I get is an outlined box with "Nagios Process"
and an outlined box with green "up" circle and no icon for my host. I
have added the extra cfg file for hostextinfo.All of the other cgi
display icons except for the statusmap.


On Tue, 2003-01-21 at 15:42, Potter, G M (Greg) wrote:
> What is your OS, on my Solaris Installation I have to make an entry
> in the httpd.conf file to set the LD_LIBRARY_PATH to /usr/local/lib.
> The entry looks like the following:
> 
> SetENV LD_LIBRARY_PATH /usr/local/lib
> 
> Let me know if this helps.  On Linux I think there is a file called
> /etc/ld.conf or something like that that does something similar.
> 
> Greg
> 
> > -----Original Message-----
> > From: Jeff McKeon [mailto:jsm at inpro.net]
> > Sent: Tuesday, January 21, 2003 12:50 PM
> > To: Jayson Kliger
> > Cc: Nagios List
> > Subject: Re: [Nagios-users] Statusmap error
> > 
> > 
> > Jayson,
> > 
> > send me your extended info cfg file in the body of an email...
> > 
> > jeff
> > 
> > On Tue, 2003-01-21 at 13:52, Jayson Kliger wrote:
> > > Hello Jeff,
> > > 
> > > Thank you for your input it has been extremely appreciated, 
> > I did find
> > > the reference to extended info for the hosts in the 
> > documentation that
> > > you had mentioned, I added the required lines to the 
> > cgi.cfg file, and
> > > created the new cfg files..it appears to work (kind of),my 
> > status map
> > > still shows no icons (I just get out lined box for "nagios 
> > process" and
> > > and outlined box for the "host" machine with the green active circle
> > > around it) the info box that pops up when you roll your 
> > mouse over it
> > > shows the icon (thank you) as well as the other cgi's , 
> > including the
> > > statuswrl (however the icon is "blocky" I will keep tooling 
> > around with
> > > it hopefully I will find the problem. Thank you again for 
> > you time and
> > > help.
> > > 
> > > Jayson
> > > 
> > > On Tue, 2003-01-21 at 07:53, Jeff McKeon wrote:
> > > > jayson,
> > > > 
> > > > sorry but I was out on the road yesterday.  
> > > > 
> > > > to get the images correct you need to place the image 
> > files in the 
> > > > 
> > > > /usr/local/nagios/share/images/logos/ 
> > > > 
> > > > directory and then you need to create a whole new .cfg 
> > file for the
> > > > extended attributes of the hosts.  you can name this file 
> > anything you
> > > > want and put it in the .../nagios/etc directory with all 
> > the rest of the
> > > > cfg files.  The documentation has the file information 
> > but there isn't a
> > > > sample file included that I know of.
> > > > 
> > > > after that file is created you must change the line in 
> > the cgi.cfg to
> > > > point to it.
> > > > 
> > > > xedtemplate_config_file=/usr/local/nagios/etc/filename.cfg
> > > > 
> > > > As for the httpd.conf line and what it does, I'm not 
> > totally sure. 
> > > > Someone helped me out with that last week.  It's 
> > apparently not in the
> > > > nagios docs.  I believe it just tells httpd where to find 
> > the libs for
> > > > the cgi code.
> > > > 
> > > > enjoy!
> > > > 
> > > > Jeff
> > > > 
> > > > On Fri, 2003-01-17 at 20:23, Jayson Kliger wrote:
> > > > > Thank YOU! That did it,that gave me the layout, but for 
> > some reason the
> > > > > icons don't show? Maybe I just have to tweak that file 
> > a little more
> > > > > ....more importantly, what exactly did that addition to 
> > the httpd.conf
> > > > > file do, put the the lib dir in the httpd path? Thanks 
> > again ..now I can
> > > > > almost go home..
> > > > > 
> > > > > On Fri, 2003-01-17 at 19:55, jsm at inpro.net wrote:
> > > > > > There's a line you need to add to your httpd.conf 
> > file.  Just went throught
> > > > > > this last week.
> > > > > > 
> > > > > > SetENV LD_LIBRARY_PATH /usr/local/lib
> > > > > > 
> > > > > > just add it to the end of the file and it may do the trick...
> > > > > > 
> > > > > > ----- Original Message -----
> > > > > > From: "Jayson Kliger" <jayson at sonictrading.com>
> > > > > > To: <nagios-users at lists.sourceforge.net>
> > > > > > Sent: Friday, January 17, 2003 7:45 PM
> > > > > > Subject: [Nagios-users] Statusmap error
> > > > > > 
> > > > > > 
> > > > > > > Hello,
> > > > > > >
> > > > > > > I currently have running Nagios running on a RH8 
> > machine, and it is
> > > > > > > monitoring the test box that I have set up,  I have 
> > read the docs, and
> > > > > > > mailing-list archives, but I am still having issues with the
> > > > > > > statsmap.cgi. I have made the (what I feel are the 
> > correct, but probably
> > > > > > > aren't) changes to the cgi.cfg file 
> > <hostextinfo>and<serviceextinfo>
> > > > > > > sections .the default_statusmap/default_statuswrl 
> > layouts have been set
> > > > > > > to default 4 (circular).. When ever I try to access 
> > statusmap I get an
> > > > > > > error 500 Premature end of script? Any hints as to 
> > where I should begin
> > > > > > > to track down the problem? I believe that I have 
> > all the required libs
> > > > > > > installed...I am kind of stuck at this point, any ideas?
> > > > > > >
> > > > > > > Thanks in advance
> > > > > > > Jay
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -------------------------------------------------------
> > > > > > > This SF.NET email is sponsored by: Thawte.com - A 
> > 128-bit supercerts will
> > > > > > > allow you to extend the highest allowed 128 bit 
> > encryption to all your
> > > > > > > clients even if they use browsers that are limited 
> > to 40 bit encryption.
> > > > > > > Get a guide 
> > here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
> > > > > > > _______________________________________________
> > > > > > > Nagios-users mailing list
> > > > > > > Nagios-users at lists.sourceforge.net
> > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > > > > 
> > > > > 
> > > > > 
> > > > 
> > > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Scholarships for Techies!
> > Can't afford IT training? All 2003 ictp students receive scholarships.
> > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
> > www.ictp.com/training/sourceforge.asp
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > 




-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp




More information about the Users mailing list