Difference between revisions of "Script Prototypes"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 1: Line 1:
 
==Einstein checkup==
 
==Einstein checkup==
There are probably some other critical services that should be added to this list, although many are checked implicitly by the user's ability to log in to any non-einstein machine (LDAP, NFS).
+
There are probably some other critical services that should be added to this list, although many are checked implicitly if the user can log into a non-einstein machine (LDAP, NFS).
 
<pre>#!/bin/bash
 
<pre>#!/bin/bash
  
 
ssh root@einstein "df -h; service spamassassin status; service amavisd status; service postfix status"</pre>
 
ssh root@einstein "df -h; service spamassassin status; service amavisd status; service postfix status"</pre>

Revision as of 14:52, 15 January 2008

Einstein checkup

There are probably some other critical services that should be added to this list, although many are checked implicitly if the user can log into a non-einstein machine (LDAP, NFS).

#!/bin/bash

ssh root@einstein "df -h; service spamassassin status; service amavisd status; service postfix status"