Cacti weathermap question

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
HuaweiVSCisco
Posts: 29
Joined: Mon Jun 16, 2014 8:58 am

Cacti weathermap question

Post by HuaweiVSCisco »

Hi

I was wondering if it was possible to have a device on weathermap:

1) that outputs the percentage of utilisation of equipment on itself: example if the cpu usage of a device is 50% then it will show up as 50% on the device instead of having a graph. Like it shows when u create "links".

2) Can the EQUIPMENT change color depending on ther service status on the node? example: if cpu usage is going above limit then the equipment picture turns red, but if it is still below limit then it is green.

thanks

HuaweiVSCisco

PS: been looking around the site and I came across this thread http://forums.cacti.net/viewtopic.php?f ... 3&start=90


http://weathermap.ovh.net/routers-p19 if you check this link you can see that the drawings are done within cacti itself....and the drawings can change color...anyone have an idea on how to do this?
http://weathermap.ovh.net/hg

is there a manual where I can get more info on how to do this please?
HuaweiVSCisco
Posts: 29
Joined: Mon Jun 16, 2014 8:58 am

Re: Cacti weathermap question

Post by HuaweiVSCisco »

Just wondering if you start with the "node' box and work your way up changing the dimensions etc....??

if anyone can link me a good manual it would really help.

thanks
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cacti weathermap question

Post by Howie »

http://www.network-weathermap.com/artic ... -data.html

Try that, to get the idea. The 'session count' node is what you want, I think.
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!)
HuaweiVSCisco
Posts: 29
Joined: Mon Jun 16, 2014 8:58 am

Re: Cacti weathermap question

Post by HuaweiVSCisco »

Howie wrote:http://www.network-weathermap.com/artic ... -data.html

Try that, to get the idea. The 'session count' node is what you want, I think.

Thanks I'm gonna check it out so far its very interesting....just one more question.. about the link that I posted in first post, am I right that those drawings had the "node" box modified or do they use imported jpg/png/gif drawings?
Last edited by HuaweiVSCisco on Wed Jun 25, 2014 1:11 am, edited 2 times in total.
HuaweiVSCisco
Posts: 29
Joined: Mon Jun 16, 2014 8:58 am

Re: Cacti weathermap question

Post by HuaweiVSCisco »

sry double post
HuaweiVSCisco
Posts: 29
Joined: Mon Jun 16, 2014 8:58 am

Re: Cacti weathermap question

Post by HuaweiVSCisco »

I keep getting trouble make the node change color depending on the overall total bandwidth ( reference to the traffic load) and also this map (http://weathermap.ovh.net/roubaix-5) , here is my configuration:

NODE Mikrotik
LABEL Mikrotik
LABELOUTLINECOLOR none
LABELBGCOLOR none
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=40
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=40
ICON 100 100 images/Router.png
TARGET gauge:/var/lib/cacti/rra/mikrotik_traffic_in_12.rrd:traffic_in:traffic_out
USESCALE up in percent
POSITION 760 270

IIs there something that I am missing?
HuaweiVSCisco
Posts: 29
Joined: Mon Jun 16, 2014 8:58 am

Re: Cacti weathermap question

Post by HuaweiVSCisco »

HuaweiVSCisco wrote:I keep getting trouble make the node change color depending on the overall total bandwidth ( reference to the traffic load) and also this map (http://weathermap.ovh.net/roubaix-5) , here is my configuration:

NODE Mikrotik
LABEL Mikrotik
LABELOUTLINECOLOR none
LABELBGCOLOR none
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=40
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=40
ICON 100 100 images/Router.png
TARGET gauge:/var/lib/cacti/rra/mikrotik_traffic_in_12.rrd:traffic_in:traffic_out
USESCALE up in percent
POSITION 760 270

IIs there something that I am missing?
lol it works.......

for status I will refer to changing the img......

1 question why does the command USESCALE DEFAULT up not work for me? it removes the command when i press save...then I have to trype it again.

When I disconnect the router the drawing becomes grey again...and when I plug it back it becomes blue..but after a long time how do I reduce this time frame also the time frame on the links is there anyway to reduce it?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cacti weathermap question

Post by Howie »

HuaweiVSCisco wrote:
HuaweiVSCisco wrote:I keep getting trouble make the node change color depending on the overall total bandwidth ( reference to the traffic load) and also this map (http://weathermap.ovh.net/roubaix-5) , here is my configuration:

NODE Mikrotik
LABEL Mikrotik
LABELOUTLINECOLOR none
LABELBGCOLOR none
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=40
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=40
ICON 100 100 images/Router.png
TARGET gauge:/var/lib/cacti/rra/mikrotik_traffic_in_12.rrd:traffic_in:traffic_out
USESCALE up in percent
POSITION 760 270

IIs there something that I am missing?
lol it works.......

for status I will refer to changing the img......

1 question why does the command USESCALE DEFAULT up not work for me? it removes the command when i press save...then I have to trype it again.

When I disconnect the router the drawing becomes grey again...and when I plug it back it becomes blue..but after a long time how do I reduce this time frame also the time frame on the links is there anyway to reduce it?
USESCALE DEFAULT is the default setting, so it doesn't save it.

The host state comes from the Cacti poller's host state. The poller only runs every 5 minutes. There is a third state 'recovering' that a host stays in for 2 polls before it becomes 'up' again.
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!)
HuaweiVSCisco
Posts: 29
Joined: Mon Jun 16, 2014 8:58 am

Re: Cacti weathermap question

Post by HuaweiVSCisco »

"USESCALE DEFAULT is the default setting, so it doesn't save it.

The host state comes from the Cacti poller's host state. The poller only runs every 5 minutes. There is a third state 'recovering' that a host stays in for 2 polls before it becomes 'up' again."

I found that in the settings part that the "Poller Interval" can be changed to 1min..what disadvantes does this bring to the equipment if cacti is pulling updates on the links and equipment every minute, does this weigh on the processor of the equipment?...whats the "Cron Interval" do?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Cacti weathermap question

Post by Howie »

That isn't really Weathermap. It's Cacti. But... the main disadvantage is that now your poller must finish in 1 minute. As you add more devices, this means you have to keep the poller running almost all the time, and it is much more sensitive to latency in your network (if something takes 30 seconds to respond or timeout, it can cause problems with the polling for everything else).
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests