Couple of small problems


#1

I now have my nagios up and monitoring my servers that to the great help of jakkedup and luca thanks alot guys!!

but I still have a few little problems like

when i click on the Status Map link I get (The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.)

when i click on the 3-D Status map link, the statuswrl.cgi try’s to download

when i click on the Trends link I get (The requested URL /nagios/cgi-bin/trends.cgi was not found on this server.)

when i click on the Alert histogram link I get (The requested URL /nagios/cgi-bin/histogram.cgi was not found on this server.)

For some reason these where not installed in the cgi-bin, I have searched through the doc’s and could’nt find anything about these.

thanks again for any help
Robb


#2

Most of these are due to missing GD libraries during config.
As for the 3D map you need a browser plugin for VRML files like Cortona (search the forum there were some links to working plugins)

Luca


#3

run the ./configure again in your nagios source directory and you will see it complain about the gd libs.

Also, if that is not the case, then pay attention to the gd docs NOTE:
"Modern versions of gd install by default to /usr/local/lib and /usr/local/include. If you already have an older version of gd in /usr/lib and /usr/include, you may wish to use:

./configure --prefix=/usr

To ensure that your new installation overwrites the old."

Also, look at your /etc/ld.so.conf file and make sure that the lib where gd is installed is in this file. For example /usr/local/lib
If you have to add a path, then run ldconfig after you modify the file, and then configure/install nagios again. ./configure make make install


#4

thanks a lot guys for guiding me in the right direction, I will try these. Just wish the doc’s where a little more to the point.

Robb


#5

I recompiled and made sure it found gd which it did, status map and
trends are working , all that is left to fix is 3d status map still try’s to download not execute, did it not set the right file permisson to the statuswrl.cgi, any ideas??

Thanks robb


#6

Please re-read my first answer…
You need a VRML plugin.

Luca


#7

[quote=“robb4r”]thanks a lot guys for guiding me in the right direction, I will try these. Just wish the doc’s where a little more to the point.
Robb[/quote]

This is not the nagios doc’s problem, but a problem when ccmpiliing any source on your linux machine. You have to pay attention to the output of configure and make, in order to see problems.