On 2021-04-20 13:36, Pratik Khandelwal wrote:
Hello,I'm trying to install the HP iLO node exporter and facing issues while installing. Please help me to resolve this issue. Steps followed: 1. pip install -e $HPILO_EXPORTER_DIR - Latest Released Version 2. Added the environment variables EXPORT ILO_USER=USEREXPORT ILO_PASSWORD=PASSWORD EXPORT ILO_PORT=443 3. CONFIGURED THE PROMETHEUS.YML AS SHOWN BELOW. - job_name: 'hpilo' scrape_interval: 1m scrape_timeout: 30s params: ilo_host: ['HOSTNAME/IP'] #ilo_port: ['443'] # SET IN EXPORTER ENV #ilo_user: ['username'] # SET IN EXPORTER ENV #ilo_password: ['password'] #SET IN EXPORTER ENV static_configs: - targets: - ' HOSTNAME/IP' relabel_configs: - source_labels: [__address__] target_label: __param_ilo_host - source_labels: [__param_ilo_host] target_label: ilo_host - target_label: __address__ replacement: hpilo:8082 # hpilo exporter. NOTE: As shown above, I am modifying only the BOLD variables. I am giving Hostname or IP address for ILO_HOST AND TARGETS , facing the same installation issue as shown below. Also, I tried uncommenting the PORT, USER, AND PASSWORD and gave the proper details too. 4. I am running the HPILO exporter as shown below. I tired giving the iLO IP qaddress but the exporter doesn't work with any other IP address. COMMAND: HPILO-EXPORTER --ADDRESS=0.0.0.0 --PORT=9416 --ENDPOINT="/METRICS" 5. ERROR OBSERVED.
The exporter command you gave above suggests it is listening on port 9416, but the Prometheus job config lists 8082. I'd suggest matching the port numbers and trying again.
-- Stuart Clark -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/4edb59cff56fdc90a3b862267a55a58f%40Jahingo.com.

