Does fetchstats still work?

Comments

5 comments

  • Avatar
    Reg Ham

    Fetchstats is made available by OpenDNS, but is not directly supported.

    0
    Comment actions Permalink
  • Avatar
    mapper50

    Thanks, Reg.  I understand that support for it is exclusively in the Community, which was very helpful when I initially set it up and used it for a couple of years before my persistent but futile efforts to fix a login failure. 

    Was trying to find out from current active users, if any, if it still worked, using VBS or Bash version, solving recent login error messages, etc.   

    0
    Comment actions Permalink
  • Avatar
    RachelGomez161999

    It depends on what version you want to use, bash script or WSH/VBS, and on what platform (OS) you want to use it.

    VBS: This is for Windows. Copy and paste fetchstats.vbs and save it as fetchstats.vbs. Then run it as explained in the same file:
    cscript //NoLogo fetchstats.vbs <username> <network-id> <YYYY-MM-DD> [<YYYY-MM-DD>]
    Bash: This is for Linux and Windows. For Windows you may need to download bash and cURL separetely, see links in the README file.
    You copy and paste fetchstats and save it under this name. Then, from a bash prompt, you execute (as described in the README file too):
    fetchstats <username> <network_id> <YYYY-MM-DD> [<YYYY-MM-DD>]

     

    Regards,

    Rachel Gomez

    0
    Comment actions Permalink
  • Avatar
    171918 (Edited )

    Sometime in the last 2 weeks, the fetchstats script stopped working (I'm using the VBS version for Windows). The response from the POST request seems to no longer include "Logging you in." for a successful login. I propose the following 2 changes to the script:

     
    regEx.Pattern = ".*Login failed.*"  'Change in regex pattern
    Set loginMatches = regEx.Execute(data)

    If loginMatches.Count <> 0 Then 'Change from = 0 to <> 0
    Wscript.StdErr.Write "Login Failed. Check username and password" & vbCrLf
    WScript.Quit 1
    End If
    0
    Comment actions Permalink
  • Avatar
    japjap

    Noticed that fetchstats is gone and doesnt work anymore. Tried your changes but it stops on asking password and nothing happens..no matter if you enter you password or not.

    0
    Comment actions Permalink

Please sign in to leave a comment.