Open Discussion

Expand all | Collapse all

Suggestion for Web Console

  • 1.  Suggestion for Web Console

    Posted 05-24-2018 08:24

    I login to the Web Console every morning change to active devices and scan down through the devices looking at last activity to get a heads up on possible devices that are not backing up.

    Currently the name column can be resorted with the down arrow next to name.
    Would it be possible to add that function to the "Last Backup Activity" column without running a report?

    Cliff Goeke
    IT Manager
    Fayetteville AR

  • 2.  RE: Suggestion for Web Console

    Posted 05-25-2018 09:38
    Which code42 server version and browser are you running?

    With 6.5.2 and Firefox, i can re-order the last backup activity column (under Devices menu). Is this what you are describing?

    Mitchell Aubitz
    Desktop Support Specialist
    Eden Prairie MN

  • 3.  RE: Suggestion for Web Console

    Posted 05-25-2018 10:06
    Good morning Mitchell. Thanks for the reply. 
    My organization is fully cloud hosted. So I should have said the 'cloud web console'. 
    I don't see a version number. The most current version is always presented. 
    The only column that is sortable is the name. 

    Sent from my iPhone

  • 4.  RE: Suggestion for Web Console

    Posted 06-06-2018 10:42
    Hi @Clifford Goeke,

    Thank you for suggesting this possible enhancement to the Console! I've passed your suggestion to the rest of the product management team for consideration.

    Patrick Geiger
    Sr. Program Manager

  • 5.  RE: Suggestion for Web Console

    Posted 06-07-2018 11:13
    It is also possible to have the ability to add fields (i.e.  OS version,  last connected) or delete fields and sort to the console so I can see everything I need.  Right now I have to run reports and then sort it.  It will save me a lot of time.  Thanks.

    Minda Tolentino
    Computer Specialist
    Dickinson College

  • 6.  RE: Suggestion for Web Console

    Posted 06-07-2018 11:46
    Hi Cliff and Minda,

    I'm not sure if you guys have played around with the API yet, but I use it constantly. I do most of my work in PHP, but it can also be done using PowerShell, although I haven't used it for reporting yet. I have a checklist of things I have to sign off on every morning, and it's a complete pain to have to log into 20 different websites and click 40 links at each site to pull all of the data I need by 9am.

    So I started to use the Code42 API to generate files in a cronjob, which I then feed into PHP for a "daily stats" page. The cronjobs are simple curl commands that talk to the auth server and pull down CSV files for me. One report that I set up is a stalecomputers-30d.php report that generates a webpage with all devices that haven't talked in 30 days. I can share both scripts with you guys if it would be helpful.

    If you'd like to poke around with the api, all auth servers including c42's cloud have a /apidocviewer page. We have an internal auth server, but all versions work the same, just go to https://<your_auth_server_url>:4285/apidocviewer. Use the link for your auth server so that the API commands and syntax match the version of the auth server you are on.

    Gairy Spiers
    Systems/IT Architect Lead
    Atlanta GA

  • 7.  RE: Suggestion for Web Console

    Posted 06-07-2018 13:19
    Most of these solutions are slanted towards a local server.  
    My installation is fully cloud hosted. 

    Sent from my iPhone

  • 8.  RE: Suggestion for Web Console

    Posted 06-07-2018 14:13
    If you are using the cloud version, API version 1 should still work, which can make calls to "Computer" objects. The cloud version of apidocviewer is here:

    If you are using Mac or Linux, you can use curl to pull down a CSV version of all active computers.

    curl -k -u <username>:<password> "https://<url_of_hosted_auth>:4285/api/Computer?active=true&export=csv"

    If you look at the output and find that the "name" field is in column 2 and the "lastConected" field is in column 10, you can remove everything you don't want to see with this.

    curl -k -u <username>:<password> "https://<url_of_hosted_auth>:4285/api/Computer?active=true&export=csv" | cut -d ',' -f2,10

    After you pull this, you can with a grep for dates in lastConnected that are older than x days. Another really fun piece to play with is scheduling this so it's sitting in your folder Monday morning at 7am without having to log into anything.

    I haven't played with API and PowerShell yet, but I believe this is fairly close to what would work, minus the passing of credentials.

    Invoke-RestMethod -Uri "https://<url_of_hosted_auth>:4285/api/Computer?active=true" | Format-Table -Property name, lastConnected

    Gairy Spiers
    Systems/IT Architect Lead
    Atlanta GA