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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

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

Post 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
Last edited by neworderfac33 on Thu Jan 26, 2017 10:39 am, edited 2 times in total.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post by dwhitfield »

Thanks so much for posting that. Do you want to go ahead and lock this thread up?
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

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

Post by neworderfac33 »

Yep - the thread can be locked.
Locked