Confirmed data is being sent to Graphite via tcpdump and verified perfdata in Graphite, however, images are not being displayed in Icingaweb. Still shows as 'No Data'. Challenge is trying to figure out fetching the images. I am wondering if the host_name_template as shown as "icinga.$host.name$" matters for using Icinga2/Icingaweb.
*Image source from Graphite* http://xxx.xxx.xxx.xx/render/?width=586&height=308&_salt=1487196688.82&target=icinga.basbeaxs01.Interface___eth1.rx&target=icinga.basbeaxs01.Interface___eth1.tx&from=14%3A00_20170215&until=23%3A59_20170215 [image: Inline image 1] *Changes I have made are:* $ vi /etc/icingaweb2/modules/graphite/config.ini [graphite] base_url=http://xxxxxxxx/render? legacy_mode = true graphite_args_template = '&target=$target$&source=0&from=-7d&width=450&height=150&hideAxes=false&lineWidth=1&hideLegend=true&colorList=049BAF&bgcolor=ffffff&fgcolor=000000&xFormat=%a' #graphite_large_args_template = "&target=alias(color($target$_warn,'yellow'),'warning')&target=alias(color($target$_crit,'red'),'critical')&target=$target$&source=0&width=800&height=700&colorList=$colorList$&lineMode=connected&areaMode=$areaMode$&areaAlpha=$areaAlpha$" $ vi /etc/icinga2/features-enabled/graphite.conf /** * The GraphiteWriter type writes check result metrics and * performance data to a graphite tcp socket. */ library "perfdata" object GraphiteWriter "graphite" { host = "xxx.xx.xxx.xx" port = 2003 enable_send_thresholds = true host_name_template = "icinga.$host.name$" service_name_template = "icinga.$host.name$.$service.name$" On Tue, Feb 14, 2017 at 10:57 PM, Danny Heinrich < volleyballl...@googlemail.com> wrote: > Hey, > > you should replace your > > base_url=[graphite.com] > with > base_url=[graphite host IP] > > > Am 14.02.2017 um 22:50 schrieb Garrett Pye <gvpy...@gmail.com>: > > Have a couple questions on the graphite module. Seems there is a piece > missing to get information into Graphite before information can be pulled. > Not clear from either GitHub documentation if that information has to be > configured in the config.ini file or the graphite.conf file. > > $ cat config.ini > > [graphite] > base_url=http://[graphite.com]/render? > > remote_fetch = true > remote_verify_peer = true > remote_verify_peer_name = true > > legacy_mode = true > > graphite_args_template = '&target=$target$&source=0& > width=300&height=120&hideAxes=true&lineWidth=2&hideLegend= > true&colorList=049BAF' > graphite_large_args_template = '&target=$target$&source=0& > width=800&height=700&colorList=049BAF&lineMode=connected' > > service_name_template = 'icinga2.$host.name$.services.$service.name > $.$service.check_command$.perfdata.$metric$.value' > host_name_template = 'icinga2.$host.name$.host.$ > host.check_command$.perfdata.$metric$.value' > > > $ cat /etc/icinga2/features-enabled/graphite.conf > /** > * The GraphiteWriter type writes check result metrics and > * performance data to a graphite tcp socket. > */ > > library "perfdata" > > object GraphiteWriter "graphite" { > host = "[graphite host IP]" > port = 2003 > enable_send_thresholds = true > } > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users