Page 2 of 2
Re: Map is blank - Legacy is not found
Posted: Tue May 03, 2016 8:48 am
by cocoyanouck
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" :
Re: Map is blank - Legacy is not found
Posted: Tue May 03, 2016 10:38 am
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?
Re: Map is blank - Legacy is not found
Posted: Wed May 04, 2016 1:37 am
by cocoyanouck
For sure :
Re: Map is blank - Legacy is not found
Posted: Wed May 04, 2016 2:05 pm
by ssax
What are your locale/language settings on the server?
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
Re: Map is blank - Legacy is not found
Posted: Thu May 05, 2016 8:24 am
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.
Re: Map is blank - Legacy is not found
Posted: Thu May 05, 2016 9:59 am
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:
Taken from our guide here:
https://assets.nagios.com/downloads/nag ... Source.pdf
Re: Map is blank - Legacy is not found
Posted: Thu May 05, 2016 10:33 am
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.
Re: Map is blank - Legacy is not found
Posted: Thu May 05, 2016 10:44 am
by ssax
No problem. Yes, like Ubuntu.
Re: Map is blank - Legacy is not found
Posted: Fri May 06, 2016 1:56 am
by cocoyanouck
The output of locale :
Re: Map is blank - Legacy is not found
Posted: Fri May 06, 2016 3:12 am
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
