I swear that it's my ultimate problem (kwown)
It's the last but not the least ...
So, My nagios-debian is running properly, the web-interface is OK, all the service and command are running too.
The final step (in order to transfer nagios windows server to nagios-debian) is to load a map (the plan of our enterprise), add parents on each host and add some hosts on this map with specifics icons.
My problem : I've read that the statusmap on nagios is generated automatically, but when I open "Map" on the interface web, I've nothing, only this :
Code: Select all
Network Map for All Hosts
Last Updated: none
Nagios® Core™ 4.1.1 - www.nagios.org
Updated every 10 seconds
Logged in as nagiosadmin
View Status Detail For This Host
View Status Detail For All Hosts
View Status Overview For All Hosts
And next to "Map", there is (Legacy). When I click, I have the following message :
Not Found
The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server.
I've tried to check the file cgi.cfg on nagios/etc and to uncomment "#statusmap_background_image=smbackground.gd2" ? Then I've load an image on /usr/local/nagios/share.image and rewrote the line like this :
statusmap_background_image=SNF.jpg
But still blank in "map".
For information, in nagios/sbin, there is a file status.cgi.
Furthermore, I don't know if it's in relation, but about the error in "legacy", I've read that there was a problem at the beginning of my nagios installation with packets libgd2-xpm-dev.
If I try again to use "apt-get libgd2-xpm-dev, I've the output :
Code: Select all
Reading of the lists of packages ... Fact
Construction of the tree of dependences
Reading of the information of state ... Fact
Certain packages cannot be installed. This can mean that you asked for the impossible, either, if you use the distribution unstable, which certain packages were not created yet or did not go out of Incoming.
The following information should help you to solve the situation:
The following packages contain unsatisfied dependences: libgd2-dev: depends: libgd2-noxpm (= 2.1.0.5+deb8u1) but will not be installed
E: Impossible to correct the problems, defective packages are in mode "to keep as is".
But "locate libgd2" => I've nothing.
I'm really lost with all this outbuildings and updates :/ Any Idea ?
(config.log attached if it's can help you...).