Map is blank - Legacy is not found

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.
cocoyanouck
Posts: 96
Joined: Fri Apr 08, 2016 3:17 am

Re: Map is blank - Legacy is not found

Post by cocoyanouck »

Capture d’écran 2016-05-03 à 15.46.05.png
Sorry, my last message was not complete :
When I go to Map, I only see blank, but If I open "Network Map for All Hosts", I've this :


And If I click on the three lines, I've an error "NOT FOUND" :
Attachments
Capture d’écran 2016-05-03 à 15.49.08.png
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Map is blank - Legacy is not found

Post by rkennedy »

rkennedy wrote:Can you post your logs for us to take a look at? (if you can't find one of them, look around, I might be slightly off depending how your logs are setup.)

Code: Select all

/var/log/apache2/error_log
/var/log/apache2/access_log
Can you post these files once again?
Former Nagios Employee
cocoyanouck
Posts: 96
Joined: Fri Apr 08, 2016 3:17 am

Re: Map is blank - Legacy is not found

Post by cocoyanouck »

For sure :
Attachments
apachenagios.tar
(910 KiB) Downloaded 151 times
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Map is blank - Legacy is not found

Post by ssax »

What are your locale/language settings on the server?

Code: Select all

locale

I think there were some bug fixes for the maps like you are experiencing already resolved.

Can you try installing from this branch to see if that fixes it for you?

Code: Select all

https://github.com/NagiosEnterprises/nagioscore/tree/nagios-4.1.2-Pre1
cocoyanouck
Posts: 96
Joined: Fri Apr 08, 2016 3:17 am

Re: Map is blank - Legacy is not found

Post by cocoyanouck »

I tell you the language tomorrow.

Ok, so if If download this 4.1.2 (beta ?), I need to ./configure, make, make all etc ...?
Do I need backup my conf before that ? (windows.cfg, switchs.cfg, conf apache, nagios.cfg ?).

Thanks and have a good day.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Map is blank - Legacy is not found

Post by ssax »

If it's a VM, take a snapshot.. but yes, always make backups before making major changes just in case you need to revert.

For RHEL/CentOS users:

Code: Select all

./configure --with-command-group=nagcmd 
For Ubuntu users:

Code: Select all

./configure --with-nagios-group=nagios --with-command-group=nagcmd -–with-mail=/usr/bin/sendmail
All systems:

Code: Select all

make all
make install 
make install-init 
make install-config 
make install-commandmode 
make install-webconf 
cp -R contrib/eventhandlers/ /usr/local/nagios/libexec/
chown -R nagios:nagios /usr/local/nagios/libexec/eventhandlers
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios start
For RHEL/CentOS users:

Code: Select all

/etc/init.d/httpd start 

Taken from our guide here:

https://assets.nagios.com/downloads/nag ... Source.pdf
cocoyanouck
Posts: 96
Joined: Fri Apr 08, 2016 3:17 am

Re: Map is blank - Legacy is not found

Post by cocoyanouck »

Yes, I always do a snapshot before trying something.

It's a VM Debian 8 Jessie so I guess this is like Ubuntu system ? Thanks for all commands.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Map is blank - Legacy is not found

Post by ssax »

No problem. Yes, like Ubuntu.
cocoyanouck
Posts: 96
Joined: Fri Apr 08, 2016 3:17 am

Re: Map is blank - Legacy is not found

Post by cocoyanouck »

The output of locale :
Attachments
Capture d’écran 2016-05-06 à 08.55.19.png
cocoyanouck
Posts: 96
Joined: Fri Apr 08, 2016 3:17 am

Re: Map is blank - Legacy is not found

Post by cocoyanouck »

Yeahhhhhhhh, I'm relieved, It works !!!


I've install 4.1.2.Pre1 => like for the installation of 4.1.1, I've an error when I open make install webconf because the path is not /etc/httpd. but /etc/apache2 so I run this command (if It's unknown or if it's can help some other users) :

Code: Select all

/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf
http://sharadchhetri.com/2014/08/25/ins ... 14-04-lts/ (STEP 5)

Then I copy my /object and test the map, all is OK.

Thank you very much !

Note that I had to reinstall pnp4nagios too :)
Attachments
Capture d’écran 2016-05-06 à 10.06.58.png
Locked