Results 1 to 5 of 5

Thread: Windows Check_wmi_plus

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    10

    Windows Check_wmi_plus

    Hi,
    I'm trying shinken. And now I would to add some windows on it. So I had decided to use check_wmi_plus.
    It work when I launch the command in the terminal :
    Code:
    ./check_wmi_plus.pl -H 192.168.1.120 -u wmiagent -p wmiagent -m checkmem w 80 -c 90
    OK - Physical Memory: Total: 1,023.488MB - Used: 528.105MB (52%) - Free: 495.383MB (48%)|'Physical Memory Used'=553758720Bytes; 'Physical Memory Utilisation'=52%;90;
    And in the resources.cfg of shinken I got this:
    Code:
    # Active Directory and LDAP
    $DOMAIN$=MYDOMAIN
    $DOMAINUSERSHORT$=shinken_user
    $DOMAINUSER$=wmiagent
    $DOMAINPASSWORD$=wmiagent
    $LDAPBASE$=dc=eu,dc=society,dc=com
    But in the webui of shinken he tell me that :

    UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.

    Is it someone who know what to do?
    Thanks,
    Simon

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

    Re: Windows Check_wmi_plus

    If you are not using a domain account like DOMAIN\account way, look at the windows pack to see how the commands are called, I think it will put the DOMAIN each time.
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3
    Junior Member
    Join Date
    Apr 2013
    Posts
    10

    Re: Windows Check_wmi_plus

    ok thanks a lot.
    Should just modify in : /shinken/etc/packs/os/windows/commands.cfg
    Replace all : $_HOSTDOMAINUSER$ in "$_HOSTDOMAINUSERSHORT$"
    and set in resource.cfg
    $DOMAINUSERSHORT$=wmiagent

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

    Re: Windows Check_wmi_plus

    yes should do the trick
    No direct support by personal message. Please open a thread so everyone can see the solution

  5. #5
    Junior Member
    Join Date
    Jan 2020
    Posts
    1
    Windows are like platform that are provided to the users so that they can do anything with it that they want. Main purpose of assignment help uk is that it will guide you about updating and installing the windows.

Posting Permissions

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