How can I check logins to stoneware from a product like Binary Canary?

How can I check logins to stoneware from a product like Binary Canary?

The following information will assist you in configuring a server check from Binary Canary and calling a Stoneware provided JSP.

These instructions assumed you have configured an account on Binary Canary and have notifications configured. 

Something to keep in mind, whatever server monitor software that you use please be sure to not overload the webNetwork servers with constant checks. If you just do a port check, make sure that the check actually opens, then properly closes the port during the test rather than dropping the connection.  If the check opens the connection and drops it without closing it then you cause the webNetwork server to build up open connections.

In your system create a user that has access to nothing except login to portal. 
The best way to do this is to make an OU under the stoneware container and call it something like ServiceAccounts.  Use webadmin to set that serviceaccount OU to an inheritance level of 0.  Create the user in there.  This makes the account not have access to any links in the portal.

A script can be found /stoneware/webserv/util/examples/authCheck/authCheck.jsp, which can be called using a monitoring system.  

Copy the file to /stoneware/webserv/util/

Edit the authCheck.jsp and add the username and password:
 String userID = "some-non-privileged-username";
 String password = "password";


Depending on your environment you may have to edit the jsp and change the CN in the line :
WebNetworkAuthenticator.setAttribute( waSession, "cn", userID );

To something like samaccountname.  Test as it first and if that does not work adjust the JSP if it does not produce a Success.

Next set up the monitor system to call https://portal.example-cloud.com/util/authCheck.jsp and trigger a failure message if it does not see "Success" comes back.  

To do this on Binary Canary do the following:
  1. Click Add Monitor
  2. Enter in a display name like portal login
  3. Monitor Type: Simple Http Monitor
  4. Status : Active
  5. Frequency : 15 min
  6. website : https://portal.example-cloud.com/util/authCheck.jsp
  7. Search page for : Text  Contains  Success
  8. Failure Message : Problem logging into portal
  9. Monitoring Locations : Choose a location to perform this check from
  10. Choose a notification, Wait for Mins, Contact person, Contact method, Repeat every and Maximum sends.
  11. Save and wait 15 min and check the Reporting options for the results.


Nagios is another common free server checker program.  However the configuration is much more complex to configure.  There are many books and internet sites devoted to Nagios that can be referenced.

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Lenovo Unified Workspace End-of-Life Questions and Answers

        Will the shutdown of LUW servers and access to downloads affect my server licensing? No, the shutdown of the customer servers and access to the product and licensing downloads will not affect your server licensing. This license is downloaded and ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • LanSchool Documentation Guides

        LanSchool Classic Teacher Console The LanSchool Teacher Console is the interface teachers will use to manage their classroom and students. It contains all the tools necessary for a teacher to effectively interact with students and create a ...
      • Lenovo Unified Workspace 7.0.1.41 Released

        Highlights of Unified Workspace 7.0.1.41 Before you install: Please view the installation notes here. 7.0.1.41 requires a 7.0 license file. Below is a list of enhancements and fixes for Unified Workspace 7.0.1.41 Updated Log4j Updated Java Updated ...
      • Related Articles

      • Stoneware Environment Check Utility

        Problem:  Need to run Stoneware Environment Check (Env Check) for pre-installation, troubleshoot issues or general health check of directory and DNS. Solution(s):  Once utility is installed and launched, you will find three options to choose from on ...
      • Alternative Product for Unified Workspace

        Unfortunately, Lenovo Software does not have an alternative product in which to migrate. To our knowledge, there just isn't any other single product out there that can do all that Lenovo Unified Workspace (LUW) was able to do. In searching for ...
      • Stoneware Utilities

        Stoneware Utilities Env Check - Windows Environment Check Utility - Full Installation (Gui only) 51 MB Env Check - Linux Environment Check Utility - Full Installation ( Gui only ) 52 MB Env Check - Mac Environment Check Utility - Full Installation ( ...
      • Working with Binary Data in Report Services

        Quick Start Guide - Binary Data This tutorial is designed as a quick "How Do I Work With Binary Data" tutorial.  It walks through the steps necessary to upload an image to a database.  Every webNetwork 6.0 installation ships with a database called ...
      • edir / NDS health check

        Common edir issues and how to do a health check. This information comes from an old Novell article, some specific information may not be valid anymore but the general concepts are.   Troubleshooting NDS Problems  Editor’s Note: "Technically Speaking" ...