Results 1 to 5 of 5

Thread: [SOLVED] CHECK_ESX3

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Location
    paris
    Posts
    7

    [SOLVED] CHECK_ESX3

    Hi,


    I try to use the vmware pack, all services die.
    In log file i see
    Code:
    SERVICE ALERT: vmware-server;Net;CRITICAL;HARD;2;CHECK_ESX3.PL CRITICAL - Error: Impossible d'effectuer une connexion car le nom d'utilisateur ou le mot de passe est incorrect.
    <<Unable to make a connection because the user name or password is incorrect>> so my username or password are wrong... but if use the command found in "packs/virtualization/vmware/esx/commands.cfg" in my shell (with var value from macros.cfg) it work.
    [code=bash]
    /usr/local/shinken/etc# /usr/local/shinken/libexec/check_esx3.pl -D vcenter_fqdn -H esx_fqdn -u shinken_user -p my_passwd -l net -S /tmp/vcenter.session
    CHECK_ESX3.PL OK - net receive=353.00 KBps, send=6.00 KBps, all 5 NICs are connected | net_receive=353.00KBps;; net_send=6.00KBps;; OK_NICs=5;; Bad_NICs=0;;
    [/code]

    any idee to trace this error? I look in check_esx3.pl and activate trace in commands.cfg no sucess :
    Un utilisateur pret Ó sacrifier un peu de liberte pour un peu de simplicite ne merite ni l'un ni l'autre, et finit par perdre les deux. Denis Bodor

  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: CHECK_ESX3

    Maybe bad characters in your password or user name?
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3
    Junior Member
    Join Date
    Nov 2013
    Location
    paris
    Posts
    7

    [SOLVED] Re: CHECK_ESX3

    after added a trace in file /usr/local/share/perl/5.14.2/VMware/VICommon.pm at "package Util" "sub connect" like "print "url:". $url ." username:". $username ."\n";" i see a sysadmin account and not the sinken service account on the webUI :P
    First: i kill the nagios sysadmin >
    Second: i remove his login from resource.cfg
    finally: copy the ressource.cfg on all shinken server and restart all demaon


    Now the VMware pack work !


    see you
    Un utilisateur pret Ó sacrifier un peu de liberte pour un peu de simplicite ne merite ni l'un ni l'autre, et finit par perdre les deux. Denis Bodor

  4. #4
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: [SOLVED] CHECK_ESX3

    Great

    And let your nagios sysadmin RIP ;D
    No direct support by personal message. Please open a thread so everyone can see the solution

  5. #5
    A solved product and stint are entailed for the manipulation of the firms for the reforms. The role of the bestessays is inquired for the basis for the suffering of the counts for parts. The participant is inducted for the width of the blocks. The margin displaced for the arrangement of the blocks for the vita paths for the fundamental paths for all kids.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •