Problem showing maps on LCD TV
Moderators: Developers, Moderators
Problem showing maps on LCD TV
Hi all, hope someone can help me to solve this.
I am showing a weathermap on the LCD TV in my office so we can take a look on whats going on the network.
Everything goes fine, but after an hour or so the screen scroll up and i have to adjust it again. How can a i fix this ? Im using Firefox to show the wathermaps.
I add some pics to show the problem.
What i see: After an hour this happens:
Sorry for my english.
Thanks
I am showing a weathermap on the LCD TV in my office so we can take a look on whats going on the network.
Everything goes fine, but after an hour or so the screen scroll up and i have to adjust it again. How can a i fix this ? Im using Firefox to show the wathermaps.
I add some pics to show the problem.
What i see: After an hour this happens:
Sorry for my english.
Thanks
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Problem showing maps on LCD TV
The tabs are normally missing for you?
I don't understand your pictures...
I don't understand your pictures...
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: Problem showing maps on LCD TV
Sorry, i will try to explain it better:
If i dont manually hide the tabs the maps doesnt fit in the screen well. I take some more pics. I hide tabs using the scroll bar...
Normal view:
after some page refreshs... I didnt know that the normal way to show the maps is including tabs.
If i dont manually hide the tabs the maps doesnt fit in the screen well. I take some more pics. I hide tabs using the scroll bar...
Normal view:
after some page refreshs... I didnt know that the normal way to show the maps is including tabs.
Re: Problem showing maps on LCD TV
Maybe when the cacti cut your connection and he should connect you with the guest login ?
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Problem showing maps on LCD TV
The normal way is including tabs.
I would expect that it would refresh more often than every hour, too.
I will try to add something for the next version to do real full screen maps, for you.
I would expect that it would refresh more often than every hour, too.
I will try to add something for the next version to do real full screen maps, for you.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: Problem showing maps on LCD TV
You've got a lot of space on your page. Maybe you could make the height of your graphic smaller, so the picture and tabs would show, without haveing to tweek it. That's what I've done with mine.
Re: Problem showing maps on LCD TV
If you manually run the rebuild php script with:
php weathermap-cacti-rebuild.php
You can see the image files that are generated. Then simply create a symbolic link from the directory to where they are stored and display that image file on your LCD. Takes cacti out of the equation. We use this .php script to cycle between a number of different urls. Work pretty well.
cycle.php code:
php weathermap-cacti-rebuild.php
You can see the image files that are generated. Then simply create a symbolic link from the directory to where they are stored and display that image file on your LCD. Takes cacti out of the equation. We use this .php script to cycle between a number of different urls. Work pretty well.
cycle.php code:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title></title>
<style type="text/css">
body, html { background-color:black; margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
iframe { border: none; }
</style>
<script type="text/javascript">
var Dash = {
nextIndex: 0,
dashboards: [
{url: "http://yourdomain.com/weathermap.png", time: 5},
{url: "URL-2", time: 10},
{url: "URL-3", time: 20},
{url: "UrL-4", time: 5}
],
display: function()
{
var dashboard = Dash.dashboards[Dash.nextIndex];
frames["displayArea"].location.href = dashboard.url;
Dash.nextIndex = (Dash.nextIndex + 1) % Dash.dashboards.length;
setTimeout(Dash.display, dashboard.time * 1000);
}
};
window.onload = Dash.display;
</script>
</head>
<body bgcolor="#000000">
<iframe name="displayArea" width="100%" height="100%"></iframe>
</body>
</html>
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Problem showing maps on LCD TV
That will work too!
You might also need to remove/change the .htaccess file in weathermap/output/ directory, depending on which version of weathermap it is. I think some versions might block direct access from the web for that directory.
You might also need to remove/change the .htaccess file in weathermap/output/ directory, depending on which version of weathermap it is. I think some versions might block direct access from the web for that directory.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: Problem showing maps on LCD TV
Do not know if it will help, but I had a problem by more or less similar: a large screen (3 x 1.5 m) divided between Weathermap, nagios and google maps. I made a html file and put a refresh in 120 seconds page cacti. The solution works only with Firefox and does not work with IE. When I have a restart then it appears the login screen and the tabs, but soon disappears.
Re: Problem showing maps on LCD TV
This is what my symbolic link looks like, I created it in an area that a normal web user could get to.
Code: Select all
lrwxrwxrwx 1 root root 65 2011-05-13 12:43 fund-util.png -> /var/www/cacti/plugins/weathermap/output/525b5e07e8cdd979fb16.png
Who is online
Users browsing this forum: No registered users and 0 guests