Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
app-notes:set-up-snmp [2025/01/23 14:38] โ€“ [4. Setting up an LXC container and then implementing Node RED] grayapp-notes:set-up-snmp [2025/01/24 06:44] (current) โ€“ [4. Setting up an LXC container and then implementing Node RED] gray
Line 55: Line 55:
  
   * NetModule manual 4.8.0.103 [[https://share.netmodule.com/public/system-software/4.8/4.8.0.103/NB2800_Manual_4.8.0.103.pdf| Manual PDF]]    * NetModule manual 4.8.0.103 [[https://share.netmodule.com/public/system-software/4.8/4.8.0.103/NB2800_Manual_4.8.0.103.pdf| Manual PDF]] 
 +
 +----
  
 ===== - Setting up the SNMP client side for the query ===== ===== - Setting up the SNMP client side for the query =====
Line 125: Line 127:
 VENDOR-MIB.txt VENDOR-MIB.txt
 </konsole> </konsole>
 +
 +----
  
 ===== - Run some SNMP queries for testing and to see which queries are possible ===== ===== - Run some SNMP queries for testing and to see which queries are possible =====
Line 171: Line 175:
 </konsole> </konsole>
  
 +----
  
 ===== - Setting up an LXC container and then implementing Node RED ===== ===== - Setting up an LXC container and then implementing Node RED =====
Line 203: Line 207:
  
 Next, the Node-RED program is installed via a script file. Next, the Node-RED program is installed via a script file.
 +
 +Further information on the installation script can be found at this link.
 +
 + * Node-RED script information [[https://github.com/node-red/linux-installers| github link]] 
  
 The script command for this: The script command for this:
Line 240: Line 248:
 All done. All done.
 </konsole> </konsole>
 +
 +If you want to test the whole thing first, you can start the Node-RED server manually by entering the command ''"node-red-start"''
 +
 +<konsole>
 +root@LXCNAME:/# node-red-start
 +Start Node-RED
 +23 Jan 14:41:17 - [info]
 +Welcome to Node-RED
 +===================
 +</konsole>
 +
 +If you want this to happen automatically when you start the LXC container, you have to set it up with the command ''"sudo systemctl enable nodered.service"''.
 +
 +<konsole>
 +root@LXCNAME:/# sudo systemctl enable nodered.service
 +Created symlink /etc/systemd/system/multi-user.target.wants/nodered.service โ†’ /lib/systemd/system/nodered.service.
 +root@LXCNAME:/#
 +</konsole>
 +
 +Once you have stored the systemctl for Node-RED, you still have to restart the container for the service to start.
 +
 +You can access the Node-RED interface via a web browser. Simply enter the IP address of the container and port 1880.
 +
 +The Node-RED interface will then be displayed.
 +
 +{{:pictures:node-red.png?800|}}
 +
 +----
 +
 +
 +===== - Installing further app-nodes via palette management =====
 +
 +For Node-RED, further ''"app nodes"'' need to be installed.