Link circuit in curve forms in Weathermap 0.81
Moderators: Developers, Moderators
Link circuit in curve forms in Weathermap 0.81
Dear All ,
I need to add more of 1 Link between 2 nodes. It is why I need to know how as to place links in form of curves so that links is not superposed to me between the 2 nodes. How I make this ?
Thanks
Best Regards
TELCO
I need to add more of 1 Link between 2 nodes. It is why I need to know how as to place links in form of curves so that links is not superposed to me between the 2 nodes. How I make this ?
Thanks
Best Regards
TELCO
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Link circuit in curve forms in Weathermap 0.81
It's in the manual, and the FAQ (several different variations). Both the manual and FAQ are in the docs/ folder of the zip file. The entry is "I need to have more than one link from node A to node B, but they just overlap...how can I do this?"TELCO wrote:Dear All ,
I need to add more of 1 Link between 2 nodes. It is why I need to know how as to place links in form of curves so that links is not superposed to me between the 2 nodes. How I make this ?
Thanks
Best Regards
TELCO
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!)
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
From Howie's manual:
http://wotsit.thingy.com/haj/cacti/php- ... /main.html
http://wotsit.thingy.com/haj/cacti/php- ... /main.html
LINK sync-site2a
NODES sync site2
WIDTH 3
VIA 650 380
TARGET data/sync_traffic_in_251.rrd
OVERLIBGRAPH http://support.mynet.net/cacti/graph_im ... _width=300
BANDWIDTH 1M
INFOURL http://support.mynet.net/cacti/graph.ph ... aph_id=252
Ok ! Correct.
Editing the configuration file of the map (.conf ) I could do it correctly. There is some form to do it in graphical form with the version of WeatherMap 0.81. It does not bother to me to have to editing the configuration file of the map. ??
I need see the position in the map ( X , Y )
My great problem is not to see the positions ( X , Y ) from the Weathermap 0.81 editor .
There is some way to see the positions from the editor of the Weathermap 0.81 editor ??
Thanks
Best Regards
TELCO
Editing the configuration file of the map (.conf ) I could do it correctly. There is some form to do it in graphical form with the version of WeatherMap 0.81. It does not bother to me to have to editing the configuration file of the map. ??
I need see the position in the map ( X , Y )
My great problem is not to see the positions ( X , Y ) from the Weathermap 0.81 editor .
There is some way to see the positions from the editor of the Weathermap 0.81 editor ??
Thanks
Best Regards
TELCO
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
It's not really an 'easy' way, but what I do is create a node where I want the curve to go, then look in the config file with a text editor to get those coordinates. The next version of the editor will be better for this.TELCO wrote:Ok ! Correct.
Editing the configuration file of the map (.conf ) I could do it correctly. There is some form to do it in graphical form with the version of WeatherMap 0.81. It does not bother to me to have to editing the configuration file of the map. ??
I need see the position in the map ( X , Y )
My great problem is not to see the positions ( X , Y ) from the Weathermap 0.81 editor .
There is some way to see the positions from the editor of the Weathermap 0.81 editor ??
Thanks
Best Regards
TELCO
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
0.82 is the latest. 0.9 is coming soon. Neither have much new in the editor. After 0.9 I will work on the editor some more, because 0.9 makes a LOT of changes in the rest of the program.TELCO wrote: With some version of WeatherMap can be done the curves from the graphical editor ??? I have version 0.81.
To as he would have it to upgrade ???
As I can upgrade of easy form my version to another more safe ???
Someone else is working on another editor too, but I know that it doesn't do VIAs yet (or even is released).
Upgrading from one version to the next is fairly painless. Just make sure to back up your config files, move everything out of the way, unzip the new one, and put your configs and images back. If you don't see problems with 0.81, then 0.82 is not very different. Have a look at the CHANGES log on the website - it's small bugfixes.
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
The editor knows nothing about Cacti (apart from that picker page), so no permissions changes in Cacti will make much difference.chadd wrote:So, does anyone have a way to force a person to have 'admin' privileges to access the editor.php page? Sorry if you have already answered this Howie, but I have not found the answer.. Thanks in advance.
chmod 0 editor.php or chown -R not-the-webserver-user configs/; chmod 644 configs/* is what I use. Then unix takes care of things for you. It assumes that anyone with admin access to cacti also has admin access to the box, I guess...
For apache, you could also use a FilesMatch section to require some additional Basic Auth or something similar for editor.php
It might be possible to link this into Cacti if you use external auth with Cacti, but I don't know anything about how/if that works.
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!)
Howie wrote:The editor knows nothing about Cacti (apart from that picker page), so no permissions changes in Cacti will make much difference.chadd wrote:So, does anyone have a way to force a person to have 'admin' privileges to access the editor.php page? Sorry if you have already answered this Howie, but I have not found the answer.. Thanks in advance.
chmod 0 editor.php or chown -R not-the-webserver-user configs/; chmod 644 configs/* is what I use. Then unix takes care of things for you. It assumes that anyone with admin access to cacti also has admin access to the box, I guess...
For apache, you could also use a FilesMatch section to require some additional Basic Auth or something similar for editor.php
But if I changed the permissions as you suggested, then I would have to change them back if I wanted to use the editor to edit the config files.. Right? I mean, the www user (or apache) user has to have write access to those files for the editor to work, no? Anyway, I guess it's not too big of a deal to remember to change the permissions to read only for the www user after I am done with the editor each time. I wonder how difficult it would be to add a section to the editor.php that hooks it into the authentication mechanism for Cacti?
It might be possible to link this into Cacti if you use external auth with Cacti, but I don't know anything about how/if that works.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Yup.chadd wrote: But if I changed the permissions as you suggested, then I would have to change them back if I wanted to use the editor to edit the config files.. Right? I mean, the www user (or apache) user has to have write access to those files for the editor to work, no?
You need to (at least) create a whole bunch of entries in the Cacti auth table in setup.php for each possible command the editor might get. Since I'm planning on rewriting the editor soon, I'm not going to spend the time on the old one. I did try it quickly once before (when I first added the Cacti plugin stuff), and there was another problem, although I don't recall what it was right now. Something to do with names clashing.chadd wrote: Anyway, I guess it's not too big of a deal to remember to change the permissions to read only for the www user after I am done with the editor each time. I wonder how difficult it would be to add a section to the editor.php that hooks it into the authentication mechanism for Cacti?
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!)
Thanks a ton Howie. I just took a look at it quickly, and it did seem like a lot of work. I just ended up changing the permissions on the editor.php file to 0600. That way the www user can't run it, and I don't have to worry about permissions on all the config files getting hosed up. When I want to use it, I will change it back to 0644 and it will work again. Thanks again. Defiantly looking forward to the re-write of the editor. This is a great project, and all my bosses always think the maps are the greatest thing since sliced bread , but they are a lot of work..
Who is online
Users browsing this forum: No registered users and 0 guests