[GH-ISSUE #1978] Not able to fetch total_ram #3182

Closed
opened 2026-03-14 06:48:16 +03:00 by kerem · 0 comments
Owner

Originally created by @NCaur on GitHub (Aug 14, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1978

Server Info (please complete the following information):

  • OS: Windows Pro
  • Browser: chrome
  • RMM Version: 0.18.2

Installation Method:

  • Standard

Agent Info (please complete the following information):
Agents are having different versions and OS.

Describe the bug
I am trying to fetch the data using the API: https://api.[CompanyDomain]/agents/-h 'X-API-KEY: [API KEY]'

To Reproduce
Steps to reproduce the behavior:
curl https://api.[CompanyDomain]/agents/-h 'X-API-KEY: [API KEY]'
Expected behavior
It should display information like sitename, hostname, agentID,... including total_ram; but whenever I am trying to parse the value in total_ram; I am getting undefined; checked into the raw data, but nothing like total_ram is there.

Snippet from my curl response:

{"agent_id":"0***","alert_template":null,"hostname":"","site_name":"","client_name":"","monitoring_type":"workstation","description":"","needs_reboot":false,"pending_actions_count":1,"status":"overdue","overdue_text_alert":false,"overdue_email_alert":false,"overdue_dashboard_alert":false,"last_seen":"2024-02-15T12:55:15.110723Z","boot_time":1708000484,"checks":{"total":0,"passing":0,"failing":0,"warning":0,"info":0,"has_failing_checks":false},"maintenance_mode":false,"logged_username":"","italic":false,"block_policy_inheritance":false,"plat":"windows","goarch":"amd64","has_patches_pending":false,"version":"2.4.9","operating_system":"Windows 10 Pro, 64 bit v22H2 (build 19045.3324)","public_ip":"","cpu_model":["],"graphics":"","local_ips":"","make_model":"***","physical_disks":["I"],"custom_fields":[],"serial_number":"***DZ"}

Originally created by @NCaur on GitHub (Aug 14, 2024). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1978 **Server Info (please complete the following information):** - OS: Windows Pro - Browser: chrome - RMM Version: 0.18.2 **Installation Method:** - [ ] Standard **Agent Info (please complete the following information):** Agents are having different versions and OS. **Describe the bug** I am trying to fetch the data using the API: **https://api.[CompanyDomain]/agents/-h 'X-API-KEY: [API KEY]'** **To Reproduce** Steps to reproduce the behavior: curl https://api.[CompanyDomain]/agents/-h 'X-API-KEY: [API KEY]' **Expected behavior** It should display information like sitename, hostname, agentID,... including total_ram; but whenever I am trying to parse the value in total_ram; I am getting undefined; checked into the raw data, but nothing like total_ram is there. Snippet from my curl response: {"agent_id":"0***","alert_template":null,"hostname":"***","site_name":"***","client_name":"*****","monitoring_type":"workstation","description":"***","needs_reboot":false,"pending_actions_count":1,"status":"overdue","overdue_text_alert":false,"overdue_email_alert":false,"overdue_dashboard_alert":false,"last_seen":"2024-02-15T12:55:15.110723Z","boot_time":1708000484,"checks":{"total":0,"passing":0,"failing":0,"warning":0,"info":0,"has_failing_checks":false},"maintenance_mode":false,"logged_username":"**","italic":false,"block_policy_inheritance":false,"plat":"windows","goarch":"amd64","has_patches_pending":false,"version":"2.4.9","operating_system":"Windows 10 Pro, 64 bit v22H2 (build 19045.3324)","public_ip":"****","cpu_model":["***],"graphics":"****","local_ips":"****","make_model":"****","physical_disks":["I"],"custom_fields":[],"serial_number":"***DZ"}
kerem closed this issue 2026-03-14 06:48:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3182
No description provided.