View previous topic :: View next topic |
Author |
Message |
fred
Joined: 15 Apr 2002 Posts: 1
|
Posted: Tue Apr 16, 2002 2:59 am Post subject: |
|
|
Hello,
when will we be able to do tests on unix plateforms ??
Does Alex think about this posibility?
Thanks
Fred
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Tue Apr 16, 2002 10:45 am Post subject: |
|
|
Yes, I am thinking. I am thinking about remote agents (for different platforms) for sending information to central console (HostMonitor). Expected around version 3.60
Regards
Alex
|
|
Back to top |
|
|
y.beyet
Joined: 16 Apr 2002 Posts: 62 Location: France
|
Posted: Wed Apr 17, 2002 3:01 am Post subject: |
|
|
I use vbs script 5.6 for Unix supervision. I do a rsh, the result is passed to the ERRORLEVEL with the vbs.
With the rsh you can do what you want.
Works fine in 1.xx and 3.xx !!
for a cpu test in Hostmonitor : use external program test
command line : cscript //B "C:Program FilesHostMonitorscriptsvmstat.vbs" <machine> root
the vmstat.vbs contain for solaris 2.7 :
Set objArgs = WScript.Arguments
vServer = objArgs(0)
vUser = objArgs(1)
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
vCmd = "rsh " & vServer & " -l " & vUser & " val=`vmstat 1 2|tail -1|awk '{print $22}'`;expr 100 - $val"
Set oExec = WshShell.Exec(vCmd)
wscript.quit (Cint(oExec.StdOut.Read(3)))
[ This Message was edited by: y.beyet on 2002-04-17 03:07 ] |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Wed Apr 17, 2002 5:03 pm Post subject: |
|
|
Cool |
|
Back to top |
|
|
|