The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
I installed libgd2-xpm-dev but i'm unsure how to recompile to fix this issue.
/nagios/cgi-bin/statusmap.cgi was not found on this server
Re: /nagios/cgi-bin/statusmap.cgi was not found on this serv
Couple of questions:
1. What distro is running on the core box?
2. What version of nagios core?
3. Was this a source install or from the distro's repos?
1. What distro is running on the core box?
2. What version of nagios core?
3. Was this a source install or from the distro's repos?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: /nagios/cgi-bin/statusmap.cgi was not found on this serv
1. Distro is Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-27-generic x86_64)
2. Nagios Core 3.4.4
3. From source. (Originally I installed from repo but the version was really outdated, so I uninstalled and installed from source)
2. Nagios Core 3.4.4
3. From source. (Originally I installed from repo but the version was really outdated, so I uninstalled and installed from source)
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: /nagios/cgi-bin/statusmap.cgi was not found on this serv
Are you using a Desktop version of Ubuntu? The reason why I ask is in the following document it has you install that package:
http://nagios.sourceforge.net/docs/3_0/ ... buntu.html
Though that should not have an effect on Nagios reading cgi's.
You may need to re-compile Nagios because of the way it was installed and then removed, a few files could have gone missing.. if you do recompile you will not lose your configuration files though we recommend a backup in any case.
http://nagios.sourceforge.net/docs/3_0/ ... buntu.html
Though that should not have an effect on Nagios reading cgi's.
You may need to re-compile Nagios because of the way it was installed and then removed, a few files could have gone missing.. if you do recompile you will not lose your configuration files though we recommend a backup in any case.
Re: /nagios/cgi-bin/statusmap.cgi was not found on this serv
Server version.
Backing up nagios would backing up these files be sufficient?
/usr/local/nagios/etc/*
The steps to recompile nagios would be like this ?
./configure --with-command-group=nagcmd
make all
make install
make install-init
make install-config
make install-commandmode
make install-webconf
Backing up nagios would backing up these files be sufficient?
/usr/local/nagios/etc/*
The steps to recompile nagios would be like this ?
./configure --with-command-group=nagcmd
make all
make install
make install-init
make install-config
make install-commandmode
make install-webconf
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: /nagios/cgi-bin/statusmap.cgi was not found on this serv
Yes that backup would be sufficient for your configurations, I would recommend following this guide on installing from source on Ubuntu:
http://assets.nagios.com/downloads/nagi ... Source.pdf
http://assets.nagios.com/downloads/nagi ... Source.pdf
Re: /nagios/cgi-bin/statusmap.cgi was not found on this serv
Recompiling fixed my issue.
It did wipe out my config files but since I backed those files up no big deal. Just restored and restarted nagios.
Thanks for your help slansing
It did wipe out my config files but since I backed those files up no big deal. Just restored and restarted nagios.
Thanks for your help slansing
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: /nagios/cgi-bin/statusmap.cgi was not found on this serv
Hmm interesting, glad I mentioned to back them up, and glad you did. No problem, locking as resolved.