Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Ping Graph and Custom Icons
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
Goatmilker



Joined: 08 May 2007
Posts: 22
Location: Brussels

PostPosted: Thu Jun 28, 2007 5:33 am    Post subject: Reply with quote

StarLog wrote:
rfxn,

are you able to post a few snippets or the entire config for us noobs to gleam some ideas of your code.?

Thanks


Hi StarLog, let me share my code as I also had to dig deep to find a working solution. I see no point why people should re-invent the wheel twice

Code:

NODE CoreSW1
        LABEL {node:this:name}
        ICON images/6500.png
        INFOURL /graph_view.php?action=preview&host_id={node:this:id}
        USESCALE ping in
        POSITION 60 100
        SET id 35

NODE CoreSW1_CPU
        LABEL CPU:{node:this:bandwidth_in:%.1f}%
        OVERLIBGRAPH /graph_image.php?local_graph_id={node:this:id}&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        TARGET gauge:/var/www/html/rra/{node:this:namy}.rrd:5min_cpu:-
        USESCALE ping in
        POSITION 115 80
        SET id 162
        SET namy itshostname_5min_cpu_166

NODE CoreSW1_LAT
        LABEL {node:this:bandwidth_in:%.2f}ms
        OVERLIBGRAPH /graph_image.php?local_graph_id={node:this:id}&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        TARGET gauge:/var/www/html/rra/{node:this:namy}.rrd:ping:-
        USESCALE ping in
        POSITION 115 100
        SET id 318
        SET namy itshostname_ping_331

NODE Coresw1_TEM
        LABEL {node:this:bandwidth_in:%.1f}C
        OVERLIBGRAPH /graph_image.php?local_graph_id={node:this:id}&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        TARGET gauge:/var/www/html/rra/{node:this:namy}.rrd:cisco_tempcur:-
        USESCALE ping in
        POSITION 115 120
        SET id 164
        SET namy itshostname_cisco_tempcur_169


You'll find it silly as I'm using "id" and "namy" when I'm only using the variable once. However you'll see that all except the last 3 lines are variables that will change If I need to reuse the code for different nodes, making it easy to copy and past and adjust the parameters. I made in excel a macro script that is generating the large config file by adjusting these variables... I know IT people are lazy people by nature

The result looks like this:



example.png
 Description:
example of submitted code
 Filesize:  2.3 KB
 Viewed:  1721 Time(s)

example.png


Back to top
Goatmilker



Joined: 08 May 2007
Posts: 22
Location: Brussels

PostPosted: Thu Jun 28, 2007 5:41 am    Post subject: Reply with quote

Howie wrote:
That's true. The actual 'bandwidth data' for the TARGET is still the state of the host (up, down, recovering etc). You won't be able to use any of the new variables with a SCALE.


What I suspected... Fair enough, a nice white label will do the trick.

Again, thanks a lot for this modification... I wish I knew more how weathermap works, I would help you with it. Never the less I'm glad to be part of the "happy motivated users"
Back to top
StarLog
Cacti User


Joined: 02 Jun 2007
Posts: 128

PostPosted: Thu Jun 28, 2007 3:14 pm    Post subject: Reply with quote

nice work... thanks for the examples..

I started working with curves today.. That was hairy.
Back to top
NetAdmin
Cacti User


Joined: 30 Aug 2006
Posts: 69

PostPosted: Thu Jul 12, 2007 10:39 am    Post subject: Not displaying the appropriate color from scale. Reply with quote

rfxn wrote:
Here is the final version of my in production weathermap. Note that the pktloss values use a custom scale such that 0-1% is green and 1-100% is red (no tolerance for any pkt loss on the network). The latency uses a scale that alternates over 3 colors, green for 0-6ms, yellow for 7 to 10ms and red for 10ms and higher (i had to play with the maxvalue and scale percentages to ge this just right). Then the cpu scale is straight forward using 3 colors as well - green, yellow red - 0-25, 25-50 and 50-100 respective. Likewise of course overlibs and infourls are set on everything, for the gateway to internet link im aggregating the values of the core1 and core2 targets and for the bk-lan link im aggregating the private interface targets for our backup servers.


