Thursday, December 11, 2008

Remote monitoring Linux/unix servers from linux/unix server

Steps for Executing the command on remote host

  1. Create/update .netrc file in user home directory and add credentials of all the machines that we need to be accessed remotely. Format should be as follows

machine login password

 

  1. Execute “chmod 600 .netrc” so that only owner will have read/write access.
  2. To execute the command on remote host use the following command
rexec

To remote monitor
rexec remotehost vmstat 1 10

2 comments:

Anonymous said...

Its really useful.Can you know how to monitor Linux/unix server remotely from windows machines

Thiru said...

Start the rstatd daemon in unix/linux server and from windows machines you can use SNMP to monitor the servers.

-Thiru