Discussion:
[Observium] Using PHP Weathermap with Observium
Markus Klock
2014-07-15 19:17:17 UTC
Permalink
Hello!
We are migrating from Cacti to Observium and it was a great experience, the
only thing we lacked were the weathermap plugin for getting that nice
network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his github:
https://github.com/laf/weathermap

I wrote a quick and dirty script that adds the weathermaps to the Observium
menu without modifying Observium-code so that it will not break when
updating Observium.
It works really well so I wrote a little guide for how you get the
weathermap to work with Observium and posted it here:
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
In case there are more people interested in using the weathermap with
Observium :)

/Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140715/ce38ed3b/attachment.html>
Supun Rathnayake
2014-07-16 01:30:08 UTC
Permalink
Hi Markus,

This is great !!! we also started using that modified version of
weathermap by Neil Lathwood sometime back, this will be a great addition
to that.

Thanks a lot for your effort on this.

Regards,
Supun.
Post by Markus Klock
Hello!
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
In case there are more people interested in using the weathermap with
Observium :)
/Markus
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/52fe776e/attachment.html>
Erwin Heringa
2014-07-16 06:14:04 UTC
Permalink
Hi Markus,

I did pretty much the same thing and added a link to the editor as well.

function make_menu_item($url,$name,$icon)
{
$string='<li><a href="' . $url . '"><span class="menu-icon ' . $icon . '"></span> ' . $name . ' </a></li>';
return $string;
}

$data = file_get_contents('/opt/observium/html/weathermap/editor.php');
if(strpos($data, 'ENABLED=true;') !== FALSE)
{
echo make_menu_item('/weathermap/editor.php','Weathermap editor','oicon-globe-model');
}
else
{
echo make_menu_item('https://observium.sidn.nl','Weathermap editor disabled by config!','oicon-globe-model');
}


Met vriendelijke groet, kind regards,

Erwin Heringa


SIDN | Meander 501 | 6825 MD | Postbus 5022 | 6802 EA | ARNHEM
T +31 (0)26 352 55 59 | F +31 (0)26 352 55 05
erwin.heringa at sidn.nl | www.sidn.nl



From: observium [mailto:observium-bounces at observium.org] On Behalf Of Markus Klock
Sent: dinsdag 15 juli 2014 21:17
To: Observium Network Observation System
Subject: [Observium] Using PHP Weathermap with Observium

Hello!
We are migrating from Cacti to Observium and it was a great experience, the only thing we lacked were the weathermap plugin for getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP Weathermap that works with Observium data, you can find it on his github: https://github.com/laf/weathermap

I wrote a quick and dirty script that adds the weathermaps to the Observium menu without modifying Observium-code so that it will not break when updating Observium.
It works really well so I wrote a little guide for how you get the weathermap to work with Observium and posted it here:
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
In case there are more people interested in using the weathermap with Observium :)

/Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/5c3b4e2d/attachment-0001.html>
Markus Klock
2014-07-16 07:31:05 UTC
Permalink
Oh, thats great!
Was thinking of adding the editor too.
I was gonna start look in to if it was easy to modify the editor to look
for the authed user level in observium instead of the
ENABLED=false/true-thing.
Like you will only be able to access the editor if you are logged in as a
level 10 user, and it will only appear in the menu then.

To hide it in the menu is pretty easy, I think you only need to add a:
if ($_SESSION['userlevel'] >= 10)
to your code and the menu will only appear for admin users :)

