Everything posted by gfjardim
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
[glow=red,2,300]DISCLAIMER:[/glow] This is an advanced mod to this container, so don't attempt it if you don't know what you're doing... GOAL: add notifications to CrashPlan: 1) Add the code below in a script file on the flash drive (e.g. /boot/custom/crashplan_notify.sh): #!/bin/bash # Set UNRAID_ADDR to "172.17.42.1" and set UNRAID_PASS if your container's network is set to bridge. UNRAID_ADDR="127.0.0.1" UNRAID_PASS="" CHANNEL="1" # Available Channels # # 1 = notify using browser-popups only; # 2 = notify using e-mail only; # 3 = notify using browser-popups and e-mail; # 4 = notify using agents only; # 5 = notify using browser-popups and agents; # 6 = notify using e-mail and agents; # 7 = notify using browser popups, e-mail and agents; send_notify() { curl -d "cmd=add" \ -d "e=CrashPlan: ${1} " \ -d "s=${2}" \ -d "d=${3}" \ -d "i=normal ${CHANNEL}" \ -u "root:${UNRAID_PASS}" "http://${UNRAID_ADDR}/webGui/include/Notify.php" } CP_LOG="/config/log/history.log.0" while read line ; do if [[ $line =~ .?(Starting[[:space:]]backup[[:space:]]to[^:]*)(.*) ]]; then send_notify "Backup is starting" "${BASH_REMATCH[1]}." "${BASH_REMATCH[@]}" elif [[ $line =~ .?(Completed[[:space:]]backup[[:space:]]to[^:]*)(in .*) ]]; then send_notify "Backup completed" "${BASH_REMATCH[1]}." "${BASH_REMATCH[@]}" elif [[ $line =~ .?(Starting[[:space:]]backup[[:space:]]from[^:]*)(.*) ]]; then send_notify "Receiving backup" "${BASH_REMATCH[1]}." "${BASH_REMATCH[@]}" elif [[ $line =~ .?(Completed[[:space:]]backup[[:space:]]from[^:]*)(in .*) ]]; then send_notify "Received backup" "${BASH_REMATCH[1]}." "${BASH_REMATCH[@]}" fi done < <(tail -fn0 $CP_LOG) Note: set UNRAID_ADDR to "172.17.42.1" and set UNRAID_PASS if your container's network is set to bridge. 2) Edit the CrashPlan container, mapping the file above to the container's service dir (e.g. /boot/custom/crashplan_notify.sh -> /etc/service/notify/run) : 3) Hit Save and you're done.
-
[Plugin] IPMI for unRAID 6.1+
I noticed you board has the Supermicro OEM temp sensor for the CPU. Try adding --interpret-oem-data to the command. It would be nice if that works so I don't have to add individual sensor ids. If that doesn't work, try --interpret-oem-data --record-ids=71. Just curious, does 'ipmitool sdr' show a value for cpu temp? Here we go: root@Servidor:~# ipmi-sensors --output-sensor-thresholds --comma-separated-output --output-sensor-state --ignore-not-available-sensors --non-abbreviated-units --interpret-oem-data| column -s, -t ID Name Type State Reading Units Lower NR Lower C Lower NC Upper NC Upper C Upper NR Event 4 System Temp Temperature Nominal 42.00 degrees C -9.00 -7.00 -5.00 75.00 77.00 79.00 'OK' 71 CPU Temp OEM Reserved Warning N/A N/A N/A N/A N/A N/A N/A N/A 'High' 205 FAN 2 Fan Nominal 5535.00 RPM 405.00 540.00 675.00 29025.00 29160.00 29295.00 'OK' 406 FAN A Fan Nominal 2295.00 RPM 0.00 0.00 0.00 29025.00 29160.00 29295.00 'OK' 473 Vcore Voltage Nominal 1.23 Volts 0.64 0.66 0.69 1.34 1.41 1.47 'OK' 540 3.3VCC Voltage Nominal 3.36 Volts 2.82 2.88 2.94 3.58 3.65 3.71 'OK' 607 12V Voltage Nominal 12.19 Volts 10.49 10.60 10.71 13.09 13.20 13.30 'OK' 674 VDIMM Voltage Nominal 1.51 Volts 1.15 1.22 1.28 1.76 1.78 1.79 'OK' 741 5VCC Voltage Nominal 5.18 Volts 4.10 4.32 4.58 5.34 5.60 5.63 'OK' 808 -12V Voltage Nominal -11.87 Volts -13.42 -13.22 -13.03 -10.52 -10.33 -10.14 'OK' 875 VBAT Voltage Nominal 3.17 Volts 2.82 2.88 2.94 3.58 3.65 3.71 'OK' 942 VSB Voltage Nominal 3.34 Volts 2.82 2.88 2.94 3.58 3.65 3.71 'OK' 1009 AVCC Voltage Nominal 3.36 Volts 2.82 2.88 2.94 3.58 3.65 3.71 'OK' 1076 Chassis Intru Physical Security Nominal N/A N/A N/A N/A N/A N/A N/A N/A 'OK' root@Servidor:~# ipmi-sensors --output-sensor-thresholds --comma-separated-output --output-sensor-state --ignore-not-available-sensors --non-abbreviated-units --interpret-oem-data --record-ids=71| colum> ID Name Type State Reading Units Lower NR Lower C Lower NC Upper NC Upper C Upper NR Event 71 CPU Temp OEM Reserved Nominal N/A N/A N/A N/A N/A N/A N/A N/A 'Low' root@Servidor:~# ipmitool sdr System Temp | 43 degrees C | ok CPU Temp | 0x01 | ok FAN 1 | no reading | ns FAN 2 | 5670 RPM | ok FAN 3 | no reading | ns FAN 4 | no reading | ns FAN A | 2295 RPM | ok Vcore | 1.24 Volts | ok 3.3VCC | 3.36 Volts | ok 12V | 12.19 Volts | ok VDIMM | 1.51 Volts | ok 5VCC | 5.18 Volts | ok -12V | -11.87 Volts | ok VBAT | 3.17 Volts | ok VSB | 3.34 Volts | ok AVCC | 3.36 Volts | ok Chassis Intru | 0x00 | ok
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
dlandon, Tested the USB auto mount yesterday and it worked like a charm, thank you for that.
-
[Plugin] IPMI for unRAID 6.1+
Just to help you debug (SM X9SCM-F): root@Servidor:~# ipmi-sensors --output-sensor-thresholds --comma-separated-output --output-sensor-state --ignore-not-available-sensors --non-abbreviated-units | column -s, -t ID Name Type State Reading Units Lower NR Lower C Lower NC Upper NC Upper C Upper NR Event 4 System Temp Temperature Nominal 41.00 degrees C -9.00 -7.00 -5.00 75.00 77.00 79.00 'OK' 71 CPU Temp OEM Reserved N/A N/A N/A N/A N/A N/A N/A N/A N/A 'OEM Event = 0000h' 205 FAN 2 Fan Nominal 5130.00 RPM 405.00 540.00 675.00 29025.00 29160.00 29295.00 'OK' 406 FAN A Fan Nominal 2295.00 RPM 0.00 0.00 0.00 29025.00 29160.00 29295.00 'OK' 473 Vcore Voltage Nominal 0.98 Volts 0.64 0.66 0.69 1.34 1.41 1.47 'OK' 540 3.3VCC Voltage Nominal 3.36 Volts 2.82 2.88 2.94 3.58 3.65 3.71 'OK' 607 12V Voltage Nominal 12.19 Volts 10.49 10.60 10.71 13.09 13.20 13.30 'OK' 674 VDIMM Voltage Nominal 1.51 Volts 1.15 1.22 1.28 1.76 1.78 1.79 'OK' 741 5VCC Voltage Nominal 5.18 Volts 4.10 4.32 4.58 5.34 5.60 5.63 'OK' 808 -12V Voltage Nominal -11.87 Volts -13.42 -13.22 -13.03 -10.52 -10.33 -10.14 'OK' 875 VBAT Voltage Nominal 3.17 Volts 2.82 2.88 2.94 3.58 3.65 3.71 'OK' 942 VSB Voltage Nominal 3.34 Volts 2.82 2.88 2.94 3.58 3.65 3.71 'OK' 1009 AVCC Voltage Nominal 3.38 Volts 2.82 2.88 2.94 3.58 3.65 3.71 'OK' 1076 Chassis Intru Physical Security Nominal N/A N/A N/A N/A N/A N/A N/A N/A 'OK'
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
It's not warmfull, just complaining about the absence of a IPv6 interface. It shows even if I disable the IPv6 interface, so i gave up.
-
Preclear plugin
I'll investigate this. Thanks for reporting. I just hit this issue too - is there any chance of getting support in the popup before clearing to add custom flags for the script? Is it better a select box or a text box?
-
[Plugin] unbalanced
Thanks a lot for this, lboregard. I have two features request for this: 1) Consolidate Shares: This would read the split level of a desired share and then verify if it's being obeyed; if not, calculate probable scenarios to consolidate it or suggest the user to change it if it's not optimal. 2) Move a share to/from cache disk. Again, thanks a lot for this.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
Thank you, ljm42, for taking some time and improve the OP.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
Not right now, but the next release will have a VNC server available on port 4279 (in fact, WEB_PORT - 1).
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
It goes instant for me, no waiting before Crashplan desktop appers. In the first post you say: Since I updated the docker, I don't have any variables to edit (in Environment Variables under advanced view). I added RDP_PASSWD in Variable Name, and "Test" in Variable Value, but I still can connect without password. What am I doing wrong. I dont have the WEB_PORT Variable either then, do I need that? Or only if I want to change port? Any other Variables I need? Variables can be added as needed. The correct variable to change the password is VNC_PASSWD . Sorry for my mistake. You should only play with WEB_PORT if needed (e.g. another process uses port 4380).
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
If you haven't deployed it yet, you can use the new template from Community Applications. No mods are needed. Do I load CrashPlan or Crashplan-Desktop if I'm a new user of this? CrashPlan.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
If you haven't deployed it yet, you can use the new template from Community Applications. No mods are needed. In the next release. Awsome Done. See the OP.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
In the next release. No auto updates.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
And now there's Opening and ending tag mismatch: Networking line 59 and Container in /var/lib/docker/unraid/templates-community-apps/templates/gfjardim/CrashPlan.xml, line: 62 (looks like Extra <Networking> at the end) Extra bitchy XML parsers! Please tell me it's working right now....
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
And here is why: DOMDocument::load(): EntityRef: expecting ';' in /var/lib/docker/unraid/templates-community-apps/templates/gfjardim/CrashPlan.xml, line: 11 Its his WebUI line which probably needs to be encased in a CDATA section because of the & Nice catch, will fix it. Here is the correct modifications: Description: With unlimited, set-it-and-get-at-it backup to multiple destinations, plus anywhere, anytime access to ALL your files, CrashPlan is the simplest, surest way to protect your digital life.[br][br] [b][span style='color: #E80000;']Notes:[/span][/b][br][br] [*]The web interface is usually hosted on port 4280; if you need to change it, please enable the Advanced View, edit the [b]WEB_PORT[/b] variable and the [b]WebUI[/b] field accordingly.[br] WebUI: http://[iP]:[PORT:4280]/vnc.html?autoconnect=true&host=[iP]&port=[PORT:4280] If you set it's network as bridged then yes, but IMHO CrashPlan works better with host network. I'll add those port mappings either way.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
And here is why: DOMDocument::load(): EntityRef: expecting ';' in /var/lib/docker/unraid/templates-community-apps/templates/gfjardim/CrashPlan.xml, line: 11 Its his WebUI line which probably needs to be encased in a CDATA section because of the & Nice catch, will fix it.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
So the CrashPlan docker has the desktop thing in the same docker now? So we only would need one docker for everything? Just update the old docker, change the some setting (from your post) and delete crashplan-desktop and we are good to go? Exactly.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
I'll deprecate the Crashplan-Desktop container soon. Please update the CrashPlan container and uninstall the Desktop one.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
Ok, guys, I think I did it. Please, instead of purely update your containers, please Edit it and change the following fields: Description: With unlimited, set-it-and-get-at-it backup to multiple destinations, plus anywhere, anytime access to ALL your files, CrashPlan is the simplest, surest way to protect your digital life.[br][br] [b][span style='color: #E80000;']Notes:[/span][/b][br][br] [*]The web interface is usually hosted on port 4280; if you need to change it, please enable the Advanced View, edit the [b]WEB_PORT[/b] variable and the [b]WebUI[/b] field accordingly.[br] WebUI: http://[iP]:[PORT:4280]/vnc.html?autoconnect=true&host=[iP]&port=[PORT:4280] I'm updating the template, so new users aren't affected by this.
-
[CONTAINER] CrashPlan & CrashPlan-Desktop
I'll investigate the possibility of doing so.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Yes, it affects USB devices. I thought of that and was waiting for some feedback on whether or not it was important to anyone. The auto mount did cause someone some problems. Isn't a config option more convenient then just remove it for all users? It can be defaulted to "No" to avoid any problems, if necessary. Tnx
-
Preclear plugin
I never saw anything about this, but clearly it's a script problem. Nothing I could do from my side, I'm afraid. Please post this here to someone help you.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
2016.02.06a Fix: New devices will not default to auto mount and share. User must manually set to auto mount and share. This affects specially USB drives, doesn't it? I think you should at least offer an configuration option for us, because IMHO some users want plugging an USB drive to be plug'n play.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Hi PeterB, nice to see you again too! dlandon is developing it now, so please remove my version, reboot the server to clean any leftovers and then you can install his version which URL is in the OP. Again, thanks!
-
Preclear plugin
google's version of beta Ok, guys, officially out of beta stage! Thanks a lot for all your input.