admin / Synapse-Cortex
publicSelf Hosted ITSM Tool with RBAC/Tenanting and MFA
Synapse-Cortex / Synapse-Cortexv2 / playbooks / check-inode-exhaustion-linux.json
1178 B · main
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | { "name": "Check Inode Exhaustion (Linux)", "enabled": true, "allowed_target_os": [ "linux" ], "required_approval_level": "human_in_the_loop", "forbidden_commands": [], "graph_json": { "nodes": [ { "id": "start", "type": "start", "data": {}, "position": { "x": 250, "y": 0 } }, { "id": "cmd_inodes", "type": "command", "data": { "label": "Show inode usage per filesystem", "command": "df -i" }, "position": { "x": 250, "y": 130 } }, { "id": "cmd_count", "type": "command", "data": { "label": "Count files under the suspect directory", "command": "find <dir> -xdev -type f | wc -l" }, "position": { "x": 250, "y": 260 } } ], "edges": [ { "id": "e_start_cmd_inodes", "source": "start", "target": "cmd_inodes" }, { "id": "e_cmd_inodes_cmd_count", "source": "cmd_inodes", "target": "cmd_count" } ] } } |