|
|
| Author |
Message |
JBs
Joined: 23 Oct 2004 Posts: 11
|
Posted: Mon Dec 06, 2004 8:56 am Post subject: New view approach for cacti |
|
|
Hi Guys, instead of having only « one » view mode for cacti (graphs) which is not always obvious for people that are not directly in relation with the IT System, I’m developing a new visualisation system: the map view approach. This visualisation mode allows people to create network maps (from their own network infrastructure generally) with a soft such as MS Visio and then convert them into pictures (PNGs, JPGs).
They can upload their maps to the server and attach them on a parallel tree (map view tree). This second tree is managed exactly like the graph tree. The only difference is that you can attach a map to each Leaf and even multiple maps to a Leaf.
Each map is cut by the user in areas (HTML dynamic mapping). This is still not implemented in my code but it will be user friendly (no need to define manually the area’s values, there will have a kind of “drawing” tool). Each zone may be linked to another map (in the map view tree) or to a device graphed (native cacti graph view mode). Then, when requested the map is printed to the screen with the mapped zones and their links to the defined Tree / Leaf and a status of the linked device is reported directly onto the map (automatically generated by the application). There is also a list of mapped devices and a detailed status printed at the bottom of a map.
Here are a few screen shots, I think they will be more representative than my little speech: that’s not easy to explain how it works, the best thing is to see it in action.
I’m ok to publish my code. The only problem is that I had to make many modifications in the basic cacti 0.8.6 patched and currently I don’t know how to separate my code from cacti’s original code and keep that mod fully separated from cacti (and in that way allow users to use future versions of cacti with the mod). Maybe the cacti dev team will have an idea about that?
| Description: |
| This is the map tree in edit mode (a map can be assigned to each leaf) |
|
| Filesize: |
34.98 KB |
| Viewed: |
4955 Time(s) |

|
| Description: |
| This is the map upload area where the user can send to the server the pictures corresponding to his MS Visio maps (or coming from another soft) |
|
| Filesize: |
31.02 KB |
| Viewed: |
4955 Time(s) |

|
| Description: |
| This is the map view mode. The map is mapped (only one area here) and a status is drawn next to the mapped device. |
|
| Filesize: |
109.05 KB |
| Viewed: |
4955 Time(s) |

|
Last edited by JBs on Mon Dec 06, 2004 9:08 am; edited 1 time in total |
|
| Back to top |
|
 |
JBs
Joined: 23 Oct 2004 Posts: 11
|
Posted: Mon Dec 06, 2004 8:56 am Post subject: |
|
|
Other screen shots
Please, feel free to ask any question if you have some. And sorry for my English
| Description: |
| Map permissions, like graph permissions. |
|
| Filesize: |
18.86 KB |
| Viewed: |
4953 Time(s) |

|
| Description: |
| This is the map management tool (still under development). It will allow the user to define with the "drawing" tool, the mapped areas onto the map. |
|
| Filesize: |
58.38 KB |
| Viewed: |
4954 Time(s) |

|
|
|
| Back to top |
|
 |
LA
Joined: 12 Nov 2004 Posts: 31 Location: sttutgart, germany
|
Posted: Wed Dec 08, 2004 12:22 pm Post subject: Hi |
|
|
Hey nice Idea, keep posting as it develops,
Regards
|
|
| Back to top |
|
 |
Guest
|
Posted: Fri Dec 17, 2004 9:00 pm Post subject: Re: New view approach for cacti |
|
|
| JBs wrote: | | I’m ok to publish my code. The only problem is that I had to make many modifications in the basic cacti 0.8.6 patched and currently I don’t know how to separate my code from cacti’s original code and keep that mod fully separated from cacti (and in that way allow users to use future versions of cacti with the mod). Maybe the cacti dev team will have an idea about that? |
http://www.kegel.com/academy/opensource.html#patches.making
|
|
| Back to top |
|
 |
JBs
Joined: 23 Oct 2004 Posts: 11
|
Posted: Tue Dec 21, 2004 8:51 pm Post subject: Re: New view approach for cacti |
|
|
I don't know this concept very well but I'm not sure it will work ... I'm currently moving from 0.8.6b to 0.8.6c and I can see some core functions' definitions & calls that have been modified. I have to adapt and check my own code to these new calls (different number of parameters).
Here is a small example to illustrate what I mean:
| Code: |
//0.8.6b original function definition:
the_function($arg1 = false);
//My function modified definition:
the_function($arg1 = false, $my_arg = "default");
//In cacti original call:
the_function();
//My modified call:
the_function("", "mod");
//0.8.6c original function definition:
the_function($arg1 = false, $arg2 = false);
//My function modified definition:
the_function($arg1 = false, $arg2 = false, $my_arg = "default");
//In cacti original call:
the_function();
//My modified call:
the_function("", "", "mod");
|
Maybe the patches are clever enough to do that for me, maybe not. I would be surprised to know how it does to write "my modified call" (0.8.6c) with the previous 0.8.6b informations ...
Hope that I made myself clear, that's not easy to explain something with concepts you don't really control .
|
|
| Back to top |
|
 |
jas0420 Cacti User
Joined: 13 Jan 2005 Posts: 91 Location: College Station, TX - USA
|
Posted: Fri Jan 14, 2005 9:05 pm Post subject: |
|
|
JBs, I think what you were working on here was awesome! Did you get it to a stable condition? I'm looking for something exactly like that!
Great job!
Jason
|
|
| Back to top |
|
 |
JBs
Joined: 23 Oct 2004 Posts: 11
|
Posted: Sat Jan 15, 2005 6:25 am Post subject: |
|
|
Hi jas0420, I'm happy to see that you are interested in that new feature, I didn't have time to work on it, the user part of the feature is fully functional (and free of bugs?), whereas the admin part has still to be developed.
In // I have to add new features to cacti, for example, I have developed a full threshold management tool (associates thresholds to data sources, to graphs, can be used with simple cdef functions etc ...) and I'm currently working on a tool which sends email notices to the associated administrators if some devices are down. As soon as both of these tools will be functional, I'll start with the Map View Approach admin.
|
|
| Back to top |
|
 |
Guest
|
Posted: Sat Jan 15, 2005 2:40 pm Post subject: |
|
|
Imagine that... You're working on the exact three things I was hoping would find their way into Cacti! I had grand visions finding a way to accomplish at the very least Thresholds and Notifications. The Visio overlays would have been icing on the cake.
Our company has a ticketing system that is fed by collection boxes around the country which listen for SNMP traps and manipulate them into a format that is valid for the ticketing system (which takes care of the email notifications, opening a ticket, etc). I'm hoping to find a way to turn a threshold violation into an SNMP trap and pass it along as well.
On the spectrum of PHP programming from Beginner to Guru though, I'd rank myself as about a "Hasn't gone out to buy the PHP For Dummies book yet." Gotta have goals though...
If you ever find that you need a guinea pig to test something on, I'm definitely a willing participant.
Best of luck,
Jason
|
|
| Back to top |
|
 |
JBs
Joined: 23 Oct 2004 Posts: 11
|
Posted: Sat Jan 15, 2005 3:36 pm Post subject: |
|
|
Thanks Jason, I'm gonna have a discussion with my boss on next Monday to know if we can make a "pre release" of the new stuffs implemented in the cacti version we are adapting to our needs...
Maybe you are looking for a student to help you? I'm last year IT engineering student and I'm still (desperately) looking for an internship to validate my studies (abroad as much as possible) (what a salesman I am maybe this is because I’ve been sending so many resumes during these two last weeks LOL)
I’ll give you some news on Monday or Tuesday after having my boss’ point of view.
|
|
| Back to top |
|
 |
jas0420 Cacti User
Joined: 13 Jan 2005 Posts: 91 Location: College Station, TX - USA
|
Posted: Sat Jan 15, 2005 5:51 pm Post subject: |
|
|
I wish! I asked for an assistant for my regular work (Cacti/monitoring has become an after-hours hobby/obsession) about a month ago and pretty much got laughed at. Keep your chin up though... A couple of weeks of job hunting seems like a long time now, but in the big picture of things it's not. Something will turn up![/i]
|
|
| Back to top |
|
 |
JBs
Joined: 23 Oct 2004 Posts: 11
|
Posted: Mon Jan 17, 2005 9:36 am Post subject: |
|
|
Yeah, I know that I have to keep my chin up but the begining of my intership is getting really close and as I still haven't anything (only negatives answers, which makes me thinking that companies do not need network engineers ...).
Anyway, I had a discussion with my boss today, he is not against distributing the sources of the cacti version which is adapted to our needs. There's still a few bunch of stuffs to study and we will surely realase a full package (integrating all the mods: user side of map view approach, thresholds manager, base of email notifications and some other improvements) based on the 0.8.6c version of cacti.
(There are no patches or stuffs like that, only the whole package).
|
|
| Back to top |
|
 |
|