Nagios – Missing statusmap.cgi

From Daniele Cocci’s blog(worked for me):

Before any change i made a snapshot of my LAMP Virtual Machine server

The Nagios installation can go really smoothly but sometimes statusmap.cgi is not compiled and the error doesn’t really come up during the make. And that’s why we’ll found out only when the system is up and running but this nice little feauture is missing getting to this error:
Not Found
The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server

This is often caused by the missing gd libraries, so if you experience this error be sure to perform the following commands (tested on Centos, should work for Redhat as well):

[root@localhost]# yum install gd
[root@localhost]# yum install gd-devel

Then go in your nagios source folder and lauch the following:

[root@localhost]# ./configure
[root@localhost]# make
[root@localhost]# make-cgis
[root@localhost]# make install-cgis

This should fix very well this kind of problem. If you still experience problems with your nagios application please refer the following guide (imho one of the best around):

http://www.thegeekstuff.com/2008/05/nagios-30-jumpstart-guide-for-red-hat-overview-installation-and-configuration/

~ di diegotech su marzo 9, 2012.

Lascia un commento

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

 
%d blogger cliccano Mi Piace per questo: