Map is blank - Legacy is not found
-
cocoyanouck
- Posts: 96
- Joined: Fri Apr 08, 2016 3:17 am
Re: Map is blank - Legacy is not found
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" :
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
Can you post these files once again?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
Former Nagios Employee
-
cocoyanouck
- Posts: 96
- Joined: Fri Apr 08, 2016 3:17 am
Re: Map is blank - Legacy is not found
For sure :
- Attachments
-
- apachenagios.tar
- (910 KiB) Downloaded 150 times
Re: Map is blank - Legacy is not found
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
localeI 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
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.
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
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:
For Ubuntu users:
All systems:
For RHEL/CentOS users:
Taken from our guide here:
https://assets.nagios.com/downloads/nag ... Source.pdf
For RHEL/CentOS users:
Code: Select all
./configure --with-command-group=nagcmd Code: Select all
./configure --with-nagios-group=nagios --with-command-group=nagcmd -–with-mail=/usr/bin/sendmailCode: 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 startCode: 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
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.
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
No problem. Yes, like Ubuntu.
-
cocoyanouck
- Posts: 96
- Joined: Fri Apr 08, 2016 3:17 am
-
cocoyanouck
- Posts: 96
- Joined: Fri Apr 08, 2016 3:17 am
Re: Map is blank - Legacy is not found
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) :
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
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.confThen I copy my /object and test the map, all is OK.
Thank you very much !
Note that I had to reinstall pnp4nagios too