Ad Widget

Collapse

POC Citrix XenServer Management API module

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #1

    POC Citrix XenServer Management API module

    Recently I was asked about monitoring possibilities regarding Citrix XenServer in a similar way to native virtual machine monitoring based on VMware.

    I quickly came across ZABBIX XEN Monitoring Module whose source code is unfortunately not public yet.

    Since I'm not interested at all in anything when not having access to the source code and being too eager to get some first impressions, I decided to spend a couple of hours for a POC.

    Find attached the code that I've hacked together. I can't put enough emphasis on the fact that it's just a proof of concept. The module is inconsistent, incomplete and probably full of memory leaks.
    The session management is horrible, since it creates a new handle for every request - what is especially annoying when using SSL

    My conclusion based on the experiences I made so far is that it would likely make much more sense to have it indeed implemented similar to VMware monitoring (dedicated process and cache, etc.).
    The only alternative I currently could think of is having an item bulk querying all metrics of an entity and populating many other items via Zabbix trapper protocol.

    However, this post should only provide a space to dump what I hacked together before tossing it.
    Maybe it's somehow interesting in some way to someone.
    Attached Files
Working...