Login as admin and navigate to Managed Devices
Select the target device and go to Logging
Enable Data logging option and Click Save
Go to Access page and select the target device and you will see Data log tab in dialogue for the device
To open the pdf for the logs click Data log
Log in as admin in CLI (telnet/ssh/console)
Navigate to /settings/devices/<Device_Name>/logging/
Use the set command to change the data_logging value to yes or no
Commit the changes
[admin@nodegrid / ] # cd /settings/devices/<Device_Name>/logging/
[admin@nodegrid logging] # set data_logging=yes
[+admin@nodegrid logging] commit
[admin@nodegrid logging]#
This section is a how-to guide for enabling data logging from a device (port) to an NFS server, providing detailed instructions for configuring the transfer process to the remote NFS server.
Login as admin and navigate to Auditing :: Destinations :: File
Select the NFS option from the Destination dropdown.
Under NFS Destination section:
Enter the server IP on the NFS Server field.
Specify the NFS Path where the NFS Server is mounted.
Click Save to apply the configurations
Navigate to Security :: Services :: General Services
Enable the RPC service by checking the checkbox Enable RPC.
“NFS requires RPC service to be enabled in Security :: Services.”
Log in as admin via CLI (telnet/ssh/console).
Navigate to /settings/auditing/destinations/file/
Use the set command to change the destination value to NFS
Use the set command to set the Server IP in the nfs_server field
Use the set command on the nfs_server field to enter the path where the NFS Server is mounted
Use the set command in the nfs_path to specify the path where the NFS Server is mounted
Commit the changes
[admin@nodegrid /]# cd /settings/auditing/destinations/file/
[admin@nodegrid file]# set destination=nfs
[+admin@nodegrid file]# set nfs_server=192.168.42.177
[+admin@nodegrid file]# set nfs_path=/var/opt/nfsroot
[+admin@nodegrid file]# commit
[admin@nodegrid file]#
Navigate to /settings/services/
Use the set command to change the enable_rpc value to yes
Commit the changes
[admin@nodegrid /]# cd settings/services/
[admin@nodegrid services]# set enable_rpc=yes
[+admin@nodegrid services]# commit
[admin@nodegrid services]#
It is possible to use Nodegrid as an NFS server. To set up the NFS server, you need to create an exported folder where the contents of the rootfs will be stored
First, load the kernel modules nfs and nfsd.
/var/opt/nfsroot
folder, which will be used to store the files.mkdir /var/opt/nfsroot
/etc/exports
and add at the bottom of the file:/var/opt/nfsroot *(async,rw,no_root_squash,no_all_squash,no_subtree_check,insecure,anonuid=1000,anongid=1000)
exportfs -a/etc/init.d/rpcbind restart/etc/init.d/nfsserver restart