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. *
*Get "http://hpilo:8082/metrics?ilo_host=HOSTNAME": dial tcp: lookup hpilo
on * HOSTNAME*:53: read udp * HOSTNAME :36428-> HOSTNAME:53: read:
connection refused
*I have tried with all the scenarios I could looking the multiple
forums but still facing the same error. Not sure where exactly it's having
the problem. We checked the network configuration too.*
*I have installed other exporters like Vmware, SNMP, and windows and I
didn't face this issue before. *
HP ilo Details :
*Product Name : ProLiant DL360 Gen9*
*Firmware Version : 2.74 May 08 2020*
Please help me resolve this issue.
Thanks,
Pratik
--
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/67f60fcd-711c-4b60-86bf-7a8b89694746n%40googlegroups.com.