• India
  • Joined on 2022-03-05
swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-01 17:27:28 +02:00
getting os details with /api/os

Instead of directly falling to "other", maybe we can use id of ubuntu if exact name not found and if it's ubuntu, similarly for other OSes. For final fallback we can have "other" or "custom".

swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-01 17:20:56 +02:00
getting os details with /api/os

os.uname().sysname provides the generic name of the operating system, not the specific distribution name or version.

swapnil commented on pull request Sysdeploy/idlers-agent#22 2024-07-01 17:02:25 +02:00
getting os details with /api/os

This will not work. You should create a dedicated method in the ServerManager and use existing send_request.

swapnil pushed to main at swapnil/idlers-agent 2024-07-01 14:46:01 +02:00
75744e0010 Get nvme devices inside /sys/block/ instead of /dev
2c19f2eefc Added nvme details
ea4675a56c updated get_ram_and_disk method
Compare 3 commits »
swapnil opened issue Sysdeploy/idlers-agent#21 2024-07-01 09:13:57 +02:00
Use correct os id
swapnil created pull request Sysdeploy/idlers-agent#20 2024-07-01 09:06:07 +02:00
Added nvme details
swapnil pushed to main at swapnil/idlers-agent 2024-07-01 07:29:25 +02:00
6a3c5737e5 Added nvme details
swapnil created pull request Sysdeploy/idlers-agent#18 2024-06-27 14:59:06 +02:00
Added SATA details in note
swapnil pushed to main at swapnil/idlers-agent 2024-06-27 14:58:34 +02:00
bd6ecc3519 Added SATA details in note
54d0b0decd disk space calculation using /sys/block/
Compare 2 commits »
swapnil created pull request Sysdeploy/idlers-agent#17 2024-06-26 12:15:38 +02:00
Updated ecc logic, added RAM configured speed
swapnil pushed to main at swapnil/idlers-agent 2024-06-26 12:15:14 +02:00
8f79919659 Updated ecc logic, added RAM configured speed
swapnil pushed to new-master at swapnil/my-idlers 2024-06-26 10:02:13 +02:00
03354b4e2b remove stripping tags from nnotes
swapnil pushed to new-master at swapnil/my-idlers 2024-06-26 09:03:22 +02:00
303e3a1c0c run.sh for automatic deployments
3c6232c151 Typo
Compare 2 commits »
swapnil created branch new-master in swapnil/my-idlers 2024-06-26 09:03:21 +02:00
swapnil pushed to note-api at swapnil/my-idlers 2024-06-26 07:10:33 +02:00
0217ff59d5 Update resources/views/servers/show.blade.php
swapnil pushed to note-api at swapnil/my-idlers 2024-06-26 06:59:24 +02:00
6b50978097 Add Notes API
c66312c6f2 Add colocated server type
162b708dbf Fix API /os
25ff23d98d Update README.md
6df8b27337 Merge pull request #103 from HRA42/main
Compare 10 commits »
swapnil created branch note-api in swapnil/my-idlers 2024-06-26 06:59:24 +02:00
swapnil created repository swapnil/my-idlers 2024-06-26 06:58:39 +02:00
swapnil commented on pull request Sysdeploy/idlers-agent#16 2024-06-26 06:25:14 +02:00
Added note and refactor code

Example output:

root@test2:~# sudo dmidecode -t17
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x005D, DMI type 17, 34 bytes
Memory Device
	Array…
swapnil commented on pull request Sysdeploy/idlers-agent#16 2024-06-26 06:22:21 +02:00
Added note and refactor code

I did some reading on this. TotalWidth is DataWidth + (any extra bits for error correction). So it doesn't matter what the exact number of the TotalWidth is, at least in theory. However, common…