Vmware esxi hardware monitoring

251 views
Skip to first unread message

Robin Z

unread,
Dec 24, 2020, 1:07:22 PM12/24/20
to Prometheus Users
Hi,

I would like to monitor hardware of  server (hp proliant server) such as battery,  disk , raid status,  memory status...
These server are under vmware esxi.

Is there someone who already has done this task ?
What is  the exporter used ? Wbem on vmware maybe?


Thank you a lot

Alexander Golikov

unread,
Dec 24, 2020, 6:07:41 PM12/24/20
to Prometheus Users
Hello, dear! 
For HPE servers you may use iLo exporter. 
It provides info about 
  • storage health information from iLO (cache, controller, logical drives, physical drives).
  • temperature values information from iLO.
  • per-fan and per-power-supply statuses.
  • OA info for Blade servers
  • Server ON status.
My version is forked, I modified it to get more details and more secure, it gets password via env. 
See alerts.hpilo.yml for alarms Prometheus. 

четверг, 24 декабря 2020 г. в 21:07:22 UTC+3, robin...@gmail.com:

robin...@hotmail.com

unread,
Dec 25, 2020, 2:18:33 AM12/25/20
to Alexander Golikov, Prometheus Users
Hi,

Thank you for your reply.

I am currently using the ilo exporter but I have 2 issues with it.

- It doesn't work with ilo 3 server with latest firmware.
- In ilo logs I have lots of messages about connection of the account used by exporter I don't know how to do not log it...

Thank you

Robin


--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/50b93012-248a-4ce3-8481-95c7d356532dn%40googlegroups.com.

Alexander Golikov

unread,
Dec 25, 2020, 2:37:57 AM12/25/20
to robin...@hotmail.com, Prometheus Users
Hello,
On old servers you may use ipmi exporter. You need to enable ipmi in ilo settings. 
But you need some way to control hdds. 

Ps. 
Using vmware on old servers is too expensive. They have bad ESXi cost effciency per the socket. 

пт, 25 дек. 2020 г., 10:18 <robin...@hotmail.com>:

robin...@hotmail.com

unread,
Dec 25, 2020, 7:12:19 AM12/25/20
to Alexander Golikov, Prometheus Users
Ok thank you .
And is there a solution to not log connection of account used by exporter ?
Because that generates a lot of log !
Thanks

Alexander Golikov

unread,
Dec 25, 2020, 9:47:35 AM12/25/20
to robin...@hotmail.com, Prometheus Users
I have checked, one on my HPE servers have iLO 3, firmware version 1.93 (Aug 07 2020 ), it works normally with https://github.com/n27051538/hpilo-exporter. May be you need to tune some security settings. I recommend you to create special user with view-only permissions for monitoring.
All login attempts should be logged, so I do not know the way how to stop this logging. I'm not reading iLO log every day, so no worries for me.


пт, 25 дек. 2020 г. в 15:12, <robin...@hotmail.com>:


--
Regards,
Alexander Golikov

Robin Z

unread,
Dec 29, 2020, 6:57:05 AM12/29/20
to Alexander Golikov, robin...@hotmail.com, Prometheus Users
hi Alexander,

thank you for your reply I tested again with your forked version of hpilo exporter but for me it dosen't work with ilo3 firmware 1.93 on dl380 G7. What is the kind of server that you have ?

When I want to display http result I obtain connection was reset...

thanks

Robin Z

unread,
Dec 29, 2020, 7:04:11 AM12/29/20
to Alexander Golikov, Prometheus Users
I have :
python-hpilo 4.4.2
hiloexporter 0.4.4 (your forked version)

Pratik Khandelwal

unread,
Apr 16, 2021, 7:54:38 AM4/16/21
to Prometheus Users
Hello All,

Can you please help me understand how to install HP ilo exporter, it's written pip install -e $HPILO_EXPORTER_DIR, I am not able to understand what is $HPILO_EXPORTER_DIR means? 
Also When I am trying to run in my linux machine it's giving below output.


[root@localhost hpilo_exporter]# pip install -e $HPILO_EXPORTER_DIR

Usage:
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

Please let me know how to install ilo exporter : https://github.com/n27051538/hpilo-exporter

Pratik Khandelwal

unread,
Apr 16, 2021, 9:36:08 AM4/16/21
to Prometheus Users
Hello,

I am getting the issue as shown below while running the HPILO Exporter.

 hpilo-exporter  --address=10.232.5.113 --port=9416 --endpoint="/metrics"

Error :
Starting exporter on: http://10.232.5.113:9416/metrics
Press Ctrl+C to quit
Traceback (most recent call last):
  File "/usr/local/bin/hpilo-exporter", line 11, in <module>
    load_entry_point('hpilo-exporter', 'console_scripts', 'hpilo-exporter')()
  File "/root/iLO_Exporer/hpilo-exporter-master/src/hpilo_exporter/main.py", line 21, in main
    exporter.run()
  File "/root/iLO_Exporer/hpilo-exporter-master/src/hpilo_exporter/exporter.py", line 389, in run
    server = ThreadingHTTPServer((self._address, self._port), RequestHandler)
  File "/usr/lib64/python3.6/socketserver.py", line 456, in __init__
    self.server_bind()
  File "/usr/lib64/python3.6/http/server.py", line 136, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib64/python3.6/socketserver.py", line 470, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 99] Cannot assign requested address

But in the GIT HUB it is given to use the below.

hpilo-exporter [--address=0.0.0.0 --port=9416 --endpoint="/metrics"]

Do I have to change the address or not, when I changed I'm getting the error as shown above. Please help me with the configuration.
Reply all
Reply to author
Forward
0 new messages