/Markus
Post by Supun Rathnayake
Hi Markus,
I did pretty much the same thing and added a link to the editor as well.
function make_menu_item($url,$name,$icon)
{
$string='<li><a href="' . $url . '"><span class="menu-icon ' .
$icon . '"></span> ' . $name . ' </a></li>';
return $string;
}
$data = file_get_contents('/opt/observium/html/weathermap/editor.php');
if(strpos($data, 'ENABLED=true;') !== FALSE)
{
echo make_menu_item('/weathermap/editor.php','Weathermap
editor','oicon-globe-model');
}
else
{
echo make_menu_item('https://observium.sidn.nl','Weathermap
editor disabled by config!','oicon-globe-model');
}
Met vriendelijke groet, kind regards,
Erwin Heringa
SIDN | Meander 501 | 6825 MD | Postbus 5022 | 6802 EA | ARNHEM
T +31 (0)26 352 55 59 | F +31 (0)26 352 55 05
erwin.heringa at sidn.nl | www.sidn.nl
*From:* observium [mailto:observium-bounces at observium.org] *On Behalf Of *Markus
Klock
*Sent:* dinsdag 15 juli 2014 21:17
*To:* Observium Network Observation System
*Subject:* [Observium] Using PHP Weathermap with Observium
Hello!
We are migrating from Cacti to Observium and it was a great experience,
the only thing we lacked were the weathermap plugin for getting that nice
network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
https://github.com/laf/weathermap
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not break
when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
In case there are more people interested in using the weathermap with Observium :)
/Markus
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/ab2db186/attachment.html>
Tom Laermans
2014-07-16 08:49:33 UTC
Permalink
Security note for that: if you only hide the link for <10 and not
actually secure it in the code itself, anyone can still surf to the url
and get the page content, even though you did not show the link in the
menu ;)
Post by Markus Klock
Oh, thats great!
Was thinking of adding the editor too.
I was gonna start look in to if it was easy to modify the editor to
look for the authed user level in observium instead of the
ENABLED=false/true-thing.
Like you will only be able to access the editor if you are logged in
as a level 10 user, and it will only appear in the menu then.
if ($_SESSION['userlevel'] >= 10)
to your code and the menu will only appear for admin users :)
/Markus
2014-07-16 8:14 GMT+02:00 Erwin Heringa <erwin.heringa at sidn.nl
Hi Markus,
I did pretty much the same thing and added a link to the editor as well.
function make_menu_item($url,$name,$icon)
{
$string='<li><a href="' . $url . '"><span class="menu-icon
' . $icon . '"></span> ' . $name . ' </a></li>';
return $string;
}
$data =
file_get_contents('/opt/observium/html/weathermap/editor.php');
if(strpos($data, 'ENABLED=true;') !== FALSE)
{
echo make_menu_item('/weathermap/editor.php','Weathermap
editor','oicon-globe-model');
}
else
{
echo
make_menu_item('https://observium.sidn.nl','Weathermap editor
disabled by config!','oicon-globe-model');
}
Met vriendelijke groet, kind regards,
Erwin Heringa
SIDN | Meander 501 | 6825 MD | Postbus 5022 | 6802 EA | ARNHEM
T +31 (0)26 352 55 59 <tel:%2B31%20%280%2926%20352%2055%2059> | F
+31 (0)26 352 55 05 <tel:%2B31%20%280%2926%20352%2055%2005>
erwin.heringa at sidn.nl <mailto:erwin.heringa at sidn.nl> | www.sidn.nl
<http://www.sidn.nl>
*From:*observium [mailto:observium-bounces at observium.org
<mailto:observium-bounces at observium.org>] *On Behalf Of *Markus Klock
*Sent:* dinsdag 15 juli 2014 21:17
*To:* Observium Network Observation System
*Subject:* [Observium] Using PHP Weathermap with Observium
Hello!
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin
for getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the
PHP Weathermap that works with Observium data, you can find it on
his github: https://github.com/laf/weathermap
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will
not break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
In case there are more people interested in using the weathermap with Observium :)
/Markus
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/e7b3c990/attachment.html>
Markus Klock
2014-07-16 08:56:27 UTC
Permalink
Yeah, editor.php still needs to be modified somehow to use observium
session auth, that is a little more tricky I guess :)
Post by Tom Laermans
Security note for that: if you only hide the link for <10 and not
actually secure it in the code itself, anyone can still surf to the url and
get the page content, even though you did not show the link in the menu ;)
Oh, thats great!
Was thinking of adding the editor too.
I was gonna start look in to if it was easy to modify the editor to look
for the authed user level in observium instead of the
ENABLED=false/true-thing.
Like you will only be able to access the editor if you are logged in as a
level 10 user, and it will only appear in the menu then.
if ($_SESSION['userlevel'] >= 10)
to your code and the menu will only appear for admin users :)
/Markus
Post by Supun Rathnayake
Hi Markus,
I did pretty much the same thing and added a link to the editor as well.
function make_menu_item($url,$name,$icon)
{
$string='<li><a href="' . $url . '"><span class="menu-icon ' .
$icon . '"></span> ' . $name . ' </a></li>';
return $string;
}
$data = file_get_contents('/opt/observium/html/weathermap/editor.php');
if(strpos($data, 'ENABLED=true;') !== FALSE)
{
echo make_menu_item('/weathermap/editor.php','Weathermap
editor','oicon-globe-model');
}
else
{
echo make_menu_item('https://observium.sidn.nl','Weathermap
editor disabled by config!','oicon-globe-model');
}
Met vriendelijke groet, kind regards,
Erwin Heringa
SIDN | Meander 501 | 6825 MD | Postbus 5022 | 6802 EA | ARNHEM
T +31 (0)26 352 55 59 <%2B31%20%280%2926%20352%2055%2059> | F +31 (0)26
352 55 05 <%2B31%20%280%2926%20352%2055%2005>
erwin.heringa at sidn.nl | www.sidn.nl
*From:* observium [mailto:observium-bounces at observium.org] *On Behalf Of
*Markus Klock
*Sent:* dinsdag 15 juli 2014 21:17
*To:* Observium Network Observation System
*Subject:* [Observium] Using PHP Weathermap with Observium
Hello!
We are migrating from Cacti to Observium and it was a great experience,
the only thing we lacked were the weathermap plugin for getting that nice
network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
https://github.com/laf/weathermap
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not break
when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
In case there are more people interested in using the weathermap with Observium :)
/Markus
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing listobservium at observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/3ce839eb/attachment-0001.html>
Laurens Vets
2014-07-16 08:57:51 UTC
Permalink
Hello Markus,
Post by Markus Klock
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that?Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github:?https://github.com/laf/weathermap [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
weathermap to work with Observium and posted it here:?
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?

If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...

I'm using the latest Observium version.
Markus Klock
2014-07-16 09:04:41 UTC
Permalink
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the
maps/-directory?

/Markus
Post by Laurens Vets
Hello Markus,
We are migrating from Cacti to Observium and it was a great
Post by Markus Klock
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-
with-observium.html
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to that
includes directory, Observium doesn't even load the interface properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/948a4192/attachment.html>
Peter Childs
2014-07-16 09:23:29 UTC
Permalink
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php

Has

<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();

I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and removed it and resolved that issue?


From: Markus Klock <markus at best-practice.se<mailto:markus at best-practice.se>>
Reply-To: Observium <observium at observium.org<mailto:observium at observium.org>>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org<mailto:observium at observium.org>>
Subject: Re: [Observium] Using PHP Weathermap with Observium

That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?

/Markus


2014-07-16 10:57 GMT+02:00 Laurens Vets <laurens at daemon.be<mailto:laurens at daemon.be>>:
Hello Markus,

We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [1]


I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
weathermap to work with Observium and posted it here:
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[2]

In case there are more people interested in using the weathermap with
Observium :)

