Nagios >>>statusmap.cgi missing

I installed Nagios Core from source on Red Hat 6.4.
On my Nagios Core 3.5 Web interface all links work but the map, I receive the error messages when I Map under Current Status:

>>>The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.
In my directory /usr/local/nagios/sbin, I learned that my statusmap.cgi is missing and it is  necessary.  

Current /usr/local/nagios/sbin.... contents>>>avail.cgi cmd.cgi config.cgi extinfo.cgi history.cgi notifications.cgi outages.cgi showlog.cgi status.cgi statuswml.cgi statuswrl.cgi summary.cgi tac.cgi

Is there way to resolve the statusmap.cgi issue short of re-installation?

FYI---I have referenced this site  >>http://www.unixmen.com/nagioscgi-binstatusmapcgi-was-not-found-on-this-server/ for answers.  As of Nagios newbie, I am trying to obtain the best answer/correct answer.
gumball60Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
you will have to compile again in order to get the cgi binaries made

histogram.cgi, statusmap.cgi, trends.cgi won't be created if gd-devel is missing
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gumball60Author Commented:
I have installed and/re-installed
gd,gd-devel,png,png-devel,jpeg,jpeg-devel,zlib,zlib-devel these packages.

Where should I compile?  i.e nagios
0
Seth SimmonsSr. Systems AdministratorCommented:
i usually just delete the nagios folder extracted from the tarball and extract again to start clean and run through the configure, make, make all, etc. again

i setup a test environment and those 3 cgi scripts weren't created until i installed gd-devel
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

gumball60Author Commented:
I will run configure again and see if it creates the needed cgi.scripts.
Additionally...
Sorry for ignorance on this matter....but should I initiate the configure script from the nagios directory?  

Would the directions(http://www.unixmen.com/nagioscgi-binstatusmapcgi-was-not-found-on-this-server) for recreating the needed cgi.scripts work?

#make devclean
# ./configure --with-gd-lib=/usr/lib   --with-gd-inc=/usr/include
next
#./configure --with-command-group=nagcmd
next
 #make all; make install; make install-init; make install-config; make install-commandmode; make install-webconf
0
Seth SimmonsSr. Systems AdministratorCommented:
i'm just a little confused here because you have the packages already installed and the files aren't there

usually when you have to specify --with-gd option it's when you have compiled gd from source and configure script can't find the gd files since it's in a different location than expected

if you didn't try make devclean yet, i would do that first
that could be the reason it didn't work if you just tried your configure/make/make install commands again.  cleaning out that build area might do it; i've experienced that before when having compiling issues with apache
0
gumball60Author Commented:
I have gotten map piece working....Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.