Baan: SLM Monitor

SLM Monitor connects to your SLM server retrieves the XML output and parses it for a nice rolled up display like below.

Product Id: 10996
User Count: 29
gomartin         xx.yy.73.34     23847
 bsp752t             0.0.0.0     6317
     bsp         xx.yy.135.9     2794
jmterbor        xx.yy.21.104     15657
 hxjoshi        xx.yy.72.144     29975
     bsp        xx.yy.72.101     4817
  sdchen        xx.yy.72.108     16926
jamcginn        xx.yy.19.144     5311
 bsp715t             0.0.0.0     3848
     bsp       xx.yy.240.166     14560

To Configure the script modify it to add your servername and port.
Edit this line:

SlmCmd -mondts  -port 

In the file.

You can download slm_monitor.pl.gz v1.0
Note: works with SLM 7.0.0.8 – I lost access to SLM around this time.

Leave a comment

2 Comments.

  1. Hey Dave
    How do you execute this on a windows platform?

  2. Try ActivePerl for your perl program.

    You may need to install the XML::Simple module in activeperl, it should be easy to do via it’s package manager.

    You may also need to modify “SlmCmd” to match up with the windows version of the SLM client. (so maybe slmcmd.exe).

    Good luck, let me know how it goes!

Leave a Reply


[ Ctrl + Enter ]