Ad Widget

Collapse

Monitoring VMWare ESX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Weazle
    Junior Member
    • Jul 2009
    • 1

    #16
    Originally posted by Tristan
    In my environment i monitor a lot of esx hosts and esx guests. I use the vmware perl scripts witch i modified a little, and user the zabbix sender(perl version) to send information to my zabbix server.
    These scripts run on my zabbix server
    It works like a charm!

    i monitor the following item form my datastores:
    Associated Hosts
    Available space
    Datastore Location
    Datastore name
    Filesystem
    Maximum capacity


    from my esx host:
    Boot time
    Cpu model
    Cpu speed
    Cpu usage
    Filesystem
    Hostname
    Network adapters
    Maintenance mode
    Memory Usage
    VMotion
    Physical memory
    Software on host
    Port number
    Reboot required

    and a lot of esx guest items.

    I someone need more info i can provide this.
    I am also very intersted

    Comment

    • tchjts1
      Senior Member
      • May 2008
      • 1605

      #17
      Originally posted by Weazle
      I am also very intersted

      Ditto here

      Comment

      • Tristan
        Senior Member
        • Feb 2008
        • 110

        #18
        Hello,

        My manager won't allow me to post these scripts

        but i can tell you what i have done.
        Vmware has the remote cli and it contains some perl scripts for getting some hostinfo, datastore info, and vmware guest info. You can run these scripts from any server.

        Some genius has written a zabbix sender perl script. So i used the vmware scripts, modified a bit, and use the zabbix sender perl script as a subroutine whitin it.

        so you run the perl scripts from a host against your esx server, and the scripts sends the info to the zabbix server.

        and ofcourse, i have created a template within zabbix.

        I'm sorry i can't post the scripts here, but it's easy to do. Perl is not so hard te program.

        Comment

        • eger
          Member
          • Nov 2006
          • 95

          #19
          Originally posted by Tristan
          Hello,

          My manager won't allow me to post these scripts

          but i can tell you what i have done.
          Vmware has the remote cli and it contains some perl scripts for getting some hostinfo, datastore info, and vmware guest info. You can run these scripts from any server.

          Some genius has written a zabbix sender perl script. So i used the vmware scripts, modified a bit, and use the zabbix sender perl script as a subroutine whitin it.

          so you run the perl scripts from a host against your esx server, and the scripts sends the info to the zabbix server.

          and ofcourse, i have created a template within zabbix.

          I'm sorry i can't post the scripts here, but it's easy to do. Perl is not so hard te program.
          This is a good start. I am starting to work on this idea using the sender program from a host like the VMA appliance. If I make any headway I will post my scripts here.

          Comment

          • rizwank
            Junior Member
            • May 2009
            • 23

            #20
            Scripts

            Where can one find the VMWare half of the scripts?

            Comment

            • eger
              Member
              • Nov 2006
              • 95

              #21
              Originally posted by rizwank
              Where can one find the VMWare half of the scripts?
              They are called the VCLI and VMA.

              The VCLI are a set of perl scripts which come as a SDK which you can install on Windows or Linux.

              The VMA is an appliance you install as a VM to use the scripts.

              Both can get information from vCenter or from ESX hosts directly.

              VCLI: http://www.vmware.com/support/developer/vcli/
              VMA: http://www.vmware.com/support/developer/vima/

              Comment

              • gavind
                Member
                • Mar 2013
                • 59

                #22
                Thanks for that link. I like it this way, especially I can run the vicfg- commands.

                Comment

                Working...