[rrd-users] Monitoring Citrix Servers - WMI/VBscript

jasonoz jason.steininger at gmail.com
Sat Jan 5 02:35:55 CET 2008


Hello,

I have created a VBScript that monitors active/disconnected citrix sessions
and then displays it on a website. Now I would like to graph the data so
that there is a history and so a friend mentioned rddtool. It was working
for a bit but found that there were a lot of gaps in the graph and as I was
using examples from other posts I decided to start again from scratch and
learn this tool. But now I'm not getting anything displayed in the graphs.
As far as I can see, and after following the tutorials, everything looks
fine - obviously it's not. I want to keep a history of the sessions during a
24hr period and also over 1 month. Any help would be appreciated. 

Create the DB
---
strReturn = oShell.Run ("rrdtool create .\data\" & strComputer &
"-citrix.rrd --step 300 DS:active:GAUGE:600:U:U DS:disc:GAUGE:600:U:U
RRA:AVERAGE:0.5:12:24 RRA:AVERAGE:0.5:288:31")

Update the DB - script runs every 5 mins
---
strReturn = objShell.Run("rrdtool update .\data\" & strComputer &
"-citrix.rrd N:" & strActiveSessions & ":" & strDiscSessions & "") 

Create the Graphs - script runs every 5 mins
---
    strReturn = objShell.Run("rrdtool graph .\data\" & strComputer &
"-citrix.png -w 700 -h 75 --vertical-label ""Citrix Sessions"" 
DEF:DATA1=.\data\" & strComputer & "-citrix.rrd:active:AVERAGE
LINE3:DATA1#FF0000:'Active' DEF:DATA2=.\data\" & strComputer &
"-citrix.rrd:disc:AVERAGE LINE3:DATA2#0000FF:'Disc'") 

XML Dump
---
http://www.nabble.com/file/p14626638/server-citrix.xml server-citrix.xml 

-- 
View this message in context: http://www.nabble.com/Monitoring-Citrix-Servers---WMI-VBscript-tp14626638p14626638.html
Sent from the RRDTool - User mailing list archive at Nabble.com.



More information about the rrd-users mailing list