centreon / centreon-broker

A full-featured monitoring event broker, compatible with MySQL, RRDtool, Graphite and more
Apache License 2.0
37 stars 15 forks source link

$INSTANCE$ Where to define it #646

Open slappyslap opened 2 years ago

slappyslap commented 2 years ago

BUG REPORT INFORMATION

Prerequisites

The opened issue, must be code related. GitHub is not meant for support. Feel free to check the CONTRIBUTING section for more details.

Versions LATEST

For the RPM based systems

$ rpm -qa | grep centreon
centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx-20210622-151444.el7.centos.noarch
centreon-plugin-Hardware-Printers-Generic-Snmp-20210622-151444.el7.centos.noarch
centreon-auto-discovery-server-21.04.1-2.el7.centos.noarch
centreon-license-manager-21.04.0-1.el7.centos.noarch
centreon-widget-global-health-21.04.0-1.el7.centos.noarch
centreon-connector-perl-21.04.2-4.el7.centos.x86_64
centreon-broker-graphite-21.04.2-3.el7.centos.x86_64
centreon-broker-storage-21.04.2-3.el7.centos.x86_64
centreon-engine-21.04.3-5.el7.centos.x86_64
centreon-plugin-Applications-Monitoring-Centreon-Central-20210622-151444.el7.centos.noarch
centreon-plugin-Operatingsystems-Linux-Snmp-20210622-151444.el7.centos.noarch
centreon-widget-grid-map-21.04.0-1.el7.centos.noarch
centreon-plugin-Applications-Protocol-Dns-20210622-151444.el7.centos.noarch
centreon-clib-21.04.2-1.el7.centos.x86_64
centreon-connector-21.04.2-4.el7.centos.x86_64
centreon-common-21.04.4-2.el7.centos.noarch
centreon-engine-daemon-21.04.3-5.el7.centos.x86_64
centreon-widget-graph-monitoring-21.04.0-1.el7.centos.noarch
centreon-widget-live-top10-memory-usage-21.04.0-1.el7.centos.noarch
centreon-widget-live-top10-cpu-usage-21.04.0-1.el7.centos.noarch
centreon-release-21.04-4.el7.centos.noarch
centreon-gorgone-21.04.1-1.el7.centos.noarch
centreon-connector-ssh-21.04.2-4.el7.centos.x86_64
centreon-perl-libs-21.04.4-2.el7.centos.noarch
centreon-plugin-Applications-Monitoring-Centreon-Poller-20210622-151444.el7.centos.noarch
centreon-plugin-Network-Cisco-Standard-Snmp-20210622-151444.el7.centos.noarch
centreon-poller-centreon-engine-21.04.4-2.el7.centos.noarch
centreon-21.04.4-2.el7.centos.noarch
centreon-license-manager-common-21.04.0-1.el7.centos.noarch
centreon-pp-manager-21.04.0-1.el7.centos.noarch
centreon-widget-httploader-21.04.0-3.el7.centos.noarch
centreon-widget-service-monitoring-21.04.0-1.el7.centos.noarch
centreon-widget-servicegroup-monitoring-21.04.0-1.el7.centos.noarch
centreon-plugin-Applications-Protocol-Http-20210622-151444.el7.centos.noarch
centreon-plugin-Applications-Monitoring-Centreon-Database-20210622-151444.el7.centos.noarch
centreon-broker-core-21.04.2-3.el7.centos.x86_64
centreon-broker-cbmod-21.04.2-3.el7.centos.x86_64
centreon-database-21.04.4-2.el7.centos.noarch
centreon-plugin-Operatingsystems-Windows-Snmp-20210622-151444.el7.centos.noarch
centreon-web-21.04.4-2.el7.centos.noarch
centreon-trap-21.04.4-2.el7.centos.noarch
centreon-widget-tactical-overview-21.04.0-1.el7.centos.noarch
centreon-widget-engine-status-21.04.0-1.el7.centos.noarch
centreon-plugin-Applications-Protocol-Ldap-20210622-151444.el7.centos.noarch
centreon-plugin-Applications-Protocol-Ftp-20210622-151444.el7.centos.noarch
centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp-20210622-151444.el7.centos.noarch
centreon-base-config-centreon-engine-21.04.4-2.el7.centos.noarch
centreon-widget-hostgroup-monitoring-21.04.0-1.el7.centos.noarch
centreon-widget-host-monitoring-21.04.0-2.el7.centos.noarch
centreon-plugin-Virtualization-VMWare-daemon-3.2.1-20210517152645.el7.centos.noarch
centreon-plugin-Applications-Databases-Mysql-20210622-151444.el7.centos.noarch
centreon-broker-21.04.2-3.el7.centos.x86_64
centreon-gorgone-centreon-config-21.04.1-1.el7.centos.noarch
centreon-engine-extcommands-21.04.3-5.el7.centos.x86_64
centreon-broker-cbd-21.04.2-3.el7.centos.x86_64

Operating System

Centreon iso / centos 7

Description

The $INSTANCE$ variable is always "Central" in graphite metrics but i have Central and another poller named "PollerOne", I whant to know how this variable is defined and where i can change it

omercier commented 2 years ago

Hi @slappyslap, Thanks for your issue. Actually, the instance field you refer to comes from the broker instance that generate he metrics out of the NEB event, which is the central broker. It should source the poller that monitors the resources, but changing is not trivial for minimal benefits (according to us). What do you need this information for in Graphite?