| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| MiNiFi Config Version: 3 |
| Flow Controller: |
| name: MiNiFi Flow |
| Processors: |
| - name: Read disk and CPU performance data |
| id: 2f2a3b47-f5ba-49f6-82b5-bc1c86b96e27 |
| class: org.apache.nifi.minifi.processors.PerformanceDataMonitor |
| scheduling strategy: TIMER_DRIVEN |
| scheduling period: 10000 ms |
| Properties: |
| Predefined Groups: "Disk,CPU" |
| Custom PDH Counters: "\\System\\Processes,\\Process(*)\\ID Process,\\Process(*)\\Private Bytes" |
| Output Format: "JSON" |
| Output Compactness: "Compact" |
| - name: Put files to C:\temp\ |
| id: e143601d-de4f-44ba-a6ec-d1f97d77ec94 |
| class: org.apache.nifi.minifi.processors.PutFile |
| scheduling strategy: EVENT_DRIVEN |
| auto-terminated relationships list: |
| - failure |
| - success |
| Properties: |
| Conflict Resolution Strategy: fail |
| Create Missing Directories: 'true' |
| Directory: C:\temp\ |
| Connections: |
| - name: PerformanceDataMonitor/success/PutFile |
| id: 098a56ba-f4bf-4323-a3f3-6f8a5e3586bf |
| source id: 2f2a3b47-f5ba-49f6-82b5-bc1c86b96e27 |
| source relationship names: |
| - success |
| destination id: e143601d-de4f-44ba-a6ec-d1f97d77ec94 |
| Controller Services: [] |
| Remote Process Groups: [] |