Posts by Renzzoo

This forum was archived to /woltlab and is now in read-only mode. Please register a new account on our new community platform.

You can create a thread on the new site and link to an archived thread. This archive is available as knowledge base, safe and secured.

More details here.

    One question more

    im unsing command "vmware-esx-dc-runtime-listvms"

    its working well, bit slow but i dont mind

    how to i define "vmware_exlude" on this command

    when i add one host name it works, but when i want to add 2 host name it will not work
    i have used:

    host host

    host, host

    host,; host

    but nothing, only then it works when i define only one host name!

    got rid perl warning that link worked.

    Did that timeout fix, before it did take about 4 min to get data from vmware ESX, and did get somekind of SOAP error and lots off useless text.

    So that fix helpt little bit, did not get loads of usless text, did get actual result, but it did take about 1.30 min to get data... and in icinga it still say:

    "<Timeout exceeded.><Terminated by signal 9 (Killed).>"

    sometime, i do get data, but when i get data it first says:

    "Warning: The session being saved to '/var/spool/icinga2/tmp/' is expired or not authenticated."

    how do i fix?

    is it Perl problem, im using 5.22.2, should i use 5.18.4?

    yes, that was missing, did install it and it is working now.

    Now i have a question, i did test that plugin in command line, used this command:
    ./check_vmware_esx -H -f /location/of/authfile -S mem

    it did say me that:

    "Possible precedence issue with control flow operator at /usr/share/perl/5.22/VMware/ line 2147.

    Warning: The session being saved to '/tmp/' is expired or not authenticated." is my ESX address

    now that command did timeout, i did figure it out u i can only use "check_vmware_esx" only for vmware host monitoring...

    if i did use ESX host ip aadress, did gave me this error

    Possible precedence issue with control flow operator at /usr/share/perl/5.22/VMware/ line 2147.

    Server version '' at '' unsupported.

    In Icinga2 Director u have miljon ESX commands, now question is

    What command i need to use to check my Vmware ESX 6.5 CPU, DISK, MEM etc.

    What command i need to use to check if host is alive in Vmware ESX, using check_cmware_esx plugin

    Or is there some other way to monitor ESX hardware????????????????????

    Now made some progress, so wat i did

    1. installed vSphere SDK Perl, u need to install on icinga2 server where is u icinga2 is

    Used this command:

    1. sudo apt-get install lib32z1 lib32ncurses5 build-essential uuid uuid-dev libssl-dev perl-doc libxml-libxml-perl libcrypt-ssleay-perl libsoap-lite-perl libmodule-build-perl

    2. i did figure it out if u want to use check_vmware_esx whit directori u need to but the file

    u need to use command "make all" if u download the plugin, and then move that file in the plugins folder, then it works

    but gettin error right now:

    1. Can't locate VMware/ in @INC (you may need to install the VMware::VIRuntime module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.2 /usr/local/share/perl/5.22.2 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/lib/nagios/plugins/check_vmware_esx line 7576.
    2. BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/check_vmware_esx line 7576.

    so how i fix that, or wat i did wrong?

    Can u help me monitor vmware esx 6.5?

    How do i get it working, i want to monitor ESX disk, cpu, ETC!

    I have installed Icinga2 on my ubuntu 16.04, im using icingaweb2 and icinga Director to deploy my configs!

    So i did found:
    First install the VMware Perl SDK. (Where i install it, on my ubuntu 16.04 or ESX 6.5 wat i want to monitor???)

    And how i install it, on my ubuntu i did found how to install it, but do i have to install it on my ubuntu or ESX.

    Second install the plugin:

    So The Perl library needs to be installed on the server where you put the plugin onto. Okey i get it.

    But i want to get it working whit Director i need them to "make all"???

    I cannot figur it out how to monitor ESX 6.5 whit icinga2. ||||||

    Anyone willing to help me? :saint::saint::saint:

    I'know that feeling man... im in the same situatio.

    Did you get it working whit "check_vmware_esx" and how did u get it working?

    i have like no idea where to install it, how to install it etc.

    Even dont find any good guides to get it working!

    And how i install SDK Perl to my ESX system!

    Have u any clue how to do it?


    I have installed icinga2 on ubuntu 16.04, and using apatche2 and php 5.6

    i did install vsphare on my icinga director, but when i try to add sorce then it says "The PHP SOAP extension (php-soap) is not installed/enabled"

    Yea i did install "apt-get install php-soap" restarted my apatche service but still getting that error, restarter whole server and nothing.

    im wondering if im getting php7.0 soap or somthing like that.

    How i get it working whit php5.6

    Or is any why to update to php7.0 without reinstalling icinga2 etc, i have like 55 host configured i dont want to add them agian...


    I have setup like 40+ windwos server to monitor on my icinga.

    i have setup host IP aadres as IDS ips addres, so its ruuter wide area address. it monitors all services and its right data etc.

    But when host goes down, it show all services "unknow" but says host is up and services all are "unknow"

    How do i config it like that is shows me host is "Down"



    Got it myself working, it is easy.

    In icinga director you have command tab, find there windows disk check command and there u have filed tab and add disk_win_exclude.

    After that u have costum field in service tab, and just there add a disk lether like this "C:" and u are dont!


    I want to ask how i can add disk exception, so it will not monitor that disk, i have some backup disk and i dont want to monitor them, it is in windows access denied!

    So my question is how i add exception to one drive so it will not monitor it, but monitors rest disks??

    It only shows right now that one this is "failed to access!" and it will not show rest disk what is okey.

    Added a SH