On 28.07.2014 16:07, Warren Block wrote:
What is the lightest or easiest way to get graphs of history with
Icinga 2?
The catch is that I'd prefer to avoid PHP and keep the additions as
small as possible.
If your perfdata receiver dumps them to any backend (for instance
rrdtool) you could use your own presenter. The reason why PNP using
Kohana & PHP is much more comfortable is simple - additional information
such as UOM, host name, service output, etc are stored in separate XML
files and can be referenced in the webinterface.
Graphite is pretty but a full Django setup is, at present, more than I
want. If the configuration was just plug and go, that could change my
perspective.
Even if graphite is rather complex, Django is just a small part of it.
And you don't need it if you choose another web interface (the default
graphite web looks horrible, but acts as simple example what's possible).
Falk (Stern) still talks me into Grafana [0] being the best interface to
use (he'll probably tell that in his talk at the OSMC 2014 [1] again
;-)). From my readings it still requires the web application api for
presenting the data to the viewer.
Others prefer Graphiti [2] as a full replacement in ruby/js.
At present, Nagiosgraph is putting up a fight, but I might be able to
get it running.
From a community support perspective, you'll find most commonly, PNP
users, and their shared experience. Graphite is reasonable if it already
fits your "devops" stack (for example when using logstash/graylog2
already in combination). And tbh the Icinga 2 Graphite adapter gets
famous even if that was just for demo purposes in the first place. So a
reasonable backend strategy should help - rrdtool or graphite.
I haven't tried nagiosgraph myself for years now, it always seemed
inactive/dead, and also doesn't integrate well with Icinga Web (no idea
for Web 2, but I've already seen PNP/Graphite Integration for that in a
pre alpha demo).
The Icinga 2 install is on FreeBSD 10, with the web interface from
Icinga 1.11.5.
I'd go with PHP, even if you don't like it. PHP 5.3 is reasonably
de-factor standard, although OpenBSD might be a problem with that.
Graphite with Django seems to be problematic for OpenBSD, but also is a
valid choice.
Kind regards,
Michael
[0] http://grafana.org/
[1] http://www.netways.de/index.php?id=4611&L=1
[2] https://github.com/paperlesspost/graphiti
--
DI (FH) Michael Friedrich
[email protected] || icinga open source monitoring
https://twitter.com/dnsmichi || lead core developer
[email protected] || https://www.icinga.org/team
irc.freenode.net/icinga || dnsmichi
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users