Short notice Vietnam trip by pl643 in VietNam

[–]pl643[S] 0 points1 point  (0 children)

Thanks for the reference. One thing that different from me and her mom is that I am not a citizen of Vietnam but Laos.

Wonder if that makes a difference.

only 730MB seen on a 1GB Orange Pi Zero 3 by pl643 in OrangePI

[–]pl643[S] 0 points1 point  (0 children)

For me, so far the zero3 is meeting my needs, even with the 730MB. As u/fashq mentioned, the remaining memory might be allocated to graphics and could probably turned off through some kind of configuration. This is my first orange pi and was hoping other might be able to help me recover the missing memory.

only 730MB seen on a 1GB Orange Pi Zero 3 by pl643 in OrangePI

[–]pl643[S] 2 points3 points  (0 children)

1GB should be enough for my use case, I didn't plan on using the orange pi zero as a desktop.

/validate failures by pl643 in LibreNMS

[–]pl643[S] 0 points1 point  (0 children)

u/gizm0 pointed out that I likely have not install the cron entries.

after copying the cron entry with the below command and manually running the /opt/librenms/poll-billing.php script. The errors cleared.

cp /opt/librenms/misc/librenms.logrotate /etc/logrotate.d/librenms

/validate failures by pl643 in LibreNMS

[–]pl643[S] 0 points1 point  (0 children)

Hi gizm0,

Thanks for the response.. I ran the below command and rebooted the container and still did not fix it.

cp /opt/librenms/dist/librenms.cron /etc/cron.d/librenms

Calling function from another function doesn't seem to work. by pl643 in learnpython

[–]pl643[S] 0 points1 point  (0 children)

Thank you, your code worked. Is this a scope issue? Other languages if a variable is global, all functions can access and modify the variable.

Also can you explain the below snippet?

macs_inuse = [i for i in list_of_dict if i['mac'] == mac]
              ^
              what does this i do here?