- Timestamp:
-
02/08/11 22:35:50 (2 years ago)
- Author:
-
mickem
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v2
|
v3
|
|
| 70 | 70 | [[NSClientConfig()]] |
| 71 | 71 | |
| 72 | | --- |
| 73 | | '''TODO''' |
| | 72 | Using the line count with limited recursion |
| 74 | 73 | |
| 75 | | [[NSClientCommand(CheckFile2,path=D:\tmp pattern=*.exe filter+version=!=6.0.2900.5512 "syntax=%filename%: %version%" MaxWarn=1)]] |
| 76 | | [[NSClientResult(ok,OK:CheckFile ok|'no files found'=0;0;0;)]] |
| 77 | | [[NSClientConfig()]] |
| 78 | | |
| 79 | | [[NSClientCommand(CheckFile2,path=D:\tmp pattern=*.txt filter+line-count=!=2 "syntax=%filename%: %line-count%" MaxWarn=1)]] |
| | 74 | [[NSClientCommand(CheckFile2,path=D:\windows pattern=*.txt max-dir-depth=1 "filter=line_count gt 100" "syntax=%filename%: %line_count%" MaxWarn=1)]] |
| 80 | 75 | [[NSClientResult(warning,WARNING:test.txt: 3, test.txt: 1 > warning|'test.txt'=1;0;0;)]] |
| 81 | 76 | [[NSClientConfig()]] |
| 82 | 77 | |
| 83 | | [[NSClientCommand(CheckFile2,path=D:\tmp pattern=*.txt filter+line-count=ne:3 "syntax=%filename%: %line-count%" MaxWarn=1)]] |
| 84 | | [[NSClientResult(ok,OK:CheckFile ok|'found files'=0;0;0;)]] |
| 85 | | [[NSClientConfig()]] |
| | 78 | |
| | 79 | --- |
| | 80 | |
| | 81 | '''TODO''' |
| | 82 | |
| 86 | 83 | |
| 87 | 84 | [[NSClientCommand(CheckFile2,path=D:\tmp pattern=*.txt filter+size=gt:20 "syntax=%filename%: %size%" MaxWarn=1)]] |
|
|