rfxn, I am attempting to do the same thing that you were successful in doing; however, I am still having difficult getting my ping latency labels to be the appropriate color. This is what my code looks like:
Code:
SCALE latency 1 5   0 240 0
SCALE latency 5 10   240 240 0
SCALE latency 10 100   255 0 0

NODE SomeNode
   LABEL Latency: {node:this:cacti_curtime:%.2f}ms
   LABELFONT 2
   TARGET cactihost:28
   USESCALE latency in
   POSITION 248 324
   MAXVALUE 1000


The results from the above code show a white label on this node which has a latency value of 89ms. If the max value is 1000 (ms), then 89ms should put it between 5 and 10%, which should actually be yellow.

Can anyone advise what I may be doing wrong?
Thanks.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Thu Jul 12, 2007 11:10 am    Post subject: Re: Not displaying the appropriate color from scale. Reply with quote

NetAdmin wrote:

Can anyone advise what I may be doing wrong?
Thanks.


You aren't actually measuring latency The cactihost:28 returns the Cacti host state as a number from 0-4. Obviously, with a MAXVALUE of 1000, this is <1%, so you get white.

You can print the value in the label of the node {node:this:cacti_curtime}ms but because it isn't the 'in' or 'out' value of the TARGET, you can't use it to colour the node.

I did think about changing the cactihost: plugin again, so that the 'in' value is the state (as now), and the 'out' value is something else, like the latency. But then someone else will want it to be the availability, so maybe that's not the answer. It seems a waste to return the same state value in both sides though.
Back to top
NetAdmin
Cacti User


Joined: 30 Aug 2006
Posts: 69

PostPosted: Thu Jul 12, 2007 11:15 am    Post subject: Reply with quote

Ah, ok, that makes sense.. Can I ask how it is that rfxn might have written this? The resulting image that he posted is identical to what I'm trying to do.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Thu Jul 12, 2007 11:22 am    Post subject: Reply with quote

NetAdmin wrote:
Ah, ok, that makes sense.. Can I ask how it is that rfxn might have written this? The resulting image that he posted is identical to what I'm trying to do.


Yup. They are using a different TARGET:
Code:

        TARGET gauge:/var/www/html/rra/{node:this:namy}.rrd:ping:-


As long as you are already graphing latency with Cacti (so that you have an rrd of that data), then you can use the gauge: data source plugin to read that rrd. Don't forget to specify the DS names for the rrd file, because the defaults (traffic_in/traffic_out) almost certainly won't be correct.

You were on the right track with the maxvalue and scale stuff, it's just you had the wrong data.
Back to top
NetAdmin
Cacti User


Joined: 30 Aug 2006
Posts: 69

PostPosted: Thu Jul 12, 2007 11:53 am    Post subject: Reply with quote

Would this work?

Code:
TARGET gauge:c:\cacti\rra\{node:this:lat}.rrd:ping:-
SET lat myrouter_avg_299


It's now returning a grey color, or no value at all, so I'm guessing that I do not have the proper format for the path to the rra.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Thu Jul 12, 2007 12:29 pm    Post subject: Reply with quote

NetAdmin wrote:
Would this work?

Code:
TARGET gauge:c:\cacti\rra\{node:this:lat}.rrd:ping:-
SET lat myrouter_avg_299


It's now returning a grey color, or no value at all, so I'm guessing that I do not have the proper format for the path to the rra.


That looks like it should work. Have a look for errors in your Cacti log file. My guess would be that the DS name isn't 'ping', but there should be an error for anything where it is failing to read data (incorrect file, doesn't exist, wrong DS names, etc).

You don't need to use the SET stuff if you don't want to, by the way - I just copied the example from above. A simple filename works as well
Back to top
NetAdmin
Cacti User


Joined: 30 Aug 2006
Posts: 69

PostPosted: Thu Jul 12, 2007 12:38 pm    Post subject: Reply with quote

