KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

About Unix

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
fred



Joined: 15 Apr 2002
Posts: 1

PostPosted: Tue Apr 16, 2002 2:59 am    Post subject: Reply with quote

Hello,

when will we be able to do tests on unix plateforms ??
Does Alex think about this posibility?

Thanks

Fred
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12801
Location: USA

PostPosted: Tue Apr 16, 2002 10:45 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
y.beyet



Joined: 16 Apr 2002
Posts: 62
Location: France

PostPosted: Wed Apr 17, 2002 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12801
Location: USA

PostPosted: Wed Apr 17, 2002 5:03 pm    Post subject: Reply with quote

Cool
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index