Alex91 Trainee

  • Male
  • 26
  • from Hamburg, Germany
  • Member since Aug 21st 2017
  • Last Activity:
Posts
32
Points
165
Profile Hits
19
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    Okay thanks, got it... for those who have no clue like me:

    cd /tmp/

    git clone https://github.com/BaldMansMojo/check_vmware_esx.git 

    (or whatever else you want :O)
    (Code, 6 lines)



    cd check_vmware_esx

    make all

    (Code, 5 lines)



    And then there is a…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    (Quote from dnsmichi)


    You mean where i downloaded that from GitHub to, with this archive and repository thingy? I didn't know how that works so i just put the files there with WinSCP =)

    ... was that wrong ? =/
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    Well it seems like it is the Nagios user:



    (Code, 4 lines)



    Version:

    (Code, 30 lines)



    (Quote)



    Well what commands in particular, file locations and permissions? Well i showed you the one for "ls -lah /usr/lib/nagios/vmware/modules", the New output…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    Well.. i tried that command over and over... changed the check_vmware_esxi from modules to plugin folder etc. but make all is not working.

    I also don't really know if that's a solution to the problem... i mean it says permission so what does it help me…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    Did you intent that i use that Docker container thing or was that only for you beeing able to show me the commands and delete it afterwards?
    Since its not working, it keeps saying i need to install it with apt-get install docker - already did that…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    (Quote from dnsmichi)


    Well, it seems like the * is supposed to make all files in the directory executable... i already did that by hand before =) (they are all green) so that command led to no change.

    Still permission issues =/
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    (Quote from dnsmichi)


    I did that with the ownerchange, even tough it already worked before that.

    After the ownerchange its not working anymore because of the Permissions =)

    (Code, 2 lines)




    Im irritated... isnt the director using the "API" user? Why…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    (Quote from dnsmichi)

    Hi, thats the directory Tree:
    (amr is my user, created that on the Ubuntu installation)


    (Code, 25 lines)



    The second thing = i totally oversaw that hastag... without it it seems to work now.. but i didnt put it there it was there…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    Well okay... this is making me crazy and i really do not understand it... i changed all the .pm files in the /usr/lib/nagios/vmware/modules/ directory to be useable with "chmod +x name", then i was able to use it both on Commandline with the command…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    (Quote from dnsmichi)

    Did that with "sudo ln -s /usr/lib/nagios/plugins/check_vmware_esx.pl /usr/lib/nagios/plugins/check_vmware_esx" ... and now.. without a reason when i start the Plugin with or without .pl (its working both now =) ) it gives me the…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    Thanks alot... seems like i missed that Part in the Readme... =(

    Check works now, i had to install a older version of "libwww-perl": Version 5.837.

    The only issue im still having is that the Icinga director uses the PluginDir + "Check_vmware_esx" and…
  • Alex91

    Replied to the thread Womit überwacht Ihr ESXi Hosts?.
    Post
    So.. i had the same Issue with:

    "Can't locate VMware/VIRuntime.pm"

    Reinstall fixed it, then i had a error:

    "Can't locate Time/Duration.pm"

    Fixed it with "cpan Time::Duration" (https://github.com/BaldMansMojo/check_vmware_esx/issues/70).

    Now i am…
  • Alex91

    Replied to the thread How to monitor Vmware Esxi 6.5.
    Post
    (Quote from DataSam)


    Hab ich doch, seit 2 Wochen lese ich diese Doku, Tag für Tag =)
  • Alex91

    Replied to the thread How to monitor Vmware Esxi 6.5.
    Post
    (Quote from DataSam)


    Aber wie führt dein Icinga das mit Verbose aus?

    Ich benutzte es über den director und im Preview sieht es so aus:


    (Code, 22 lines)





    Auf meinem Monitoring server gibt es in zones.d allerdings nur nen Readme und den api_user.conf…
  • Alex91

    Replied to the thread How to monitor Vmware Esxi 6.5.
    Post
    (Quote from dnsmichi)

    Yeah.. it seems like that thing does not give much information in General....

    Even in Verbose its Bullshit :O


    (Code, 59 lines)


    I was just looking for a way to Monitor an ESXI host, and everybody said take "check_esxi_hardware.py"…
  • Alex91

    Replied to the thread How to monitor Vmware Esxi 6.5.
    Post
    (Quote from dnsmichi)


    1. and 3. Done. I didn't see there is actually a "ready" option called "esxi_hardware" in the commands, my failure.
    2. Used that command and after that it worked, Thanks alot.
    1. - 3. in the Bottom (Service Parameters) done that…
  • Alex91

    Replied to the thread How to monitor Vmware Esxi 6.5.
    Post
    (Quote from DataSam)

    What do you mean?

    Im Using "Plugin Check Command" in the Icingadirector / Command Tab.
  • Alex91

    Replied to the thread How to monitor Vmware Esxi 6.5.
    Post
    Well, i have now been able to put the check_esxi_hardware.py into /etc/nagios-plugins/config/.

    The only issue left is that i tried to add this to the Icinga Director into the Commands, i tried to put it there just as the Command is used on the Monitoring…
  • Alex91

    Replied to the thread How to monitor Vmware Esxi 6.5.
    Post
    Well, i use my Chances to Graverobb this Thread, since its not Closed and just 6 days old =)


    I installed python and pywbem (apt-get install python-pywbem) to Monitor an ESXI Server with this "check_esxi_hardware.py" Plugin.
    Now when i try to use it with…
  • Its strange, since of the Documentation i exluded the conf.d folder where the api-users.conf was, i copied that file to zones.d because somebody said that would work - it didnt. Then i just reactivated the conf.d folder... and after some restarts i got…