Yup, that was it.. The DS name is "avg" and not "ping". It works like a charm.

Thanks a lot Howie!
Back to top
rfxn



Joined: 08 Jun 2007
Posts: 12

PostPosted: Wed Jul 25, 2007 11:36 pm    Post subject: Reply with quote

I am sorry that I did not get an opportunity to reply to this thread sooner, been consumed in other projects and trying to move.

Here below is the complete source of the weathermap I have in production except that URL's have been cleaned of the actual address.

Code:

WIDTH 950
HEIGHT 710
HTMLSTYLE overlib


KEYFONT 2
TITLE Internal Network Conditions
HTMLOUTPUTFILE localnet_core.html
IMAGEOUTPUTFILE localnet_core.png
TIMEPOS 0 0 Updated: %b %d %Y %H:%M:%S

KEYPOS DEFAULT 9 11 Traffic Load
KEYTEXTCOLOR 0 0 0
KEYBGCOLOR 255 255 255
BGCOLOR 255 255 255
TITLECOLOR 0 0 0
TIMECOLOR 0 0 0
SCALE DEFAULT 1 10   140 0 255
SCALE DEFAULT 10 20   32 32 255
SCALE DEFAULT 20 35   0 192 255
SCALE DEFAULT 35 50   0 240 0
SCALE DEFAULT 50 65   240 240 0
SCALE DEFAULT 65 80   255 192 0
SCALE DEFAULT 80 100   255 0 0

SCALE lat 0 0.1   255 0 0
SCALE lat 0.1 3   0 255 0
SCALE lat 3 5   240 240 0
SCALE lat 5 100   255 0 0

SCALE loss 0 1   0 255 0
SCALE loss 1 100   255 0 0

SCALE cpu 0 25   0 255 0
SCALE cpu 25 50   240 240 0
SCALE cpu 50 100   255 0 0

# End of global section

# DEFAULT definitions:
NODE DEFAULT
        MAXVALUE 100

LINK DEFAULT
        BWLABEL bits
        WIDTH 5
        BANDWIDTH 100M


# End of DEFAULTS section

# Node definitions:
NODE Internet
        LABEL Internet
        ICON images/Cloud-line.png
        POSITION 463 58

NODE waveform.core
        LABEL Gateway
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=918
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=918&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_router.gif
        LABELOFFSET 0 -30
        POSITION 463 280

NODE gwlat
        LABEL Latency
        POSITION 463 310
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1014
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1014&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE gwlat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/gateway_localnet_com_pktloss_1476.rrd:lat:-
        POSITION gwlat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1014
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1014&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE gwpktloss
        LABEL PktLoss
        POSITION gwlat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1014
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1014&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE gwpktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/gateway_localnet_com_pktloss_1476.rrd:pktloss:-
        POSITION gwpktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1014
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1014&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE netdrop1
        LABEL Core1
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=177
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=177&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_router.gif
        LABELOFFSET 0 -30
        POSITION 104 280

NODE c1cpu
        LABEL CPU:
        POSITION netdrop1 -15 -50
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1022
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1022&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c1cpu-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/core_swilocalnet_1_5min_cpu_1488.rrd:5min_cpu:-
        POSITION c1cpu 30 0
        USESCALE cpu
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1022
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1022&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c1lat
        LABEL Latency
        POSITION 50 250
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1012
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1012&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c1lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/core_swilocalnet_1_pktloss_1474.rrd:lat:-
        POSITION c1lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1012
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1012&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c1pktloss
        LABEL PktLoss
        POSITION c1lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1012
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1012&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c1pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/core_swilocalnet_1_pktloss_1474.rrd:pktloss:-
        POSITION c1pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1012
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1012&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE netdrop2
        LABEL Core2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=203
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=203&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_router.gif
        LABELOFFSET 0 -30
        POSITION 820 280

