Minemap

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
360crm
Posts: 8
Joined: Wed Feb 20, 2013 2:36 pm

Minemap

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Minemap

Post by slansing »

When accessing the minemap page, can you run a tail on the apace error_log?:

Code: Select all

tail -f /var/log/httpd/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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Minemap

Post 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;

Code: Select all

tail -25 /var/log/httpd/error_log
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Minemap

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
360crm
Posts: 8
Joined: Wed Feb 20, 2013 2:36 pm

Re: Minemap

Post 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
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Minemap

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Minemap

Post 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
Andrew J. - Do you even grok?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Minemap

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Minemap

Post by vAJ »

I just copied /mssqlserver.png to /mssql.png

Works fine now.
Andrew J. - Do you even grok?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Minemap

Post by lmiltchev »

The bug has been fixed already in the next version of the wizards. :) I locking this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked