Hi,

I have developed some perl code to show the number of Metaframe server connections  in 
a web page. Measurements are taken every 5 minutes by default. The system also shows 
the variation ratio in comparison to the previous measurement. In addition, alarms by 
mail or net message are generated in the case of server unavailability. I suppose that 
logging functionality can easily be incorporated in this code.

I will publish the code on my perl site (http://www.itefix.no/perlweb/index.html - 
under construction) very soon. If you are not so patient, then I can send you my code 
by mail. It requires some customization.

Best regards

Tevfik


----- Original Message ----- 
From: "Gallun, Benton" <>
To: <[EMAIL PROTECTED]>
Cc: <>
Sent: Monday, April 08, 2002 8:15 PM
Subject: Monitoring Connections (Perl, RM 1.0)


> Resource Manager should help with this, but I have not had good luck with
> it's statistic being reliable. Has anyone?
> 
> I wrote some Perl scripts which do just this.
> 
> Based on examples from "Win32 Perl Programming: The Standard Extensions
> Second Edition" by Dave Roth I used the Win32::Lanman library to enumerate
> servers in the environment, the list is paired down to those that I want by
> regular expression (entered on the command line), and connections from the
> servers are listed with some basic information about the connections....
> Connection are pinged and latency tested with the help of Net::ping and
> Time::HiRes.
> 
> I run this script via scheduler every ten minutes and at 11:55PM a report is
> run and emailed which details who has used the server and for how long, etc.
> 
> Daily reports can be run daily and look like this....
> 
> DATE 03/08/2002
> Unique users:12
>  smith_e      170min
> ....
> CITRIX03 10 connections
> CITRIX04 4 connections
> CITRIX06 36 connections
> CITRIXQA1 49 connections
> CITRIX01 318 connections
> Total number of minutes logged:4170
> Average number of concurrent users logged(assume over 24hrs):2.85
> Peak number of concurrent users logged(assume over 24hrs): 9
> 
> Contact me by email if you would like a copy of the logger or the report
> writer in Perl or .exe format.
> 
> Regards,
> Benton
> 
> 
> 
> Message: 10
>    Date: Mon, 8 Apr 2002 09:35:26 -0600
>    From: "Turman, David C." <[EMAIL PROTECTED]>
> Subject: Monitoring Usage
> 
> 
> Anyone know a good way to monitor and graph usage of a term
> Server/Citrix box over a period
> of a week or 2? I am looking for the number of users on the server
> primarily, plus maybe which
> app is being accessed. I checked perfmon, but didn't see anything
> obvious at first glance.
> I'm not wooried about performance, just number of sessions.
> 
> Thanks,
> David
> _______________________________________________
> Perl-Win32-Admin mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to