Alok's Blog

Statusmap bug in nagios-4.0.1

Statusmap bug in nagios-4.0.1

Testing Environment details :

OS : RHEL 5.8 RHEL 5.9 RHEL 6.4

I have install nagios-4.0.1 and configure nagios properly now I identify that the ststusmap is not showing.

There is a bug in nagios-4.0.1 core which shows the following message instade of showing Statusmap.

” You have not supplied any host drawing coordinates, so you cannot use this layout method.”

Here is the fix :

1. Become the nagios user. Debian/Ubuntu users should use sudo -s nagios.

su -l nagios

2. Extract

tar xzf nagios-4.0.1.tar.gz

3. Download patch file cgiutils-patch objects-patch in exact directories where you extract the “tar.gz” file

4. Deploy cgiutils.c and objects.c patch file with following command

patch -p1 nagios-4.0.1/cgi/cgiutils.c < cgiutils-patch

patch -p1 nagios-4.0.1/common/objects.c < objects-patch

6. Run the Nagios configure script, passing the name of the group used to control external command file permissions like so:

cd nagios-4.0.1/

./configure –with-command-group=nagcmd

7. Compile the Nagios source code.

make all

8. Install updated binaries, documentation, and web web interface. Your existing configuration files will not be overwritten by this step.

make install

9. Verify your configuration files. Correct any errors shown here before proceeding with the next step.

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

10. Restart Nagios.

service nagios restart

References :





Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: