Rrdtool logging bug? I'm not sure what the salive process check returns in
the extra info field %e but you could achieve this by running a wmi script to
write to a file and have SA read the file first line.
On Error Resume Next
StrComputer = "."
Set oWmi = Getobject("winmgmts:{impersonationlevel=impersonate}!//" &
StrComputer & "/root/cimv2")
Set oColProcess = oWmi.ExecQuery("Select * From Win32_Process Where
Name='notepad.exe'")
i = 0
For Each Process in oColProcess
wscript.echo Process.name
i=i+1
Next
wscript.echo "Notepad is open " & i & " times"
Set ofs = CreateObject("Scripting.filesystemObject")
Set oTextfile = ofs.createtextfile("C:\SAliveChk.txt",1)
oTextFile.writeline "Notepad is open " & i & " times"
Sorry script was wriiten in a hurry so there is no error checking.
Mark Perry
Systems & Networks Administrator
Telephonetics VIP Ltd
âmaking sound
business senseâ
Simply dial +44 (0)1442 242 242 and ask for me by name.
www.telephoneticsVIP.co.uk (http://www.telephoneticsvip.co.uk/)
Providing innovative hosted and customer premises speech recognition and voice
automation solutions.
Disclaimer: available at
http://www.telephoneticsVIP.co.uk/telephonetics/emaildisclaimer.jsp
(http://www.telephoneticsvip.co.uk/telephonetics/emaildisclaimer.jsp) or by
sending email to <mailto:[EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) applies
to this email.
Registered address: 7th Floor, Hamilton House, 111 Marlowes, Hemel Hempstead,
Hertfordshire HP1 1BB
Registered in England No: 2831215
--------------------------------------------------------------------------------
From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of
Clarke, Garry (Infrastructure Engineer)
Sent: 20 June 2007 11:31
To: Servers Alive Discussion List
Subject: RE: [SA-list] Rrdtool logging bug?
Thanks Dirk. What I am trying to graph is the no. of instances that a process
is running (e.g. notepad open 10 times at 6pm and 25 times at 9pm). Anyone any
ideas as to how this could be achieved?
Garry.
From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dirk
Bulinckx
Sent: Wednesday, June 20, 2007 8:21 PM
To: Servers Alive Discussion List
Subject: RE: [SA-list] Rrdtool logging bug?

This is no a bug, this is normal.
The RRDTOOLs logging logs numbers only, while the result of a process check can
be the name (string), so this can't be logged.
Dirk Bulinckx.
--------------------------------------------------------------------------------
From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of
Clarke, Garry (Infrastructure Engineer)
Sent: Wednesday, June 20, 2007 11:16 AM
To: Servers Alive Discussion List
Subject: [SA-list] Rrdtool logging bug?
Iâââ‰â¢m using v6.1.2133. When I try to graph NT Process (no. of
instances running) using RRDTOOL and enable checkresult logging
âââ‰â¬Å nothing works (cant CREATE and canâââ‰â¢t
GRAPH). I have tested diskspace checks and NT Perfmon checks and they work
fine. Only NT Process check seems to not work.
Garry.
G.A. Clarke
IT Senior Systems Engineer
PBLMedia Ltd.
Level 7, 54-58 Park Street
Sydney NSW 2000
Tel : +61 2 92828136
Mob : +61 (0) 418412133
Email : [EMAIL PROTECTED]
_____________________________________________________________________
The information contained in this e-mail communication may be
confidential. You should only read, disclose, re-transmit, copy,
distribute, act in reliance on or commercialise the information if
you are authorised to do so. If you are not the intended recipient of
this e-mail communication, please immediately notify the sender by
e-mail and then destroy any electronic or paper copy of this message.
Any views expressed in this e-mail communication are those of the
individual sender, except where the sender specifically states them
to be the views of PBLMedia. PBLMedia does not represent, warrant or guarantee
that the integrity of this communication has been maintained nor that
the communication is free of errors, virus or interference.
To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure
that they are not send to the list nor to the individual members of the list
that send a message. Doing this will get you removed from the list.
To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure
that they are not send to the list nor to the individual members of the list
that send a message. Doing this will get you removed from the list.
_____________________________________________________________________
The information contained in this e-mail communication may be
confidential. You should only read, disclose, re-transmit, copy,
distribute, act in reliance on or commercialise the information if
you are authorised to do so. If you are not the intended recipient of
this e-mail communication, please immediately notify the sender by
e-mail and then destroy any electronic or paper copy of this message.
Any views expressed in this e-mail communication are those of the
individual sender, except where the sender specifically states them
to be the views of PBLMedia. PBLMedia does not represent, warrant or guarantee
that the integrity of this communication has been maintained nor that
the communication is free of errors, virus or interference.
To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure
that they are not send to the list nor to the individual members of the list
that send a message. Doing this will get you removed from the list.
To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure
that they are not send to the list nor to the individual members of the list
that send a message. Doing this will get you removed from the list.