diff options
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | dnsStatus.txt | 1 | ||||
-rw-r--r-- | gelb.ico | bin | 0 -> 318 bytes | |||
-rw-r--r-- | gruen.ico | bin | 0 -> 318 bytes | |||
-rw-r--r-- | musikStatus.txt | 1 | ||||
-rw-r--r-- | naja_gruen.ico | bin | 0 -> 318 bytes | |||
-rw-r--r-- | rot.ico | bin | 0 -> 318 bytes | |||
-rw-r--r-- | status.txt | 62 | ||||
-rw-r--r-- | tests.txt | 17 | ||||
-rw-r--r-- | unit1.lfm | 8 | ||||
-rw-r--r-- | unit1.pas | 26 | ||||
-rw-r--r-- | watchdog.ico | bin | 0 -> 137040 bytes | |||
-rw-r--r-- | watchdog.lpi | 79 | ||||
-rw-r--r-- | watchdog.lpr | 21 | ||||
-rw-r--r-- | watchdog.lps | 30 | ||||
-rw-r--r-- | watchdog.res | bin | 0 -> 138696 bytes |
16 files changed, 253 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..50f7303 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.bak +*.ppu +*.o +*.tar.gz +*~ +watchdog +lib +Log* diff --git a/dnsStatus.txt b/dnsStatus.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/dnsStatus.txt @@ -0,0 +1 @@ +1 diff --git a/gelb.ico b/gelb.ico Binary files differnew file mode 100644 index 0000000..691dc66 --- /dev/null +++ b/gelb.ico diff --git a/gruen.ico b/gruen.ico Binary files differnew file mode 100644 index 0000000..81121e5 --- /dev/null +++ b/gruen.ico diff --git a/musikStatus.txt b/musikStatus.txt new file mode 100644 index 0000000..83ce044 --- /dev/null +++ b/musikStatus.txt @@ -0,0 +1 @@ +5aaa06ece66d662636aafc659bd70a88427c352c578ba394033f17979468c9f1e085c7fc28ee701d0b6155035f20e8938ad4aafd4aab36724da17d0909106610
\ No newline at end of file diff --git a/naja_gruen.ico b/naja_gruen.ico Binary files differBinary files differnew file mode 100644 index 0000000..bf71aed --- /dev/null +++ b/naja_gruen.ico diff --git a/status.txt b/status.txt new file mode 100644 index 0000000..2ac5305 --- /dev/null +++ b/status.txt @@ -0,0 +1,62 @@ + 11718776832 blocks super 1.2 level 6, 512k chunk, algorithm 2 [8/8] [UUUUUUUU] + 1953262592 blocks super 1.2 level 5, 512k chunk, algorithm 5 [3/3] [UUU] + 483142592 blocks [2/2] [UU] +/dev/mapper/leg0 is active and is in use. + type: LUKS1 + cipher: aes-xts-plain64 + keysize: 256 bits + offset: 4096 sectors + size: 3907025072 sectors + mode: read/write +/dev/mapper/leg1 is active and is in use. + type: LUKS1 + cipher: aes-xts-plain64 + keysize: 256 bits + offset: 4096 sectors + size: 3907025072 sectors + mode: read/write +/dev/mapper/leg2 is active and is in use. + type: LUKS1 + cipher: aes-xts-plain64 + keysize: 256 bits + offset: 4096 sectors + size: 3907025072 sectors + mode: read/write +/dev/mapper/leg3 is active and is in use. + type: LUKS1 + cipher: aes-xts-plain64 + keysize: 256 bits + offset: 4096 sectors + size: 3907025072 sectors + mode: read/write +/dev/mapper/leg4 is active and is in use. + type: LUKS1 + cipher: aes-xts-plain64 + keysize: 256 bits + offset: 4096 sectors + size: 3907025072 sectors + mode: read/write +/dev/mapper/leg5 is active and is in use. + type: LUKS1 + cipher: aes-xts-plain64 + keysize: 256 bits + offset: 4096 sectors + size: 3906521088 sectors + mode: read/write +/dev/mapper/leg7 is active and is in use. + type: LUKS1 + cipher: aes-xts-plain64 + keysize: 256 bits + offset: 4096 sectors + size: 3907025072 sectors + mode: read/write +/dev/mapper/leg8 is active and is in use. + type: LUKS1 + cipher: aes-xts-plain64 + keysize: 256 bits + offset: 4096 sectors + size: 3907025072 sectors + mode: read/write +md0 missmatch-count: 0 +md1 missmatch-count: 0 +md2 missmatch-count: 0 diff --git a/tests.txt b/tests.txt new file mode 100644 index 0000000..c6da5f9 --- /dev/null +++ b/tests.txt @@ -0,0 +1,17 @@ +#was Bed. time;ok time;error msg. wen
+ip 0_s 10000 5000 keine IP 192.168.0.12
+ping 10000 5000 .9 (ping) 192.168.0.9
+ping 10000 5000 .13 (ping) 192.168.0.13
+(ping) 10000 5000 .15 (ping) 192.168.0.15
+(ping) 10000 5000 .18 (ping) 192.168.0.18
+ping 0_1_& 60000 5000 google (ping) www.google.de
+ping 0_1_& 60000 5000 eckner.net (ping) eckner.net
+#ping 0_1_& 60000 5000 ... (ping) www.wieistmeineip.de
+ftpcmp 0_3_& 60000 5000 Festplatte status.txt/erich:erichmitgrossemE@192.168.0.15/tmp/ftpstatus
+ftpdate 0_3_&0_7_& 60000 60000 Festplattenjob 90/erich:erichmitgrossemE@192.168.0.15/tmp/ftpstatus.time
+ping 10000 5000 .9 (ping) 192.168.0.9
+httpcmp 0_4_& 60000 5000 Musik-Crypto musikStatus.txt:http://192.168.0.18/status.php
+httpcmp 0_2_&0_6_& 60000 10000 dns dnsStatus.txt:http://eckner.net/iptest.php
+checkprocess 60000 5000 rsync rsync.exe
+#dnslookup 0_2_&0_7_& 60000 10000 dns "home.eckner.net","http://www.wieistmeineip.de/","<div class="title"><strong>","</strong></div>"
+#ping 0_1_& 60000 5000 cwsurf (ping) overlock.cwsurf.de
diff --git a/unit1.lfm b/unit1.lfm new file mode 100644 index 0000000..2799698 --- /dev/null +++ b/unit1.lfm @@ -0,0 +1,8 @@ +object Form1: TForm1 + Left = 1690 + Height = 240 + Top = 180 + Width = 320 + Caption = 'Form1' + LCLVersion = '1.4.4.0' +end diff --git a/unit1.pas b/unit1.pas new file mode 100644 index 0000000..f986e0d --- /dev/null +++ b/unit1.pas @@ -0,0 +1,26 @@ +unit Unit1; + +{$mode objfpc}{$H+} + +interface + +uses + Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs; + +type + TForm1 = class(TForm) + private + { private declarations } + public + { public declarations } + end; + +var + Form1: TForm1; + +implementation + +{$R *.lfm} + +end. + diff --git a/watchdog.ico b/watchdog.ico Binary files differnew file mode 100644 index 0000000..0341321 --- /dev/null +++ b/watchdog.ico diff --git a/watchdog.lpi b/watchdog.lpi new file mode 100644 index 0000000..49cafca --- /dev/null +++ b/watchdog.lpi @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8"?> +<CONFIG> + <ProjectOptions> + <Version Value="9"/> + <General> + <SessionStorage Value="InProjectDir"/> + <MainUnit Value="0"/> + <Title Value="watchdog"/> + <ResourceType Value="res"/> + <UseXPManifest Value="True"/> + <Icon Value="0"/> + </General> + <i18n> + <EnableI18N LFM="False"/> + </i18n> + <VersionInfo> + <StringTable ProductVersion=""/> + </VersionInfo> + <BuildModes Count="1"> + <Item1 Name="Default" Default="True"/> + </BuildModes> + <PublishOptions> + <Version Value="2"/> + </PublishOptions> + <RunParams> + <local> + <FormatVersion Value="1"/> + </local> + </RunParams> + <RequiredPackages Count="1"> + <Item1> + <PackageName Value="LCL"/> + </Item1> + </RequiredPackages> + <Units Count="2"> + <Unit0> + <Filename Value="watchdog.lpr"/> + <IsPartOfProject Value="True"/> + </Unit0> + <Unit1> + <Filename Value="unit1.pas"/> + <IsPartOfProject Value="True"/> + <ComponentName Value="Form1"/> + <ResourceBaseClass Value="Form"/> + <UnitName Value="Unit1"/> + </Unit1> + </Units> + </ProjectOptions> + <CompilerOptions> + <Version Value="11"/> + <Target> + <Filename Value="watchdog"/> + </Target> + <SearchPaths> + <IncludeFiles Value="$(ProjOutDir)"/> + <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/> + </SearchPaths> + <Linking> + <Options> + <Win32> + <GraphicApplication Value="True"/> + </Win32> + </Options> + </Linking> + </CompilerOptions> + <Debugging> + <Exceptions Count="3"> + <Item1> + <Name Value="EAbort"/> + </Item1> + <Item2> + <Name Value="ECodetoolError"/> + </Item2> + <Item3> + <Name Value="EFOpenError"/> + </Item3> + </Exceptions> + </Debugging> +</CONFIG> diff --git a/watchdog.lpr b/watchdog.lpr new file mode 100644 index 0000000..23656f2 --- /dev/null +++ b/watchdog.lpr @@ -0,0 +1,21 @@ +program watchdog; + +{$mode objfpc}{$H+} + +uses + {$IFDEF UNIX}{$IFDEF UseCThreads} + cthreads, + {$ENDIF}{$ENDIF} + Interfaces, // this includes the LCL widgetset + Forms, Unit1 + { you can add units after this }; + +{$R *.res} + +begin + RequireDerivedFormResource := True; + Application.Initialize; + Application.CreateForm(TForm1, Form1); + Application.Run; +end. + diff --git a/watchdog.lps b/watchdog.lps new file mode 100644 index 0000000..2d64af5 --- /dev/null +++ b/watchdog.lps @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<CONFIG> + <ProjectSession> + <Version Value="9"/> + <BuildModes Active="Default"/> + <Units Count="2"> + <Unit0> + <Filename Value="watchdog.lpr"/> + <IsPartOfProject Value="True"/> + <EditorIndex Value="-1"/> + <WindowIndex Value="-1"/> + <TopLine Value="-1"/> + <CursorPos X="-1" Y="-1"/> + <UsageCount Value="20"/> + </Unit0> + <Unit1> + <Filename Value="unit1.pas"/> + <IsPartOfProject Value="True"/> + <ComponentName Value="Form1"/> + <ResourceBaseClass Value="Form"/> + <UnitName Value="Unit1"/> + <IsVisibleTab Value="True"/> + <UsageCount Value="20"/> + <Loaded Value="True"/> + <LoadedDesigner Value="True"/> + </Unit1> + </Units> + <JumpHistory HistoryIndex="-1"/> + </ProjectSession> +</CONFIG> diff --git a/watchdog.res b/watchdog.res Binary files differnew file mode 100644 index 0000000..e994dfa --- /dev/null +++ b/watchdog.res |