mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1300] FEATURE REQUEST: Output additional details in Agents API #808
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#808
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joeldeteves on GitHub (Oct 2, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1300
Is your feature request related to a problem? Please describe.
I am currently working on integrating TacticalRMM with other tools via the API, and I would like to automatically pull inventory from TRMM into SnipeIT.
The problem is, TRMM does not currently provide all the relevant details in the system info that are useful for asset tracking, which means I must categorize all of my assets as Workstations as opposed to Desktops & Laptops, and manually enter serial numbers, etc.
Describe the solution you'd like
I would like TRMM to output the following info into the Agents API:
Describe alternatives you've considered
I can work around it by searching for keywords like "Book" and "Pad" or even chip type "Xeon" but this is hacky at best.
Additional context
It would go under the existing system info with Memory, etc. and be outputted to the API
@wh1te909 commented on GitHub (Oct 2, 2022):
let me know which api endpoint specifically you want this in and I can add it, since there are multiple endpoints that provide this info
@joeldeteves commented on GitHub (Oct 2, 2022):
Thanks I'm fetching from Agents
@joeldeteves commented on GitHub (Oct 3, 2022):
Since we're on this topic, it would be useful to have the Serial Number and Mac Address as well. I'll update the title of the issue accordingly.
@joeldeteves commented on GitHub (Oct 3, 2022):
Looks like RAM is missing as well.
@wh1te909 commented on GitHub (Oct 3, 2022):
I wasn't thinking clearly earlier lol, all of this is already exposed via the API here is the endpoint you want to hit:
https://api.example.com/agents/<agent_id>/replace<agent_id>with the actualagent_idthe stuff you want will be in thewmi_detailfield@joeldeteves commented on GitHub (Oct 3, 2022):
In that case, it be possible to output those other fields in /agents as well? Because we are essentially looping thru each agent from the list. So to have to drill down via the ID is going to double the amount of CPU work (or Tasks if using Zapier).
It is just these handful of fields which would make parsing through every agent much easier.
Also: it appears Agent by ID does not retrieve the serial number or Mac Address either
@joeldeteves commented on GitHub (Oct 3, 2022):
Adding to my previous comment: There are a couple of fields that are still missing from agent ID:
@joeldeteves commented on GitHub (Oct 3, 2022):
Hi there, my mistake it seems they were buried under WMI.
I had to do some Python-fu to extract it but it is there.
Thank you,