Page 1 of 1
Minemap
Posted: Mon Jul 22, 2013 8:33 am
by 360crm
Hi All,
Over the last few days we have noticed a strange issue with the mine map displaying on the webpage it starts to display this error:
Code: Select all
icore/status.php?show=hostdetail&host=Switch1" target="_blank">
Seems to be quite intermittent in that will work sometimes but not others.
Any ideas?
Regards
Gareth
Re: Minemap
Posted: Mon Jul 22, 2013 1:34 pm
by slansing
When accessing the minemap page, can you run a tail on the apace error_log?:
Then kill the tail once the page opens, try to do this until that text appears on the page, and send us the resulting tail from that period of time.
Re: Minemap
Posted: Mon Jul 22, 2013 1:35 pm
by abrist
The next time you experience the error, run a tail on the httpd error log and post the output here in code wraps;
Re: Minemap
Posted: Mon Jul 22, 2013 1:37 pm
by lmiltchev
Do you see this right after you click on the "BBmap" under "Maps" from the Nagios XI web interface, or after you "drill down" by clicking on the host/service? Can you post a screenshot of the error? What is the version of Nagios XI that you are running?
Re: Minemap
Posted: Wed Jul 31, 2013 12:12 pm
by 360crm
Hi sorry for the late reply:
this is the code from today
Code: Select all
[Wed Jul 31 16:58:12 2013] [error] [client 212.20.253.242] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/mssql.png, referer: http://360crmnagios/nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=DBChronos
[Wed Jul 31 16:58:19 2013] [error] [client 212.20.253.242] PHP Notice: Undefined variable: sa in /usr/local/nagiosxi/html/config/configobject.php on line 951, referer: http://360crmnagios/nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=DBServ10
Picture of error attached
minemaperror.JPG
Re: Minemap
Posted: Wed Jul 31, 2013 4:50 pm
by abrist
Is this browser agnostic? (try it on a different browser)
360crm wrote:/usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/mssql.png
Looks like you may have had an image fof this object at one point, but not any more. The default XI path/filename is:
Code: Select all
/usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/mssqlserver.png
Does the following link work without errors:
http://360crmnagios/nagiosxi/includes/c ... t=DBServ10
Re: Minemap
Posted: Fri Apr 18, 2014 10:46 am
by vAJ
Thought I'd chime in on this older thread.
MSSQL hosts appear to no longer show their logo for me as well. They are referencing
Code: Select all
nagiosxi/includes/components/nagioscore/ui/images/logos/mssql.png
Should be referencing
Code: Select all
nagiosxi/includes/components/nagioscore/ui/images/logos/mssqlserver.png
Re: Minemap
Posted: Fri Apr 18, 2014 12:28 pm
by lmiltchev
Depends on what wizard you ran. There is a png file for each of the mssql wizards (mssqldatabase.png, mssqlquery.png, and mssqlserver.png). All are located in the "/usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos" directory. For some reason, only the "mssqlserver.png" is added after running the "MSSQL Server" wizard. The other two are not being added. When you run the "MSSQL Database" wizard, a "mssql.png" is added, instead of "mssqldatabase.png". The "MSSQL Query" wizard also adds a "mssql.png" instead of "mssqlquery.png". I will be filing an internal bug report on this issue.
Re: Minemap
Posted: Fri Apr 18, 2014 12:45 pm
by vAJ
I just copied /mssqlserver.png to /mssql.png
Works fine now.
Re: Minemap
Posted: Fri Apr 18, 2014 1:08 pm
by lmiltchev
The bug has been fixed already in the next version of the wizards.

I locking this topic.