Page 2 of 2

Re: Missing /nagios/cgi-bin/statusmap.cgi was not foun

Posted: Wed Jan 25, 2017 12:51 pm
by dwhitfield
nagiosgraph is not ours. Sometimes it takes third-party apps a while to catch up with our new code.

If you have logs of how much time you are spending, you could probably make a good case to management to get an XI license. You might as well download the 60-day demo from https://www.nagios.com/products/nagios-xi/ and see if you like it better. Migrating isn't the easiest thing in the world (mostly because people do all sorts of crazy things with Core), but it's certainly doable: https://assets.nagios.com/downloads/nag ... ios_XI.pdf

Re: Missing /nagios/cgi-bin/statusmap.cgi was not foun

Posted: Thu Jan 26, 2017 4:39 am
by neworderfac33
Good morning - I've come in today and the red mist has lifted a little! :-)

I finally got rid of the error message! :-) - it was, as I suspected, all about dependencies - you need gd-devel.
When I tried to install gd-devel using the .rpm that I'd previously downloaded, it flagged up a number of dependecies, so then I did:

Code: Select all

yum install fontconfig-devel
yum install freetype-devel
yum install libX11-devel
yum install libXpm-devel
yum install libjpeg-devel
yum install libpng-devel
Then, I installed the gd-devel rpm:

Code: Select all

rpm -ivh gd-devel-2.0.35-26.el7.x86_64.rpm
THEN, I compiled:

Code: Select all

./configure
make all
Whilst this didn't create statusmap.cgi in /usr/local/nagios/sbin/statusmap.cgi, it DID create it in the /cgi folder of my nagios source folder, in this case, /home/downloads/nagios-4.2.4/cgi

So then, I copied THAT file with:

Code: Select all

cp /home/downloads/nagios-4.2.4/cgi/statusmap.cgi /usr/local/nagios/sbin/statusmap.cgi
verfied my configuration and restarted Nagios.

When I try to view the status map... I get one! :-)

I hope this helps someone else out there and apologies for the tantrum!

Pete

Re: Missing /nagios/cgi-bin/statusmap.cgi was not foun

Posted: Thu Jan 26, 2017 10:03 am
by dwhitfield
Thanks so much for posting that. Do you want to go ahead and lock this thread up?

Re: Missing /nagios/cgi-bin/statusmap.cgi was not foun

Posted: Thu Jan 26, 2017 12:15 pm
by neworderfac33
Yep - the thread can be locked.