|
|
| Author |
Message |
pheezy Cacti User
Joined: 26 Oct 2006 Posts: 54
|
Posted: Tue Dec 18, 2007 10:46 am Post subject: [SOLVED] Place on Tree or Embed? |
|
|
I'd like to take some of our network weathermaps and embed them on other pages via iframe. However I can't see anyway to export these, let alone place them on a tree in Cacti. Has anyone figured this out? I even changed the permissions to Anyone, however this still requires people to log in to Cacti, which I don't want. 
Last edited by pheezy on Tue Dec 18, 2007 4:30 pm; edited 1 time in total |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2135 Location: United Kingdom
|
Posted: Tue Dec 18, 2007 11:53 am Post subject: |
|
|
Before the Cacti team burst into life with 0.8.7, I was thinking about making the necessary changes to the cacti tree code to allow you to embed other types of stuff (including maps, documents, arbitary text) into trees... I should look at that again, now that 0.8.7 has settled down a bit.
Anyway, you can get all the map images by looking in http://yourcactiserver/plugins/weathermap/output/map_4.png (or whatever map ID it is). There's a map_4.html too, although the path for the image will be a little off in that.
The permissions you would need otherwise would be to allow the Guest user the 'View Weathermaps' right in Cacti, then give that user access to the appropriate maps. Then you shouldn't need to log in at all. |
|
| Back to top |
|
 |
pheezy Cacti User
Joined: 26 Oct 2006 Posts: 54
|
Posted: Tue Dec 18, 2007 4:29 pm Post subject: |
|
|
Thanks Howie; I used the image and just made a link back to the Cacti installation as the relative paths didn't work too well in an iframe.  |
|
| Back to top |
|
 |
|