Ad Widget

Collapse

Monitoring ESXi hosts via SNMP (Alerting when down)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shamrock20
    Junior Member
    • Jul 2020
    • 5

    #1

    Monitoring ESXi hosts via SNMP (Alerting when down)

    Hi All,

    I currently have SNMP monitoring setup to monitor our ESXi hosts. I mainly use ICMP ping and SNMP No Data to monitor the hosts. But lately we have had issues where the ESXi host will get disconnected from vCenter due to underlying storage issues, causing all VMs running on it to have issues. Even thought the ESXi is having issues, ICMP pings and SNMP data is received, hence not alerting us when the host is technically down.

    Does anyone know if it is possible to query the ESXi hosts via SNMP to see if it is disconnected state from vCenter ?

    I plan to add some monitoring to query all runnings VMs on a host, to check if they go into a disconnected state and also add monitors for data stores to check if they are in read/write state. But when doing a snmpwalk I could see if there was any values to check if it was in a disconnected state.

    Any help will be appreciated.

    Thanks
  • csmall
    Member
    • Jun 2020
    • 70

    #2
    I'm interested in what you end up doing.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      When the server disconnects from vCenter, the vCenter state changes and it sends a trap ".1.3.6.1.4.1.6876.4.3.0.203"

      Comment

      • shamrock20
        Junior Member
        • Jul 2020
        • 5

        #4
        Originally posted by Hamardaban
        When the server disconnects from vCenter, the vCenter state changes and it sends a trap ".1.3.6.1.4.1.6876.4.3.0.203"
        But anyway to get that via SNMP pull, rather than SNMP trap. We had issues where vCSA was on the problem host and hence vCenter was down and wouldn't be able to send the trap.

        Comment

        • Hamardaban
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • May 2019
          • 2713

          #5
          Use ESXI monitoring. There is a metric for the overall state of the host.
          This is certainly not what you want, but maybe you should reconsider your wishes in accordance with the possibilities?

          Comment

          • shamrock20
            Junior Member
            • Jul 2020
            • 5

            #6
            Originally posted by Hamardaban
            Use ESXI monitoring. There is a metric for the overall state of the host.
            This is certainly not what you want, but maybe you should reconsider your wishes in accordance with the possibilities?
            Yep - thanks, I just wanted to know if it was possible in the first place. I am working on another solution using a external script that may work as I want it to.

            Comment

            Working...