Skip to content

Get-itglueconfigurations -filter_serial_number not all information is returned #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bjowol opened this issue Dec 21, 2018 · 9 comments

Comments

@bjowol
Copy link

bjowol commented Dec 21, 2018

itglue/automation#18

The same issue persists for not only Meraki devices. The problem is that the information that is displayed within itglue is not returned from the cmdlet. This is a huge bummer for since there is no good way to filter MAC devices from the rest of the bunch for example.

@adrianwells
Copy link
Collaborator

@bjowol, Hello. May you please test again with release v2.0.5? Testing this with version 2.0.5 returns valid information, an example cmdlet (Get-ITGlueConfigurations -filter_serial_number 'ABC1239').data.attributes

@bjowol
Copy link
Author

bjowol commented Jan 21, 2019

bilde

Not working here.

Thank you for responding anyhow.

@adrianwells
Copy link
Collaborator

@bjowol - Thank you for the reply and screen shot. May you please provide an example of the cmdlet used to produce those results?

@bjowol
Copy link
Author

bjowol commented Feb 6, 2019

bilde

No problem.

I found another issue as well. regarding passwords.

running this command:(Get-ITGluePasswords -id 973936509305037 -show_password $true).data.attributes
returns this output. Nothing wrong here, works as intended.
bilde

however, the problem is where you import all the passwords from an organization.
(Get-ITGluePasswords -filter_organization_id 'xxxxxxxxxxxxxx' -show_password $true).data.attributes

An error is returned
bilde

So as of right now i cannot get all the password out via PS without doing a lot of api calls (3500).

@adrianwells
Copy link
Collaborator

adrianwells commented Feb 6, 2019

@bjowol, thanks for the reply. Reviewing the report issue here and itglue/automation#18 , I think understand the issue and suggest engaging IT Glue Support if you have not already as it appears the data is not there (sounds like this this part of the IT Glue Cisco Meraki intergration feature). Both of the following examples return the same full data set from IT Glue when testing with version 2.0.7 after entering details like manufacturer name, id, etc, valid data is returned both snippets below return the same data:

(Get-ITGlueConfigurations -id 10844996).data.attributes
(Get-ITGlueConfigurations -filter_serial_number 'ABC1239').data.attributes

As for the password issue, may you please create a separate issue to break this out?

@bjowol
Copy link
Author

bjowol commented Feb 6, 2019

i guess ill create a ticket. The data is available in the GUI, thank you for your help so far!

@bjowol
Copy link
Author

bjowol commented Feb 11, 2019

@bjowol, thanks for the reply. Reviewing the report issue here and itglue/automation#18 , I think understand the issue and suggest engaging IT Glue Support if you have not already as it appears the data is not there (sounds like this this part of the IT Glue Cisco Meraki intergration feature). Both of the following examples return the same full data set from IT Glue when testing with version 2.0.7 after entering details like manufacturer name, id, etc, valid data is returned both snippets below return the same data:

(Get-ITGlueConfigurations -id 10844996).data.attributes
(Get-ITGlueConfigurations -filter_serial_number 'ABC1239').data.attributes

As for the password issue, may you please create a separate issue to break this out?

bilde

The data is in itglue, but as you mentioned there is and integraiton feature issue. The "IT-Glue specific" field/object is not populated by the integration, as you can see here.

bilde

Got the same issue with data coming from our PSA. The IP address of the device is visible in the GUI, in the IP Address field, but none of the data from the PSA is returned from the IT-Glue API. The information is just missing. I'll contact itglue support and get their input.

@bjowol
Copy link
Author

bjowol commented Mar 4, 2019

Got this reply from it-glue support. looks like this module need an update. Have not gotten aroud to create a pull request, but i will look at it in the following months (got a lot to do before we start using ITG).

@bjowol, thanks for the reply. Reviewing the report issue here and itglue/automation#18 , I think understand the issue and suggest engaging IT Glue Support if you have not already as it appears the data is not there (sounds like this this part of the IT Glue Cisco Meraki intergration feature). Both of the following examples return the same full data set from IT Glue when testing with version 2.0.7 after entering details like manufacturer name, id, etc, valid data is returned both snippets below return the same data:

(Get-ITGlueConfigurations -id 10844996).data.attributes
(Get-ITGlueConfigurations -filter_serial_number 'ABC1239').data.attributes

As for the password issue, may you please create a separate issue to break this out?

Thank you for your for your patience on the matter. The model and the rest of the RMM information can be retrieved with a GET request to: https://api.itglue.com/configurations/XXXXXXXX/?include=rmm_records

Sample output:

"included": [
{
"id": "XXXXXXXXX",
"type": "rmm-records",
"attributes": {
"name": "XXXXXXXXXXX",
"cpu": null,
"device-type": "Switch",
"external-url": null,
"hostname": null,
"last-login-user": null,
"last-reboot": null,
"last-seen-online": "2019-01-27T19:27:41.000Z",
"manufacturer-name": "Meraki",
"memory-total": null,
"manufacturer-model-name": "MS220-8P",
"ms-office-version": null,
"patches-applied": null,
"patches-total": null,
"serial-number": "XXXX-XXXX-XXXX",
"disks": null,
"ip-addresses": [
"10.0.0.17"
],
"operating-system": null,
"mac-addresses": [
"88-XX-44-XX-ED-XX"

The "manufacturer-model-name" will show up here.

With the PS Module, I was not able to see this option to hit the ?include=rmm_records option.

I ran:
Get-Help GET-itglueconfigurations
and could not see options that will ask for the RMM record data.

SYNTAX
Get-ITGlueConfigurations [-organization_id ] [-filter_id ] [-filter_name ] [-filter_organization_id ]
[-filter_configuration_type_id ] [-filter_configuration_status_id ] [-filter_contact_id ] [-filter_serial_number
] [-filter_rmm_id ] [-filter_rmm_integration_type {addigy | aem | atera | managed-workplace | continuum | jamf-pro |
kaseya-vsa | automate | msp-rmm | msp-n-central | ninja-rmm | panorama9 | pulseway-rmm | watchman-monitoring}] [-sort {name | id |
created_at | updated-at | -name | -id | -created_at | -updated-at}] [-page_number ] [-page_size ] [-include ]

Because we do not work on the wrapper, please contact the author to let them know you are trying to see this data.


On the IT Glue side we have a feature request to have more RMM data write to IT Glue fields.

Overwrite IT Glue data with RMM Data

I’ve added your vote to the idea on your behalf. This also subscribes you to alerts about the suggested feature. We encourage you to join the conversation by adding your comments. You’ll need to already be signed into IT Glue to view the idea.

If you have any other issues please feel free to respond.

Thank you for your engagement, and continued partnership with IT Glue.
Neil Shrestha-Birtch
Partner Success Manager, IT Glue
We ♥ Documentation™

@bjowol
Copy link
Author

bjowol commented Mar 4, 2019

to get this up and running, add the marked line into the script "Configurations.ps1"

https://api.itglue.com/developer/
API documentation:

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants