Hi !
I would like to know if Cacti can do substraction ?
I explain :
All my servers are connected on a switch (unmanaged).
On the swith, there's many servers (not only the servers on the graph in attachment).
On this switch, i'd would like to know the real outbound of the servers behind.
This can be resume in a simple equation :
Total Outbound = (Outbound Front1 + Outbound Front2) - Inbound DB1
Total Inbound = Inbound LoadBal1 + ((Inbound Front1 + Inbound Front2) - Outbound Loadbal1 - Outbound DB1)
Is there a solution to do it ?
And, if the switch is managed ? How can i do this ?
I 've seen a plugin able to aggregate graphs.
It's a solution for me, but i need to substract ^^
Thanks a lot the community for this great work !
Can i know the total bandwith of my architecture?
Moderators: Developers, Moderators
Can i know the total bandwith of my architecture?
- Attachments
-
- Example of architecture for a client
- archi.jpg (32.15 KiB) Viewed 2350 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I don't know how you do this in a Cacti graph, but for what it's worth, weathermap can do subtraction of one target from another...
TARGET a.rrd -b.rrd
(make sure there's no space after the -)
TARGET a.rrd -b.rrd
(make sure there's no space after the -)
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 for your answer !
Yes, i use weathermap.
I tested your solution, but i've found a problem.
If I do a graph1+graph2-graphdb, it results in a :
Total Outbound = Outbound Front1 + Outbound Front2 - Outbound DB1
BUT, I want a :
Total Outbound = (Outbound Front1 + Outbound Front2) - INBOUND DB1
(To know the real bandwith in switch->firewall, and not of the interface of the switch)
Have you an idea ?
Yes, i use weathermap.
I tested your solution, but i've found a problem.
If I do a graph1+graph2-graphdb, it results in a :
Total Outbound = Outbound Front1 + Outbound Front2 - Outbound DB1
BUT, I want a :
Total Outbound = (Outbound Front1 + Outbound Front2) - INBOUND DB1
(To know the real bandwith in switch->firewall, and not of the interface of the switch)
Have you an idea ?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
You can swap over in and out for one DS...
TARGET a.rrd b.rrd -c.rrd:traffic_out:traffic_in
TARGET a.rrd b.rrd -c.rrd:traffic_out:traffic_in
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!)
Whaou, so fast to answer ... thank you !!
It's ok for my outbound !
But now, I've the Inbound of my database in the substraction.
So the total Inbound is false.
The total inbound isn't calculate with the same servers of the outbound.
Can i parameter that ?
(i don't know the parameters of the weathermap config file)
Thanks a lot to help me
It's ok for my outbound !
But now, I've the Inbound of my database in the substraction.
So the total Inbound is false.
The total inbound isn't calculate with the same servers of the outbound.
Can i parameter that ?
(i don't know the parameters of the weathermap config file)
Thanks a lot to help me
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
No problem
You can ignore either side too, like this:
TARGET a.rrd:-:traffic_in
to get a 0 in the 'in' slot, and the in value in the 'out' slot.
You can ignore either side too, like this:
TARGET a.rrd:-:traffic_in
to get a 0 in the 'in' slot, and the in value in the 'out' slot.
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!)
Who is online
Users browsing this forum: No registered users and 1 guest