Ad Widget

Collapse

Proxmox VE by HTTP - How to create a host for monitoring a Proxmox cluster

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wyang
    Member
    • Mar 2016
    • 93

    #1

    Proxmox VE by HTTP - How to create a host for monitoring a Proxmox cluster

    Hello,

    I have Zabbix 6.0 LTS installed and would like to monitor a Proxmox cluster using the template Proxmox VE by HTTP.

    A user and an API token with Privilege Separation unchecked for the user have been created, and the user has been assigned the PVEAuditor role​ for path "/". API calls, like curl -H "Authorization: PVEAPIToken=<user>=<API token>" https://<FQDN of a node>:8006/api2/json//nodes, work well.

    I create a host on Zabbix frontend
    • Host name: FQDN of a node in the Proxmox cluster
    • Host macros for {$PVE.TOKEN.ID} and {$PVE.TOKEN.SECRET}
    However, alert Proxmox: API service not available​ is triggered for the host. I was wondering what are missing for monitoring a Proxmox cluster. Any advice? Thanks!

  • wyang
    Member
    • Mar 2016
    • 93

    #2
    Looking forward to hearing from you. Any advice would be much appreciated!!!

    Comment

    • wyang
      Member
      • Mar 2016
      • 93

      #3
      Looking forward to hearing from you. Any advice would be much appreciated!!!

      Comment

      • wyang
        Member
        • Mar 2016
        • 93

        #4
        For another Proxmox cluster, I did similar configs. No luck. It looks a piece is missing in my config that zabbix alert API service not available is triggered on hosts of the Proxmox clusters.

        Any advice would be much appreciated!!!​

        Comment

        • wyang
          Member
          • Mar 2016
          • 93

          #5
          Found the root cause: although neither Zabbix agent nor SNMPd installed on Proxmox hosts, configuring a Zabbix host to monitor a Proxmox cluster still need adding an interface for the host, which will enable Zabbix getting value for the macro {HOST.CONN}

          Comment

          Working...