Maybe it's just me, but I do not have a /opt/observium/html/include/ directory, shouldn't that be includes?

If I copy the navbar-custom.inc.php from the weathermap directory to that includes directory, Observium doesn't even load the interface properly...

I'm using the latest Observium version.

_______________________________________________
observium mailing list
observium at observium.org<mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/cc9f3433/attachment.html>
Laurens Vets
2014-07-16 09:39:40 UTC
Permalink
Removed the fdb stuff and it works now. Thanks!
Post by Peter Childs
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Post by Laurens Vets
Hello Markus,
Post by Markus Klock
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [3]
------
[1] https://github.com/laf/weathermap
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[4]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam Armstrong
2014-07-16 10:20:16 UTC
Permalink
laf? cut and paste error?

surely not!

:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [3]
------
[1] https://github.com/laf/weathermap
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[4] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Markus Klock
2014-07-16 10:23:54 UTC
Permalink
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!

/Markus
Post by Adam Armstrong
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-
with-observium.html [2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to that
includes directory, Observium doesn't even load the interface properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [3]
------
[1] https://github.com/laf/weathermap
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-
with-observium.html
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[4] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/6b3a37a6/attachment.html>
Peter Childs
2014-07-16 11:51:43 UTC
Permalink
http://otm.github.io/networkmap.js/ looks pretty new'ish, but interesting -- probably a bit 'off-topic' here...


From: Markus Klock <markus at best-practice.se<mailto:markus at best-practice.se>>
Reply-To: Observium <observium at observium.org<mailto:observium at observium.org>>
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org<mailto:observium at observium.org>>
Subject: Re: [Observium] Using PHP Weathermap with Observium

It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!

/Markus


2014-07-16 12:20 GMT+02:00 Adam Armstrong <adama at memetic.org<mailto:adama at memetic.org>>:
laf? cut and paste error?

surely not!

:D



On 2014-07-16 10:23, Peter Childs wrote:
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [4]

Has

<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();

I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?

From: Markus Klock <markus at best-practice.se<mailto:markus at best-practice.se>>
Reply-To: Observium <observium at observium.org<mailto:observium at observium.org>>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org<mailto:observium at observium.org>>
Subject: Re: [Observium] Using PHP Weathermap with Observium

That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the
maps/-directory?

/Markus

2014-07-16 10:57 GMT+02:00 Laurens Vets <laurens at daemon.be<mailto:laurens at daemon.be>>:

Hello Markus,

We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [1] [1]


I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
weathermap to work with Observium and posted it here:
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html [2]
[2]

In case there are more people interested in using the weathermap with
Observium :)