NODE c2cpu
        LABEL CPU:
        POSITION netdrop2 -15 -50
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1023
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1023&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c2cpu-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_5min_cpu_1489.rrd:5min_cpu:-
        POSITION c2cpu 30 0
        USESCALE cpu
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1023
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1023&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c2lat
        LABEL Latency
        POSITION 874 250
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1013
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1013&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c2lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_pktloss_1475.rrd:lat:-
        POSITION c2lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1013
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1013&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c2pktloss
        LABEL PktLoss
        POSITION c2lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1013
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1013&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE c2pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_pktloss_1475.rrd:pktloss:-
        POSITION c2pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1013
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1013&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE distro7
        LABEL Distro7
        INFOURL /cacti/graph.php?rra_id=all&local_graph_id=170
        OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=170&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_swilocalnet.gif
        LABELOFFSET 0 30
        POSITION 317 490
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=170
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=170&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d7lat
        LABEL Latency
        POSITION 317 540
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=2050
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=2050&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d7lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro7_pktloss_2563.rrd:lat:-
        POSITION d7lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=2050
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=2050&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d7pktloss
        LABEL PktLoss
        POSITION d7lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=2050
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=2050&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d7pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro7_pktloss_2563.rrd:pktloss:-
        POSITION d7pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=2050
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=2050&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE distro6
        LABEL Distro6
        INFOURL /cacti/graph.php?rra_id=all&local_graph_id=185
        OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=185&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_swilocalnet.gif
        LABELOFFSET 0 30
        POSITION 463 490
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=185
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=185&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d6lat
        LABEL Latency
        POSITION 463 540
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1815
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1815&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d6lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_6_pktloss_2285.rrd:lat:-
        POSITION d6lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1815
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1815&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d6pktloss
        LABEL PktLoss
        POSITION d6lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1815
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1815&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d6pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_6_pktloss_2285.rrd:pktloss:-
        POSITION d6pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1815
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1815&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE distro4
        LABEL Distro4
        INFOURL /cacti/graph.php?rra_id=all&local_graph_id=183
        OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=183&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_swilocalnet.gif
        LABELOFFSET 0 30
        POSITION 901 490
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1018
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1018&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d4lat
        LABEL Latency
        POSITION 901 540
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1018
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1018&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d4lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_4_pktloss_1480.rrd:lat:-
        POSITION d4lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1018
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1018&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d4pktloss
        LABEL PktLoss
        POSITION d4lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1018
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1018&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d4pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_4_pktloss_1480.rrd:pktloss:-
        POSITION d4pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1018
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1018&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE distro3
        LABEL Distro3
        INFOURL /cacti/graph.php?rra_id=all&local_graph_id=181
        OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=181&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_swilocalnet.gif
        LABELOFFSET 0 30
        POSITION 755 490

NODE d3lat
        LABEL Latency
        POSITION 755 540
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1017
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1017&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d3lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_3_pktloss_1479.rrd:lat:-
        POSITION d3lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1017
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1017&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d3pktloss
        LABEL PktLoss
        POSITION d3lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1017
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1017&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d3pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_3_pktloss_1479.rrd:pktloss:-
        POSITION d3pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1017
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1017&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE distro2
        LABEL Distro2
        INFOURL /cacti//graph.php?rra_id=all&local_graph_id=180
        OVERLIBGRAPH /cacti//graph_image.php?local_graph_id=180&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_swilocalnet.gif
        LABELOFFSET 0 30
        POSITION 609 490

NODE d2lat
        LABEL Latency
        POSITION 609 540
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1016
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1016&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d2lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_2_pktloss_1478.rrd:lat:-
        POSITION d2lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1016
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1016&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d2pktloss
        LABEL PktLoss
        POSITION d2lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1016
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1016&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d2pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_2_pktloss_1478.rrd:pktloss:-
        POSITION d2pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1016
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1016&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE distro1
        LABEL Distro1
        INFOURL /cacti/graph.php?rra_id=all&local_graph_id=168
        OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=168&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_swilocalnet.gif
        LABELOFFSET 0 30
        POSITION 178 490

