Menu

can't contact the proxy

Help
Anonymous
2009-11-12
2013-04-24
  • Anonymous

    Anonymous - 2009-11-12

    hi,

    i would like to know if i set up correctly my configuration.

    in the file web.config, i 've changed like this

    <add key="timeout" value="15" />

    <add key="default creds" value="IBANT\admin:admin"/>

    <add key="creds for exchangeserver" value="username:passwd"/>

    where admin:admin are the loggin and the password for the
    administration in my network

    On the nagios server , i've changed wmiproxy.conf

    wmi proxy config

    protocol = http

    host = 10.100.43.42

    path = /wmiproxy/wmiproxy.asmx

    namespace = http://10.100.43.42/WebServices/WMIProxy

    username = IBANT\admin

    password = admin

    is it correct ?
    i've acces to all files i published on the IIS server like this
    http://10.100.43.42/wmiproxy/Web.config for example

    but when i want to test the plugin

    ./check_wmiproxy.pl diskfree 10.100.41.6 "d=c|w=15|c=10"

    i've got this answer from the nagios server

    405 Method not allowed at ./check_wmiproxy.pl line 68

    i don't how to solve this problem ! could you help me ?

    thank's beforhands

    Poisson Nicolas

     
  • Brent Ashley

    Brent Ashley - 2009-12-04

    Hi Nicolas, sorry my reply took so long.

    You need to keep the namespace as it is in the distribution file

    http://kwx.ca/WebServices/WMIProxy

    This is not a reference to the server, it is a program namespace.

     

Log in to post a comment.