Maybe it's just me, but I do not have a /opt/observium/html/include/ directory, shouldn't that be includes?

If I copy the navbar-custom.inc.php from the weathermap directory to that includes directory, Observium doesn't even load the interface properly...

I'm using the latest Observium version.

_______________________________________________
observium mailing list
observium at observium.org<mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [3]



Links:
------
[1] https://github.com/laf/weathermap
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[4] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php

_______________________________________________
observium mailing list
observium at observium.org<mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org<mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140716/d46d68a7/attachment.html>
Adam Armstrong
2014-07-17 01:30:45 UTC
Permalink
oh dear, that looks very pretty.

can it sensible place nodes without a human spending a week deciding
where they should go?

adam.
http://otm.github.io/networkmap.js [5]/ looks pretty new'ish, but
interesting -- probably a bit 'off-topic' here...
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!
/Markus
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [1]
[4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [2] [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3] [2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4] [3]
------
[1] https://github.com/laf/weathermap [2]
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3]
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
[4] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
------
[1] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[2] https://github.com/laf/weathermap
[3]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[4] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[5] http://otm.github.io/networkmap.js
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Peter Childs
2014-07-17 01:51:21 UTC
Permalink
It doesn't look like it has any graph forced directed layout type
capabilities.

I assume such algorithms in client-side or server side would be do-able...

Getting something useful and sensible would probably take some hard-yards
in both design and implementation.
Post by Adam Armstrong
oh dear, that looks very pretty.
can it sensible place nodes without a human spending a week deciding
where they should go?
adam.
http://otm.github.io/networkmap.js [5]/ looks pretty new'ish, but
interesting -- probably a bit 'off-topic' here...
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!
/Markus
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [1]
[4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [2] [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.
html
[3] [2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4] [3]
------
[1] https://github.com/laf/weathermap [2]
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.
html
[3]
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
[4] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
------
[1] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[2] https://github.com/laf/weathermap
[3]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.
html
[4] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[5] http://otm.github.io/networkmap.js
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam Armstrong
2014-07-17 01:54:42 UTC
Permalink
Post by Peter Childs
It doesn't look like it has any graph forced directed layout type
capabilities.
I assume such algorithms in client-side or server side would be do-able...
Getting something useful and sensible would probably take some
hard-yards
in both design and implementation.
Yeah, pretty close to impossible to autogenerate useful diagrams. boo.
Markus Klock
2014-07-22 09:24:21 UTC
Permalink
just FYI, r5670 breaks the weathermap-menu due to navbar-include rework.
Will try to update it this week

/Markus
Post by Adam Armstrong
Post by Peter Childs
It doesn't look like it has any graph forced directed layout type
capabilities.
I assume such algorithms in client-side or server side would be do-able...
Getting something useful and sensible would probably take some hard-yards
in both design and implementation.
Yeah, pretty close to impossible to autogenerate useful diagrams. boo.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140722/3426b6dd/attachment.html>
Tom Laermans
2014-07-22 09:48:21 UTC
Permalink
Ahh, sorry :-)

I didn't see a good way of keeping this backwards compatible unfortunately.

Creating a menu entry or even an entirely new menu should be a lot
easier now though.

Tom
Post by Markus Klock
just FYI, r5670 breaks the weathermap-menu due to navbar-include rework.
Will try to update it this week
/Markus
2014-07-17 3:54 GMT+02:00 Adam Armstrong <adama at memetic.org
It doesn't look like it has any graph forced directed layout type
capabilities.
I assume such algorithms in client-side or server side would be do-able...
Getting something useful and sensible would probably take some hard-yards
in both design and implementation.
Yeah, pretty close to impossible to autogenerate useful diagrams. boo.
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140722/177cc263/attachment.html>
Marcus Taylor
2014-07-22 13:34:38 UTC
Permalink
https://cytoscape.github.io/cytoscape.js/ ?
Post by Adam Armstrong
oh dear, that looks very pretty.
can it sensible place nodes without a human spending a week deciding
where they should go?
adam.
http://otm.github.io/networkmap.js [5]/ looks pretty new'ish, but
interesting -- probably a bit 'off-topic' here...
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!
/Markus
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1] [4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [2] [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3] [2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4] [3]
------
[1] https://github.com/laf/weathermap [2]
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3]
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
[4]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [1]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
------
[1] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[2] https://github.com/laf/weathermap
[3]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[4] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[5] http://otm.github.io/networkmap.js
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam Armstrong
2014-07-22 13:38:32 UTC
Permalink
This seems to be no improvement over graphviz.

http://jsbin.com/aqupun/9/edit

imagine that, with 100 nodes.

adam.
Post by Marcus Taylor
https://cytoscape.github.io/cytoscape.js/ ?
oh dear, that looks very pretty.
can it sensible place nodes without a human spending a week deciding
where they should go?
adam.
http://otm.github.io/networkmap.js [5]/ looks pretty new'ish, but
interesting -- probably a bit 'off-topic' here...
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!
/Markus
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1] [4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [2] [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3] [2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4] [3]
------
[1] https://github.com/laf/weathermap [2]
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3]
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
[4]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [1]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
------
[1] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[2] https://github.com/laf/weathermap
[3]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[4] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[5] http://otm.github.io/networkmap.js
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Marcus Taylor
2014-07-22 13:41:08 UTC
Permalink
True, it's just not hipster enough :)

http://jsbin.com/yeqom/3/edit

Marcus
Post by Adam Armstrong
This seems to be no improvement over graphviz.
http://jsbin.com/aqupun/9/edit
imagine that, with 100 nodes.
adam.
Post by Marcus Taylor
https://cytoscape.github.io/cytoscape.js/ ?
oh dear, that looks very pretty.
can it sensible place nodes without a human spending a week deciding
where they should go?
adam.
http://otm.github.io/networkmap.js [5]/ looks pretty new'ish, but
interesting -- probably a bit 'off-topic' here...
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!
/Markus
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1] [4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [2] [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3] [2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4] [3]
------
[1] https://github.com/laf/weathermap [2]
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[3]
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
[4]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [1]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
------
[1] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[2] https://github.com/laf/weathermap
[3]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
[4] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[5] http://otm.github.io/networkmap.js
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Markus Klock
2014-07-29 10:50:36 UTC
Permalink
Updated the navbar-custom to work with the new navbar syntax. Great work
Tom, a lot easier to create menus now :)
CE and everyone using older than r5670 should still use the old one.
r5670 and later should use:
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php

/Markus
Post by Marcus Taylor
True, it's just not hipster enough :)
http://jsbin.com/yeqom/3/edit
Marcus
Post by Adam Armstrong
This seems to be no improvement over graphviz.
http://jsbin.com/aqupun/9/edit
imagine that, with 100 nodes.
adam.
Post by Marcus Taylor
https://cytoscape.github.io/cytoscape.js/ ?
oh dear, that looks very pretty.
can it sensible place nodes without a human spending a week deciding
where they should go?
adam.
http://otm.github.io/networkmap.js [5]/ looks pretty new'ish, but
interesting -- probably a bit 'off-topic' here...
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!
/Markus
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1] [4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [2] [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[3] [2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4] [3]
------
[1] https://github.com/laf/weathermap [2]
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[3]
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
[4]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [1]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
------
[1] https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[2] https://github.com/laf/weathermap
[3]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[4] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[5] http://otm.github.io/networkmap.js
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140729/b6ba1d88/attachment-0001.html>
Tom Laermans
2014-07-29 12:10:28 UTC
Permalink
Markus,

Are you sure it works? There's a ?> on line 6 that doesn't seem to be right.

Easier creation of menus was the idea indeed. The navbar code itself
still is large because of all the conditionals but at least we've cut
down significantly on "confusing" html code :)

Tom
Post by Markus Klock
Updated the navbar-custom to work with the new navbar syntax. Great
work Tom, a lot easier to create menus now :)
CE and everyone using older than r5670 should still use the old one.
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
/Markus
2014-07-22 15:41 GMT+02:00 Marcus Taylor <marcus at linx.net
True, it's just not hipster enough :)
http://jsbin.com/yeqom/3/edit
Marcus
Post by Adam Armstrong
This seems to be no improvement over graphviz.
http://jsbin.com/aqupun/9/edit
imagine that, with 100 nodes.
adam.
Post by Marcus Taylor
https://cytoscape.github.io/cytoscape.js/ ?
oh dear, that looks very pretty.
can it sensible place nodes without a human spending a week
deciding
Post by Adam Armstrong
Post by Marcus Taylor
where they should go?
adam.
http://otm.github.io/networkmap.js [5]/ looks pretty new'ish, but
interesting -- probably a bit 'off-topic' here...
From: Markus Klock <markus at best-practice.se
<mailto:markus at best-practice.se>>
Post by Adam Armstrong
Post by Marcus Taylor
Reply-To: Observium <observium at observium.org
<mailto:observium at observium.org>>
Post by Adam Armstrong
Post by Marcus Taylor
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org
<mailto:observium at observium.org>>
Post by Adam Armstrong
Post by Marcus Taylor
Subject: Re: [Observium] Using PHP Weathermap with Observium
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!
/Markus
2014-07-16 12:20 GMT+02:00 Adam Armstrong <adama at memetic.org
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1] [4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from
somewhere and
Post by Adam Armstrong
Post by Marcus Taylor
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se
<mailto:markus at best-practice.se>>
Post by Adam Armstrong
Post by Marcus Taylor
Reply-To: Observium <observium at observium.org
<mailto:observium at observium.org>>
Post by Adam Armstrong
Post by Marcus Taylor
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org
<mailto:observium at observium.org>>
Post by Adam Armstrong
Post by Marcus Taylor
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the
maps/-directory?
/Markus
2014-07-16 10:57 GMT+02:00 Laurens Vets <laurens at daemon.be
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [2] [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[3] [2]
[2]
In case there are more people interested in using the
weathermap with
Post by Adam Armstrong
Post by Marcus Taylor
Observium :)
Maybe it's just me, but I do not have a
/opt/observium/html/include/
Post by Adam Armstrong
Post by Marcus Taylor
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap
directory to
Post by Adam Armstrong
Post by Marcus Taylor
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[4] [3]
Post by Adam Armstrong
Post by Marcus Taylor
------
[1] https://github.com/laf/weathermap [2]
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[3]
[3]
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
Post by Adam Armstrong
Post by Marcus Taylor
[4]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php [1]
Post by Adam Armstrong
Post by Marcus Taylor
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
------
[1]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
Post by Adam Armstrong
Post by Marcus Taylor
[2] https://github.com/laf/weathermap
[3]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[4] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[5] http://otm.github.io/networkmap.js
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org <mailto:observium at observium.org>
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140729/e9ab25ef/attachment.html>
Markus Klock
2014-07-29 18:23:45 UTC
Permalink
You are right, another copy/paste-error. Updated now, thanks Tom!
/Markus
Post by Supun Rathnayake
Markus,
Are you sure it works? There's a ?> on line 6 that doesn't seem to be right.
Easier creation of menus was the idea indeed. The navbar code itself still
is large because of all the conditionals but at least we've cut down
significantly on "confusing" html code :)
Tom
Updated the navbar-custom to work with the new navbar syntax. Great work
Tom, a lot easier to create menus now :)
CE and everyone using older than r5670 should still use the old one.
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
/Markus
Post by Marcus Taylor
True, it's just not hipster enough :)
http://jsbin.com/yeqom/3/edit
Marcus
Post by Adam Armstrong
This seems to be no improvement over graphviz.
http://jsbin.com/aqupun/9/edit
imagine that, with 100 nodes.
adam.
Post by Marcus Taylor
https://cytoscape.github.io/cytoscape.js/ ?
oh dear, that looks very pretty.
can it sensible place nodes without a human spending a week deciding
where they should go?
adam.
http://otm.github.io/networkmap.js [5]/ looks pretty new'ish, but
interesting -- probably a bit 'off-topic' here...
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 7:53 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
It was actually my cut n paste error as I sent him the file :p
Well, the github is updates, thanks for the heads-up guys!
/Markus
laf? cut and paste error?
surely not!
:D
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1] [4]
Has
<?php
'fdb' => 'FDB Tables');
$rendered_maps = array();
I assumed the 'fdb' => ... Was a cut-n-paste error from somewhere and
removed it and resolved that issue?
From: Markus Klock <markus at best-practice.se>
Reply-To: Observium <observium at observium.org>
Date: Wednesday, 16 July 2014 6:34 pm
To: Observium <observium at observium.org>
Subject: Re: [Observium] Using PHP Weathermap with Observium
That is correct, sorry! It should be /opt/observium/html/includes/
updated the blogpost...
hmm, and you have the weathermap plugin installed and created the maps/-directory?
/Markus
Hello Markus,
We are migrating from Cacti to Observium and it was a great
experience, the only thing we lacked were the weathermap plugin for
getting that nice network overview.
I then found that Neil Lathwood wrote a modified version of the PHP
Weathermap that works with Observium data, you can find it on his
github: https://github.com/laf/weathermap [2] [1] [1]
I wrote a quick and dirty script that adds the weathermaps to the
Observium menu without modifying Observium-code so that it will not
break when updating Observium.
It works really well so I wrote a little guide for how you get the
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[3] [2]
[2]
In case there are more people interested in using the weathermap with
Observium :)
Maybe it's just me, but I do not have a /opt/observium/html/include/
directory, shouldn't that be includes?
If I copy the navbar-custom.inc.php from the weathermap directory to
that includes directory, Observium doesn't even load the interface
properly...
I'm using the latest Observium version.
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4] [3]
------
[1] https://github.com/laf/weathermap [2]
[2]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[3]
[3] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
[4]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
[1]
Post by Adam Armstrong
Post by Marcus Taylor
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [4]
------
[1]
https://github.com/laf/weathermap/blob/master/navbar-custom.inc.php
Post by Adam Armstrong
Post by Marcus Taylor
[2] https://github.com/laf/weathermap
[3]
http://blog.best-practice.se/2014/07/using-php-weathermap-with-observium.html
Post by Adam Armstrong
Post by Marcus Taylor
[4] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
[5] http://otm.github.io/networkmap.js
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing listobservium at observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://postman.memetic.org/pipermail/observium/attachments/20140729/85756a53/attachment-0001.html>
MagenX
2014-07-31 08:36:19 UTC
Permalink
hi
how can i set alerts if my service is going down,
like mysql,nginx,php-fpm needs start/restart or too many processes,
connections, non-responsive?

cheers
MagenX
2014-07-31 19:49:01 UTC
Permalink
pew pew
Post by MagenX
hi
how can i set alerts if my service is going down,
like mysql,nginx,php-fpm needs start/restart or too many processes,
connections, non-responsive?
cheers
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Jason Lixfeld
2014-07-31 19:55:52 UTC
Permalink
Observium will only monitor and alert stuff that is pollable using SNMP. The kinds of things you want to monitor don't meet that criteria so Observium won't be able do what you want natively. You might, however, be able to run snmpd locally on the boxes that are running the services that you are interested in monitoring and use HOST-RESOURCES-MIB accordingly.

I don't know if Observium can alert based on HOST-RESOURCES-MIB stuff though. Never tried.
Post by MagenX
hi
how can i set alerts if my service is going down,
like mysql,nginx,php-fpm needs start/restart or too many processes, connections, non-responsive?
cheers
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Peter.Hine
2014-08-04 02:29:27 UTC
Permalink
there is a mysql and nginx script for the unix-agent.

does that give you the information your after if you set up the unix
agent ?

/opt/observium/scripts/agent-local/nginx





thanks

Peter Hine
Senior Technical Support Engineer (Servers)




From: Jason Lixfeld <jason at lixfeld.ca>
To: Observium Network Observation System <observium at observium.org>
Date: 01/08/2014 05:56
Subject: Re: [Observium] service down alerts - mysql, nginx,
Sent by: "observium" <observium-bounces at observium.org>



Observium will only monitor and alert stuff that is pollable using SNMP.
The kinds of things you want to monitor don't meet that criteria so
Observium won't be able do what you want natively. You might, however, be
able to run snmpd locally on the boxes that are running the services that
you are interested in monitoring and use HOST-RESOURCES-MIB accordingly.

I don't know if Observium can alert based on HOST-RESOURCES-MIB stuff
though. Never tried.
Post by MagenX
hi
how can i set alerts if my service is going down,
like mysql,nginx,php-fpm needs start/restart or too many processes,
connections, non-responsive?
Post by MagenX
cheers
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium at observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



**********************************************************************
The information contained in this e-mail (including any attachments)
is for the exclusive use of the addressee. If you are not the intended
recipient please notify the sender immediately and delete this e-mail.
It is noted that legal privilege is not waived because you have read
this e-mail.
**********************************************************************
Loading...