NODE d1lat
        LABEL Latency
        POSITION 178 540
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1015
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1015&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d1lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_1_pktloss_1477.rrd:lat:-
        POSITION d1lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1015
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1015&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d1pktloss
        LABEL PktLoss
        POSITION d1lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1015
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1015&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d1pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_1_pktloss_1477.rrd:pktloss:-
        POSITION d1pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1015
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1015&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE distro5
        LABEL Distro5
        INFOURL /cacti/graph.php?rra_id=all&local_graph_id=158
        OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=158&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/my_swilocalnet.gif
        LABELOFFSET 0 30
        POSITION 32 490

NODE d5lat
        LABEL Latency
        POSITION 32 540
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1019
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1019&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d5lat-data
        LABEL {node:this:bandwidth_in:%.1f}ms
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_5_pktloss_1481.rrd:lat:-
        POSITION d5lat 0 20
        MAXVALUE 200
        LABELFONT 2
        USESCALE lat
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1019
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1019&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d5pktloss
        LABEL PktLoss
        POSITION d5lat 0 40
        LABELFONT 2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1019
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1019&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE d5pktloss-data
        LABEL {node:this:bandwidth_in:%.1f}%
        TARGET gauge:/usr/local/apache/htdocs/cacti/rra/distro_swilocalnet_5_pktloss_1481.rrd:pktloss:-
        POSITION d5pktloss 0 20
        MAXVALUE 100
        LABELFONT 2
        USESCALE loss
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=1019
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=1019&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

NODE naslan
        LABEL BK-LAN
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=931
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=931&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        ICON images/Cloud-Filled.png
        POSITION 325 339

# End of NODE section

# Link definitions:
LINK netdrop2-distro2
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=180
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=180&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        BWLABELPOS 75 32
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_traffic_in_196.rrd
        NODES netdrop2 distro2

LINK netdrop2-distro6
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=185
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=185&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        BWLABELPOS 75 32
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_traffic_in_201.rrd
        NODES netdrop2 distro6

LINK netdrop2-waveform.core
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=203
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=203&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_traffic_in_219.rrd
        WIDTH 6
        NODES netdrop2 waveform.core

LINK netdrop1-waveform.core
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=177
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=177&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_1_traffic_in_193.rrd
        WIDTH 6
        NODES netdrop1 waveform.core

LINK netdrop2-distro3
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=181
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=181&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        BWLABELPOS 75 32
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_traffic_in_197.rrd
        NODES netdrop2 distro3

LINK netdrop2-distro4
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=183
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=183&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        BWLABELPOS 75 32
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_traffic_in_199.rrd
        NODES netdrop2 distro4

LINK netdrop1-distro5
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=158
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=158&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        BWLABELPOS 75 32
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_1_traffic_in_174.rrd
        NODES netdrop1 distro5

LINK netdrop1-distro1
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=168
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=168&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        BWLABELPOS 75 32
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_1_traffic_in_184.rrd
        NODES netdrop1 distro1

LINK netdrop1-distro7
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=170
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=170&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        BWLABELPOS 75 32
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_1_traffic_in_186.rrd
        NODES netdrop1 distro7

LINK waveform.core-Internet
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=918
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=918&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        BWLABELPOS 72 25
        TARGET /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_1_traffic_in_193.rrd /usr/local/apache/htdocs/cacti/rra/core_swilocalnet_2_traffic_in_219.rrd
        WIDTH 6
        NODES waveform.core Internet
        BANDWIDTH 200M

LINK naslan-distro6
        INFOURL http://cacti.somehost.com/cacti/graph.php?rra_id=all&local_graph_id=931
        OVERLIBGRAPH http://cacti.somehost.com/cacti/graph_image.php?local_graph_id=931&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
        TARGET /usr/local/apache/htdocs/cacti/rra/backup2_traffic_in_1387.rrd /usr/local/apache/htdocs/cacti/rra/backup3_traffic_in_1375.rrd
        NODES naslan distro6
        BANDWIDTH 200M
        BWLABELPOS 75 28

# End of LINK section
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group