/[mon-modules]/sap.monitor
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sap.monitor

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by dpavlin, Fri Jul 26 10:43:47 2002 UTC revision 1.10 by dpavlin, Wed Aug 7 09:57:59 2002 UTC
# Line 27  my $CONFIG = "/usr/local/etc/sap-mon.con Line 27  my $CONFIG = "/usr/local/etc/sap-mon.con
27  my $SAPINFO = "/usr/local/bin/sapinfo";  my $SAPINFO = "/usr/local/bin/sapinfo";
28  # number of tries to repeat sapinfo if it fails first time  # number of tries to repeat sapinfo if it fails first time
29  my $repeat = 3;  my $repeat = 3;
30    # seconds to wait between retries
31    my $repeat_wait = 5;
32    
33  my %opts;  my %opts;
34  getopt('h:s:H:S:', \%opts);  getopt('h:s:H:S:', \%opts);
# Line 68  foreach (@config) { Line 70  foreach (@config) {
70                          }                          }
71  #                       print "$loop: $ashost $sysnr $ret\n";  #                       print "$loop: $ashost $sysnr $ret\n";
72                          $loop++;                          $loop++;
73                          sleep 5;                          sleep $repeat_wait;
74                  }                  }
75                  if (! $sys_id) {                  if (! $sys_id) {
76                          push @failed, "$ashost ($sysnr)";                          push @failed, "$ashost ($sysnr)";

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.26