Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you're making?
Thanks,
Adam.
I wouldn't say we've got many complex weathermaps. At my former employer, we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and included it below.
I change the text on the hovergraph to present the device and interface info, plus I flip the graph rrd to be the one relevant to that interface (so yes, the in/out flip based on which end of the link you are looking at). We also track IP SLA metrics on the weathermap with a narrow link that runs next to the data link. We apply different scales for local (within a datacentre), interstate and cross-country so that the relevant changes in latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some sanitised versions out of my former workplace...
Cheers,
Michael
-----------
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600 OUTOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600 ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET ../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600 INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:- gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium observium@observium.org wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks, Adam. _______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Michael,
Showing IP SLA sounds interesting - would it be possible to share an example of what it looks like via PHP Weathermap?
Many thanks
Darren
On Wed, 9 Dec 2020 at 20:49, Michael via observium observium@observium.org wrote:
I wouldn't say we've got many complex weathermaps. At my former employer, we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and included it below.
I change the text on the hovergraph to present the device and interface info, plus I flip the graph rrd to be the one relevant to that interface (so yes, the in/out flip based on which end of the link you are looking at). We also track IP SLA metrics on the weathermap with a narrow link that runs next to the data link. We apply different scales for local (within a datacentre), interstate and cross-country so that the relevant changes in latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some sanitised versions out of my former workplace...
Cheers,
Michael
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600 OUTOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600 ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET ../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600 INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:- gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org> wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks, Adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Darren,
(Attached)
I haven't got any prod links that are pushing their sla thresholds right now, so here's a pre-prod one that is most likely just the control plane having a slow moment running the sla test (the link is otherwise idle and a local patch within the dc).
If you squint hard enough, you can see the colour difference as it transitions towards orange/red. We use gradual colours in the scales, not hard steps.
Cheers,
Michael
On December 10, 2020 8:28:11 AM GMT+11:00, "Storer, Darren" darren.storer@gmail.com wrote:
Hi Michael,
Showing IP SLA sounds interesting - would it be possible to share an example of what it looks like via PHP Weathermap?
Many thanks
Darren
On Wed, 9 Dec 2020 at 20:49, Michael via observium observium@observium.org wrote:
I wouldn't say we've got many complex weathermaps. At my former
employer,
we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and
included it
below.
I change the text on the hovergraph to present the device and
interface
info, plus I flip the graph rrd to be the one relevant to that
interface
(so yes, the in/out flip based on which end of the link you are
looking
at). We also track IP SLA metrics on the weathermap with a narrow
link that
runs next to the data link. We apply different scales for local
(within a
datacentre), interstate and cross-country so that the relevant
changes in
latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some
sanitised
versions out of my former workplace...
Cheers,
Michael
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600
OUTOVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600
ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET
../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600
INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET
gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:-
gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org> wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks, Adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi, Michael, thanks. I squinted real hard but could not differentiate the color difference. :) By the way, in the config, which line is doing the flipping? I could not achieve it . Many thanks, Shekhar
On Thu, Dec 10, 2020 at 3:45 AM Michael via observium < observium@observium.org> wrote:
Hi Darren,
(Attached)
I haven't got any prod links that are pushing their sla thresholds right now, so here's a pre-prod one that is most likely just the control plane having a slow moment running the sla test (the link is otherwise idle and a local patch within the dc).
If you squint hard enough, you can see the colour difference as it transitions towards orange/red. We use gradual colours in the scales, not hard steps.
Cheers,
Michael
On December 10, 2020 8:28:11 AM GMT+11:00, "Storer, Darren" < darren.storer@gmail.com> wrote:
Hi Michael,
Showing IP SLA sounds interesting - would it be possible to share an example of what it looks like via PHP Weathermap?
Many thanks
Darren
On Wed, 9 Dec 2020 at 20:49, Michael via observium observium@observium.org wrote:
I wouldn't say we've got many complex weathermaps. At my former
employer,
we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and
included it
below.
I change the text on the hovergraph to present the device and
interface
info, plus I flip the graph rrd to be the one relevant to that
interface
(so yes, the in/out flip based on which end of the link you are
looking
at). We also track IP SLA metrics on the weathermap with a narrow
link that
runs next to the data link. We apply different scales for local
(within a
datacentre), interstate and cross-country so that the relevant
changes in
latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some
sanitised
versions out of my former workplace...
Cheers,
Michael
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600
OUTOVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600
ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET
../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600
INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET
gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:-
gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org> wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks, Adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
The link with 1.91(ms) is ever so slightly a different shade of green compared to the 1ms ones. It's most obvious at the midway point of the link arrow.
As for the flipping, it's done by the INOVERLIBGRAPH and OUTOVERLIBGRAPH lines. It will show you a different graph depending on which end of the link you are hovering on. In my example, one graph is id 3877 and the other is 3778 (but I did just notice that I made a typo on "a_end" where it should say otherrouter... Meh.).
In my deployment, I make it so that the graph displayed is relative to that closest port to the hover, plus I also flip the diplayed description.
Michael
On 10 Dec 2020, at 3:13 pm, Shekhar Basnet sbasnet@deerwalk.com wrote:
Hi, Michael, thanks. I squinted real hard but could not differentiate the color difference. :) By the way, in the config, which line is doing the flipping? I could not achieve it . Many thanks, Shekhar
On Thu, Dec 10, 2020 at 3:45 AM Michael via observium <observium@observium.org mailto:observium@observium.org> wrote: Hi Darren,
(Attached)
I haven't got any prod links that are pushing their sla thresholds right now, so here's a pre-prod one that is most likely just the control plane having a slow moment running the sla test (the link is otherwise idle and a local patch within the dc).
If you squint hard enough, you can see the colour difference as it transitions towards orange/red. We use gradual colours in the scales, not hard steps.
Cheers,
Michael
On December 10, 2020 8:28:11 AM GMT+11:00, "Storer, Darren" <darren.storer@gmail.com mailto:darren.storer@gmail.com> wrote:
Hi Michael,
Showing IP SLA sounds interesting - would it be possible to share an example of what it looks like via PHP Weathermap?
Many thanks
Darren
On Wed, 9 Dec 2020 at 20:49, Michael via observium <observium@observium.org mailto:observium@observium.org> wrote:
I wouldn't say we've got many complex weathermaps. At my former
employer,
we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and
included it
below.
I change the text on the hovergraph to present the device and
interface
info, plus I flip the graph rrd to be the one relevant to that
interface
(so yes, the in/out flip based on which end of the link you are
looking
at). We also track IP SLA metrics on the weathermap with a narrow
link that
runs next to the data link. We apply different scales for local
(within a
datacentre), interstate and cross-country so that the relevant
changes in
latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some
sanitised
versions out of my former workplace...
Cheers,
Michael
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600
OUTOVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600
ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET
../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600
INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET
gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:-
gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org mailto:observium@observium.org> wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks, Adam. _______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
DISCLAIMER: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use or disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. IRS CIRCULAR 230 DISCLOSURE: Any U.S. tax advice contained in this communication (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.(FR08-i203d)
I spotted a clearer colour difference this morning on one sla link. Attached.
On December 10, 2020 4:14:47 PM GMT+11:00, Michael via observium observium@observium.org wrote:
The link with 1.91(ms) is ever so slightly a different shade of green compared to the 1ms ones. It's most obvious at the midway point of the link arrow.
As for the flipping, it's done by the INOVERLIBGRAPH and OUTOVERLIBGRAPH lines. It will show you a different graph depending on which end of the link you are hovering on. In my example, one graph is id 3877 and the other is 3778 (but I did just notice that I made a typo on "a_end" where it should say otherrouter... Meh.).
In my deployment, I make it so that the graph displayed is relative to that closest port to the hover, plus I also flip the diplayed description.
Michael
On 10 Dec 2020, at 3:13 pm, Shekhar Basnet sbasnet@deerwalk.com
wrote:
Hi, Michael, thanks. I squinted real hard but could not differentiate
the color difference. :)
By the way, in the config, which line is doing the flipping? I could
not achieve it .
Many thanks, Shekhar
On Thu, Dec 10, 2020 at 3:45 AM Michael via observium
<observium@observium.org mailto:observium@observium.org> wrote:
Hi Darren,
(Attached)
I haven't got any prod links that are pushing their sla thresholds
right now, so here's a pre-prod one that is most likely just the control plane having a slow moment running the sla test (the link is otherwise idle and a local patch within the dc).
If you squint hard enough, you can see the colour difference as it
transitions towards orange/red. We use gradual colours in the scales, not hard steps.
Cheers,
Michael
On December 10, 2020 8:28:11 AM GMT+11:00, "Storer, Darren"
<darren.storer@gmail.com mailto:darren.storer@gmail.com> wrote:
Hi Michael,
Showing IP SLA sounds interesting - would it be possible to share an example of what it looks like via PHP Weathermap?
Many thanks
Darren
On Wed, 9 Dec 2020 at 20:49, Michael via observium <observium@observium.org mailto:observium@observium.org> wrote:
I wouldn't say we've got many complex weathermaps. At my former
employer,
we had developed a few of them into more complex ones (with a
network
focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and
included it
below.
I change the text on the hovergraph to present the device and
interface
info, plus I flip the graph rrd to be the one relevant to that
interface
(so yes, the in/out flip based on which end of the link you are
looking
at). We also track IP SLA metrics on the weathermap with a narrow
link that
runs next to the data link. We apply different scales for local
(within a
datacentre), interstate and cross-country so that the relevant
changes in
latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some
sanitised
versions out of my former workplace...
Cheers,
Michael
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET
gauge:../../rrd/{node:this:label}/status.rrd:status:-
INFOURL https://observium/device/device={node:this:label}
https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600
OUTOVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600
ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL
/graphs/type=port_bits/id={link:this:a_graph_id}/
TARGET
../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH
/graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600
INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET
gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:-
gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org mailto:observium@observium.org> wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks, Adam. _______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
DISCLAIMER: This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized use or disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. IRS CIRCULAR 230 DISCLOSURE: Any U.S. tax advice contained in this communication (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.(FR08-i203d)
Is this all contained within a single conf file?
Adam.
Sent from BlueMail
On 9 Dec 2020, 20:48, at 20:48, Michael obslist@smarsz.com wrote:
I wouldn't say we've got many complex weathermaps. At my former employer, we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and included it below.
I change the text on the hovergraph to present the device and interface info, plus I flip the graph rrd to be the one relevant to that interface (so yes, the in/out flip based on which end of the link you are looking at). We also track IP SLA metrics on the weathermap with a narrow link that runs next to the data link. We apply different scales for local (within a datacentre), interstate and cross-country so that the relevant changes in latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some sanitised versions out of my former workplace...
Cheers,
Michael
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600 OUTOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600 ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET ../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600 INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:- gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium
observium@observium.org wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using
template/include features?
How complex after the weathermaps you’re making?
Thanks, Adam. _______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Yes.
I just create a new conf file for each map that I make. I'm not aware of another way to do it. I think the global directives can only be declared once (such as output filename, map title etc).
I usually end up copying the same base globals for most of the maps and just re-using them. Provides a bit of consistency across them for the next sucker that needs to try and figure it out when I've moved on...
I sometimes go through this thread looking for inspiration of new and intersting ways to try and display things - https://forums.cacti.net/viewtopic.php?t=24433. I've recreated the magnifying glass idea before, which comes in really handy when you have bonds/port-channels and you want to see both the individual interfaces along with the cumulative load.
Was there something that you were specifically after Adam??? It's not often that you post a question out to the list! :D
Cheers,
Michael
On 10 Dec 2020, at 6:15 pm, Adam Armstrong via observium observium@observium.org wrote:
Is this all contained within a single conf file?
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=16117 On 9 Dec 2020, at 20:48, Michael <obslist@smarsz.com mailto:obslist@smarsz.com> wrote: I wouldn't say we've got many complex weathermaps. At my former employer, we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and included it below.
I change the text on the hovergraph to present the device and interface info, plus I flip the graph rrd to be the one relevant to that interface (so yes, the in/out flip based on which end of the link you are looking at). We also track IP SLA metrics on the weathermap with a narrow link that runs next to the data link. We apply different scales for local (within a datacentre), interstate and cross-country so that the relevant changes in latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some sanitised versions out of my former workplace...
Cheers,
Michael
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600 OUTOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600 ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET ../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600 INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:- gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org mailto:observium@observium.org> wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks,
Adam.
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I’m integrating the weathermap code into Observium, since so many people seem to have issues making it work, and it doesn’t look like the WM code is ever really going to change again. The original author re-licensed it as MIT, so we can include it without issues now.
I’ve switched it to pulling configuration from the database, but in the process broken the “include” feature. I assume almost no one uses it, but just checking.
Adam.
From: Michael obslist@smarsz.com Sent: 10 December 2020 07:38 To: Observium observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: Re: [Observium] PHP Weathermap
Yes.
I just create a new conf file for each map that I make. I'm not aware of another way to do it. I think the global directives can only be declared once (such as output filename, map title etc).
I usually end up copying the same base globals for most of the maps and just re-using them. Provides a bit of consistency across them for the next sucker that needs to try and figure it out when I've moved on...
I sometimes go through this thread looking for inspiration of new and intersting ways to try and display things - https://forums.cacti.net/viewtopic.php?t=24433. I've recreated the magnifying glass idea before, which comes in really handy when you have bonds/port-channels and you want to see both the individual interfaces along with the cumulative load.
Was there something that you were specifically after Adam??? It's not often that you post a question out to the list! :D
Cheers,
Michael
On 10 Dec 2020, at 6:15 pm, Adam Armstrong via observium <observium@observium.org mailto:observium@observium.org > wrote:
Is this all contained within a single conf file?
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=16117
On 9 Dec 2020, at 20:48, Michael <obslist@smarsz.com mailto:obslist@smarsz.com > wrote:
I wouldn't say we've got many complex weathermaps. At my former employer, we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and included it below.
I change the text on the hovergraph to present the device and interface info, plus I flip the graph rrd to be the one relevant to that interface (so yes, the in/out flip based on which end of the link you are looking at). We also track IP SLA metrics on the weathermap with a narrow link that runs next to the data link. We apply different scales for local (within a datacentre), interstate and cross-country so that the relevant changes in latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some sanitised versions out of my former workplace...
Cheers,
Michael
-----------
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600 OUTOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600 ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET ../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600 INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:- gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org mailto:observium@observium.org > wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks,
Adam.
_______________________________________________ observium mailing list mailto:observium@observium.org observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I did see the MIT license change just today. I guess this might spawn a number of forks from the 0.98a code as people begin to support/enhance it themselves.
I wasn't aware of the INCLUDE function. From the config reference guide, it doesn't quite sound like it was fully implemented and I'm a bit unsure what to make of "INCULDEd files must contain complete NODE or LINK definitions" in regards to what constitues a complete definition...? Especially since it also states that the INCLUDE must be performed in the global section, prior to any NODES or LINKS. I dunno.
It was added to the code in 0.96b, which a bit of digging places that in ~2009. So it's been there a while now. Maybe I should RTFM a bit more! lol
I edit all of my maps by hand, too, in vi no less! So I'm probably not a good benchmark for such things. :p
On 10 Dec 2020, at 8:33 pm, Adam Armstrong adama@observium.org wrote:
I’m integrating the weathermap code into Observium, since so many people seem to have issues making it work, and it doesn’t look like the WM code is ever really going to change again. The original author re-licensed it as MIT, so we can include it without issues now.
I’ve switched it to pulling configuration from the database, but in the process broken the “include” feature. I assume almost no one uses it, but just checking.
Adam.
From: Michael obslist@smarsz.com Sent: 10 December 2020 07:38 To: Observium observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: Re: [Observium] PHP Weathermap
Yes.
I just create a new conf file for each map that I make. I'm not aware of another way to do it. I think the global directives can only be declared once (such as output filename, map title etc).
I usually end up copying the same base globals for most of the maps and just re-using them. Provides a bit of consistency across them for the next sucker that needs to try and figure it out when I've moved on...
I sometimes go through this thread looking for inspiration of new and intersting ways to try and display things - https://forums.cacti.net/viewtopic.php?t=24433 https://forums.cacti.net/viewtopic.php?t=24433. I've recreated the magnifying glass idea before, which comes in really handy when you have bonds/port-channels and you want to see both the individual interfaces along with the cumulative load.
Was there something that you were specifically after Adam??? It's not often that you post a question out to the list! :D
Cheers,
Michael
On 10 Dec 2020, at 6:15 pm, Adam Armstrong via observium <observium@observium.org mailto:observium@observium.org> wrote:
Is this all contained within a single conf file?
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=16117 On 9 Dec 2020, at 20:48, Michael <obslist@smarsz.com mailto:obslist@smarsz.com> wrote:
I wouldn't say we've got many complex weathermaps. At my former employer, we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and included it below.
I change the text on the hovergraph to present the device and interface info, plus I flip the graph rrd to be the one relevant to that interface (so yes, the in/out flip based on which end of the link you are looking at). We also track IP SLA metrics on the weathermap with a narrow link that runs next to the data link. We apply different scales for local (within a datacentre), interstate and cross-country so that the relevant changes in latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some sanitised versions out of my former workplace...
Cheers,
Michael
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600 OUTOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600 ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET ../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600 INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:- gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org mailto:observium@observium.org> wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks,
Adam.
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I was surprised that it seems very little has changed since I was using it in 2007 :)
I guess no one really uses the include stuff, and it’s safe to just go without it.
The plan is to replace the overlib stuff with Observium mouseovers, and add device mouseovers too.
Adam.
From: Michael obslist@smarsz.com Sent: 10 December 2020 09:57 To: Adam Armstrong adama@observium.org Cc: Observium observium@observium.org Subject: Re: [Observium] PHP Weathermap
I did see the MIT license change just today. I guess this might spawn a number of forks from the 0.98a code as people begin to support/enhance it themselves.
I wasn't aware of the INCLUDE function. From the config reference guide, it doesn't quite sound like it was fully implemented and I'm a bit unsure what to make of "INCULDEd files must contain complete NODE or LINK definitions" in regards to what constitues a complete definition...? Especially since it also states that the INCLUDE must be performed in the global section, prior to any NODES or LINKS. I dunno.
It was added to the code in 0.96b, which a bit of digging places that in ~2009. So it's been there a while now. Maybe I should RTFM a bit more! lol
I edit all of my maps by hand, too, in vi no less! So I'm probably not a good benchmark for such things. :p
On 10 Dec 2020, at 8:33 pm, Adam Armstrong <adama@observium.org mailto:adama@observium.org > wrote:
I’m integrating the weathermap code into Observium, since so many people seem to have issues making it work, and it doesn’t look like the WM code is ever really going to change again. The original author re-licensed it as MIT, so we can include it without issues now.
I’ve switched it to pulling configuration from the database, but in the process broken the “include” feature. I assume almost no one uses it, but just checking.
Adam.
From: Michael <obslist@smarsz.com mailto:obslist@smarsz.com > Sent: 10 December 2020 07:38 To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: Re: [Observium] PHP Weathermap
Yes.
I just create a new conf file for each map that I make. I'm not aware of another way to do it. I think the global directives can only be declared once (such as output filename, map title etc).
I usually end up copying the same base globals for most of the maps and just re-using them. Provides a bit of consistency across them for the next sucker that needs to try and figure it out when I've moved on...
I sometimes go through this thread looking for inspiration of new and intersting ways to try and display things - https://forums.cacti.net/viewtopic.php?t=24433. I've recreated the magnifying glass idea before, which comes in really handy when you have bonds/port-channels and you want to see both the individual interfaces along with the cumulative load.
Was there something that you were specifically after Adam??? It's not often that you post a question out to the list! :D
Cheers,
Michael
On 10 Dec 2020, at 6:15 pm, Adam Armstrong via observium <observium@observium.org mailto:observium@observium.org > wrote:
Is this all contained within a single conf file?
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=16117
On 9 Dec 2020, at 20:48, Michael <obslist@smarsz.com mailto:obslist@smarsz.com > wrote:
I wouldn't say we've got many complex weathermaps. At my former employer, we had developed a few of them into more complex ones (with a network focus, not a device/server focus).
I've extracted an example of what I'm doing with templates and included it below.
I change the text on the hovergraph to present the device and interface info, plus I flip the graph rrd to be the one relevant to that interface (so yes, the in/out flip based on which end of the link you are looking at). We also track IP SLA metrics on the weathermap with a narrow link that runs next to the data link. We apply different scales for local (within a datacentre), interstate and cross-country so that the relevant changes in latency can be correspondingly coloured.
It might give people some ideas. I'll see if I can dig up some sanitised versions out of my former workplace...
Cheers,
Michael
-----------
NODE ROUTER ICON 130 60 round LABELOUTLINECOLOR none USESCALE STATUS TARGET gauge:../../rrd/{node:this:label}/status.rrd:status:- INFOURL https://observium/device/device=%7Bnode:this:label%7D https://observium/device/device=%7Bnode:this:label%7D
LINK DEFAULT ARROWSTYLE compact BWLABEL bits BANDWIDTH 100G BWLABELPOS 70 30 COMMENTFONT 10 COMMENTSTYLE center COMMENTFONTCOLOR contrast INOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:b_graph_id}&type=port_bits&legend=no&from=-21600 OUTOVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:a_graph_id}&type=port_bits&legend=no&from=-21600 ININFOURL /graphs/type=port_bits/id={link:this:b_graph_id}/ OUTINFOURL /graphs/type=port_bits/id={link:this:a_graph_id}/ TARGET ../../rrd/{link:this:a_end}/{link:this:a_rrd}:INOCTETS:OUTOCTETS INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int}
LINK SLA WIDTH 2 BANDWIDTH 100G BWLABELPOS 60 40 OVERLIBGRAPH /graph.php?height=100&width=512&id={link:this:sla_id}&type=sla_echo&legend=no&from=-21600 INFOURL /graphs/type=sla_echo/id={link:this:sla_id}/ TARGET gauge:../../rrd/{link:this:a_end}/{link:this:a_rrd}:rtt:- gauge:../../rrd/{link:this:b_end}/{link:this:b_rrd}:-:rtt INOVERLIBCAPTION {link:this:b_end} {link:this:b_int} OUTOVERLIBCAPTION {link:this:a_end} {link:this:a_int} USESCALE LOCAL absolute
################################ #### NODES #### ################################ NODE hy_myrouter TEMPLATE ROUTER LABEL myrouter POSITION hy_otherrouter 240 0
################################ #### DIRECT LINKS #### ################################ NK data_hy_otherrouter_myrouter TEMPLATE NATIVE SET a_graph_id 3877 SET a_end myrouter SET a_int Hu0/0/2/0 SET a_rrd port-122.rrd SET b_graph_id 3778 SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd port-98.rrd NODES hy_otherrouter:60:0 hy_myrouter:-60:0
################################ #### SLA LINKS #### ################################ LINK sla_hy_otherrouter_hy_myrouter TEMPLATE SLA SET sla_id 82 SET a_end otherrouter SET a_int Hu0/0/2/0 SET a_rrd sla-cisco-rttmon-mib-2.rrd SET b_end myrouter SET b_int Hu0/0/2/0 SET b_rrd sla-cisco-rttmon-mib-1.rrd NODES hy_otherrouter:60:-5 hy_myrouter:-60:-5
On 10 Dec 2020, at 4:49 am, Adam Armstrong via observium < observium@observium.org mailto:observium@observium.org > wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks,
Adam.
_______________________________________________ observium mailing list mailto:observium@observium.org observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
We used it in the past but couldn't get it to work on the current version. Highly appreciating if Observium would had PHP Weathermap or similar functionality implemented
cody
On 2020-12-09 18:49, Adam Armstrong via observium wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you're making?
Thanks,
Adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
We use weathermap with about 7 or 8 maps currently. I'd love to see it integrated since there are security issues with it as it is right now. We ended up blocking weathermaps from external access since it doesn't require any kind of authentication and anyone who knows/guesses the URL for one can see it.
-----Original Message----- From: observium observium-bounces@observium.org On Behalf Of cody via observium Sent: Thursday, December 10, 2020 4:24 AM To: Observium observium@observium.org Cc: cody@mail-server.cc Subject: Re: [Observium] PHP Weathermap
WARNING This email originated from outside of Exegy. DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe.
We used it in the past but couldn't get it to work on the current version. Highly appreciating if Observium would had PHP Weathermap or similar functionality implemented
cody
On 2020-12-09 18:49, Adam Armstrong via observium wrote:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you're making?
Thanks,
Adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
________________________________
This e-mail and any documents accompanying it may contain legally privileged and/or confidential information belonging to Exegy, Inc. Such information may be protected from disclosure by law. The information is intended for use by only the addressee. If you are not the intended recipient, you are hereby notified that any disclosure or use of the information is strictly prohibited. If you have received this e-mail in error, please immediately contact the sender by e-mail or phone regarding instructions for return or destruction and do not use or disclose the content to others.
I am planning to use Weathermap for my 4-500 sits. Mainly to show topologi and link status. But I have other more pressing issues, that I need to focus on.
What is the status on current topology engine used? That uses the LLDP.
ons. 9. des. 2020, 18:49 skrev Adam Armstrong via observium < observium@observium.org>:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks,
Adam. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Dear lord, making weathermaps for hundreds of sites would be painful.
The port maps we generate are made with graphviz, but it doesn’t make very useful diagrams when you have more than a handful of devices.
The graphviz stuff was actually one of the first features I created a very long time ago, but they’ve always been almost useless. That’s why we don’t expose the full map and only use the “port map” thing.
Adam.
From: observium observium-bounces@observium.org On Behalf Of Torstein Eide via observium Sent: 12 December 2020 19:21 To: Observium observium@observium.org Cc: Torstein Eide torsteine@gmail.com Subject: Re: [Observium] PHP Weathermap
I am planning to use Weathermap for my 4-500 sits.
Mainly to show topologi and link status. But I have other more pressing issues, that I need to focus on.
What is the status on current topology engine used? That uses the LLDP.
ons. 9. des. 2020, 18:49 skrev Adam Armstrong via observium <observium@observium.org mailto:observium@observium.org >:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks,
Adam.
_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Yepp, but at some point it needs to be done. Need to help my on site personell.
What other options do I have?
lør. 12. des. 2020, 20:50 skrev Adam Armstrong via observium < observium@observium.org>:
Dear lord, making weathermaps for hundreds of sites would be painful.
The port maps we generate are made with graphviz, but it doesn’t make very useful diagrams when you have more than a handful of devices.
The graphviz stuff was actually one of the first features I created a very long time ago, but they’ve always been almost useless. That’s why we don’t expose the full map and only use the “port map” thing.
Adam.
*From:* observium observium-bounces@observium.org *On Behalf Of *Torstein Eide via observium *Sent:* 12 December 2020 19:21 *To:* Observium observium@observium.org *Cc:* Torstein Eide torsteine@gmail.com *Subject:* Re: [Observium] PHP Weathermap
I am planning to use Weathermap for my 4-500 sits.
Mainly to show topologi and link status. But I have other more pressing issues, that I need to focus on.
What is the status on current topology engine used? That uses the LLDP.
ons. 9. des. 2020, 18:49 skrev Adam Armstrong via observium < observium@observium.org>:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks,
Adam.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I make light use of templates to set some defaults, nothing as cool as Michael's. May have to up my hover text game now :)
I just build maps as needed, mainly ones to cover general topology and infrastructure, sometimes I add clients to them for quick overviews. It’s a hard problem to do auto layout for that kind of thing in a meaningful fashion. Something a little more interactive and flexible than the available weathermap editor would be nice though (html5 interactive instead of new cgi call interactive).
-Darrell
On Dec 12, 2020, at 2:57 PM, Torstein Eide via observium observium@observium.org wrote:
Yepp, but at some point it needs to be done. Need to help my on site personell.
What other options do I have?
lør. 12. des. 2020, 20:50 skrev Adam Armstrong via observium <observium@observium.org mailto:observium@observium.org>: Dear lord, making weathermaps for hundreds of sites would be painful.
The port maps we generate are made with graphviz, but it doesn’t make very useful diagrams when you have more than a handful of devices.
The graphviz stuff was actually one of the first features I created a very long time ago, but they’ve always been almost useless. That’s why we don’t expose the full map and only use the “port map” thing.
Adam.
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org> On Behalf Of Torstein Eide via observium Sent: 12 December 2020 19:21 To: Observium <observium@observium.org mailto:observium@observium.org> Cc: Torstein Eide <torsteine@gmail.com mailto:torsteine@gmail.com> Subject: Re: [Observium] PHP Weathermap
I am planning to use Weathermap for my 4-500 sits.
Mainly to show topologi and link status. But I have other more pressing issues, that I need to focus on.
What is the status on current topology engine used? That uses the LLDP.
ons. 9. des. 2020, 18:49 skrev Adam Armstrong via observium <observium@observium.org mailto:observium@observium.org>:
Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks,
Adam.
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium_______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
I do automatic layout using graphviz. For the backbone, I have to constrain the node positions more because I want a particular structure, but I use graphviz to layout the edges to minimize overlaps.
For my metro/DC views, I just use graphviz to layout the whole thing, because I only am concerned about a logical view. It mostly works. The tricky thing is converting the information in Observium into a usable graph. You have to be pretty clean data to pick up all the links properly. For example, I am in the middle of deploying a replacement device for an LSR and it has configuration for all the backbone interfaces we are going to move. Now you have 2 ends of a circuit turning up in Observium that are duplicated, so you have to deal with a bunch of edge cases.
________________________________ From: observium observium-bounces@observium.org on behalf of Darrell Budic via observium observium@observium.org Sent: Monday, December 14, 2020 9:10:15 AM To: Observium Cc: Darrell Budic Subject: Re: [Observium] PHP Weathermap
I make light use of templates to set some defaults, nothing as cool as Michael's. May have to up my hover text game now :)
I just build maps as needed, mainly ones to cover general topology and infrastructure, sometimes I add clients to them for quick overviews. It’s a hard problem to do auto layout for that kind of thing in a meaningful fashion. Something a little more interactive and flexible than the available weathermap editor would be nice though (html5 interactive instead of new cgi call interactive).
-Darrell
On Dec 12, 2020, at 2:57 PM, Torstein Eide via observium <observium@observium.orgmailto:observium@observium.org> wrote:
Yepp, but at some point it needs to be done. Need to help my on site personell.
What other options do I have?
lør. 12. des. 2020, 20:50 skrev Adam Armstrong via observium <observium@observium.orgmailto:observium@observium.org>: Dear lord, making weathermaps for hundreds of sites would be painful.
The port maps we generate are made with graphviz, but it doesn’t make very useful diagrams when you have more than a handful of devices.
The graphviz stuff was actually one of the first features I created a very long time ago, but they’ve always been almost useless. That’s why we don’t expose the full map and only use the “port map” thing.
Adam.
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> On Behalf Of Torstein Eide via observium Sent: 12 December 2020 19:21 To: Observium <observium@observium.orgmailto:observium@observium.org> Cc: Torstein Eide <torsteine@gmail.commailto:torsteine@gmail.com> Subject: Re: [Observium] PHP Weathermap
I am planning to use Weathermap for my 4-500 sits. Mainly to show topologi and link status. But I have other more pressing issues, that I need to focus on.
What is the status on current topology engine used? That uses the LLDP.
ons. 9. des. 2020, 18:49 skrev Adam Armstrong via observium <observium@observium.orgmailto:observium@observium.org>: Hi Guys,
For those of you using PHP Weathermap, how many of you are using template/include features?
How complex after the weathermaps you’re making?
Thanks, Adam. _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (9)
-
Adam Armstrong
-
cody@mail-server.cc
-
Darrell Budic
-
Hamilton, Kent
-
Michael
-
Milton Ngan
-
Shekhar Basnet
-
Storer, Darren
-
Torstein Eide