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

Reply via email to