Kerberos.io Agent
An open and scalable video surveillance system for anyone making this world a better and more peaceful place.
- 1Copy the script below
- 2In HexOS, open Apps, find Kerberos.io Agent and choose Custom Install
- 3Paste, then press Install — full guide with screenshots
1{
12 "version": 5,
23 "script": {
4 "version": "0.1.0",
5 "changeLog": "Auto-generated draft from TrueNAS kerberos-agent 1.1.46"
6 },
37 "installation_questions": [
8 {
9 "question": "Agent name",
10 "type": "text",
11 "key": "agent_name",
12 "required": true
13 },
14 {
15 "question": "Username",
16 "type": "text",
17 "key": "username",
18 "required": true
19 },
20 {
21 "question": "Password",
22 "type": "password",
23 "key": "password",
24 "required": true
25 }
26 ],
27 "requirements": {
428 "locations": ["ApplicationsPerformance", "Videos"],
529 "specifications": ["2CORE"],
630 "permissions": ["READ_WRITE_LOCATIONS"],
731 "ports": [30122]
32 },
833 "ensure_directories_exists": [
34 {"path": "$LOCATION(ApplicationsPerformance)"},
35 {"path": "$LOCATION(ApplicationsPerformance)/kerberos-agent"},
36 {"path": "$LOCATION(Videos)", "network_share": true},
37 {
38 "path": "$LOCATION(ApplicationsPerformance)/kerberos-agent/config",
39 "owner": {"user": "apps"},
40 "snapshot": {"id": "config"}
41 }
42 ],
43 "app_values": {
44 "kerberos": {
945 "agent_name": "$QUESTION(agent_name)",
1046 "username": "$QUESTION(username)",
1147 "password": "$QUESTION(password)"
48 },
49 "storage": {
1250 "config": "$HOST_PATH($LOCATION(ApplicationsPerformance)/kerberos-agent/config)",
1351 "recordings": "$HOST_PATH($LOCATION(Videos))"
52 },
53 "network": {
1454 "web_port": {"bind_mode": "published", "port_number": 30122}
55 },
1556 "resources": {"limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"}}
57 }
58}
What this script does
Hover or tap a box to see the lines it explains.
-
Script format
Tells HexOS this is a version 5 install script, so it knows how to read the rest.
Line 2
-
Script revision
This copy of the script is revision 0.1.0. Latest change: “Auto-generated draft from TrueNAS kerberos-agent 1.1.46”.
Lines 3–6
-
Questions you'll be asked
Before installing, HexOS will ask you for: Agent name, Username and Password. Your answers are slotted into the settings further down wherever you see $QUESTION(...).
Lines 7–26
-
Storage locations it needs
The app uses these HexOS storage locations: App storage (fast) and Videos. If one isn't set up yet, HexOS will ask you to pick a place for it.
Line 28
-
Minimum hardware
Recommended minimum: 2 CPU cores.
Line 29
-
Permission to use your folders
Allows the app to read and write files inside the storage locations listed above — and nowhere else.
Line 30
-
Network ports
The app needs port 30122 to be free on your server. A port is like an apartment number for your server's address.
Line 31
-
Folders created on install
Creates the folders the app needs before it starts: App storage (fast) › kerberos-agent and App storage (fast) › kerberos-agent › config. Some folders are handed to a specific system user so the app is allowed to write to them. Folders marked “snapshot” are included in HexOS snapshots, so you can roll them back.
Lines 33–42
-
Your answer: agent name
Filled in with what you typed for “agent name” when you installed.
Line 45
-
Your answer: username
Filled in with what you typed for “username” when you installed.
Line 46
-
Your answer: password
Filled in with what you typed for “password” when you installed.
Line 47
-
Where the app's settings is saved
Where the app's settings is saved on your server: App storage (fast) › kerberos-agent › config.
Line 50
-
Where the app's “recordings” files is saved
Where the app's “recordings” files is saved on your server: Videos.
Line 51
-
Web port: 30122
The app's web page is published on port 30122. You don't need to remember it — clicking the app's card in HexOS takes you there.
Line 54
-
Resource limits
Caps how much of your server the app can use: 2 CPU cores and 10% of your server's memory, but never more than 4 GB. This keeps one busy app from slowing everything else down.
Line 56