ActiveXperts
Network Monitor


 Product Overview

 Built-in checks:
 
 Download (.exe)

 Brochure (.pdf)

 Manual (.pdf)

 Release Notes


Support

 Knowledge Base

 Forum

 Contact Support


Purchase

 Licensing

 Pricing

 Order now


Some quotes

 
 Windows&.NET Magazine:
 "Small,smart & very handy"
 
 MonitorTools.com Review:
 "Extremely easy to use,
 great value for money!"


Windows Management

 Introduction

 Scripts Collection (1)

 Scripts Collection (2)

 WMI / ADSI / WSH

 Windows 2000
 Resource Kit


 Miscellaneous


  Download ActiveXperts Network Monitor 7.0  (6239 KB - .exe file)
  Download Manual  (653 KB - .pdf file)

RSH check

RSH is a client process that opens connections to rsh daemons, sends a command to be executed on the remote server and retrieves its output, both stdout and stderr. The connection is made on standard port 514 (tcp port for the shell/cmd protocol). ActiveXperts Network Monitor analyzes the output and notifies in case of unexpected output.
It's possible to run a shell script on a remote UNIX/LINUX machine. The following conditions have to be met:
  • The remote UNIX/LINUX machine must have the RSH daemon running;
  • The remote UNIX/LINUX must have an entry in its .RHOSTS file for the computer where the ActiveXperts Network Monitor service is running on; this entry must include two values: the host name of the ActiveXperts Network Monitor server and the username to use.
A RSH Shell Script rule takes the following parameters:
  • Remote Host - IP address, DNS host name or WINS/NetBIOS address of the remote host on which to run the command;
  • RSH Username - The username to use on the remote host. If not specified, the service account name will be used. The value must be configured in the .RHOSTS file on the remote host;
  • RSH Command - Specifies the command to run on the remote host;
  • Script timeout - Specifies the maximum number of milliseconds to wait for completion of the script; if the script takes longer, it will be terminated. Default value: 3000 milliseconds;
  • Match following string - The string that should be part of stdout to consider the script execution as successful;
  • Consider as success/error if stdout matches string - If string matches, consider the result as error or as success.





About RSH

The RSH client runs commands on remote computers running the RSH service or daemon. Usually, UNIX and LINUX platforms have the RSH daemon installed and running; Windows XP and Windows 2000 do not provide a RSH service. A RSH service called Rshsvc.exe is provided with the Windows 2000 Server Resource Kit.

The RSH command copies standard input to the remote Command, standard output of the remote Command to its standard output, and the standard error of the remote Command to its standard error. Rsh normally quits when the remote command quits. The .rhosts file typically permits network access on UNIX/LINUX systems. The .rhosts file lists computer names and associated logon names that have access to remote computers. When you run rcp, rexec, or rsh commands remotely with a correctly configured .rhosts file, you do not need to provide logon and password information for the remote computer.
The .rhosts file is a text file in which each line is an entry. An entry consists of the local computer name, the local user name, and any comments about the entry. Each entry is separated by a tab or space, and comments begin with a pound sign (#). For example:
host7 #This computer is in room 31A
The .rhosts file must be in the user's home directory on the remote computer. For more information about the specific implementation of the .rhosts file on a remote computer, see the remote system documentation.
Copyright ©1999-2007 ActiveXperts Software. All rights reserved.