Jump to content

eric f

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by eric f

  1. Hey everyone, I'm building a system for our shop and trying to make use of the REST API. I have things set up and working mostly. However, the problem I'm having is when I request asset information, the first time I'll get a full reply as follows with all the asset info, disk info, and IP addresses, but when I refresh the page, without changing anything, most of that info is missing. See the two examples below. Does anybody have any suggestions on what could be wrong? stdClass Object ( [data] => stdClass Object ( [identifier] => xxxxxxxx-202b-446d-8e87-xxxxxxxxxxxx [name] => DC4 [group] => Group Name [description] => Windows Server 2016 Standard [tags] => Array ( ) [type] => windows [client_version] => 5.4.8 [last_updated] => [last_seen_online] => 2018-07-21T21:47:08Z [last_reboot] => [external_url] => https://myurl.com/details [cpu_usage] => 1 [memory_usage] => 56 [memory_total] => 4294414336 [firewall_enabled] => 1 [antivirus_enabled] => not_installed [antivirus_up_to_date] => not_installed [uac_enabled] => 1 [event_logs] => stdClass Object ( [error] => 22349 [warning] => 39190 [information] => 152570 ) [updates] => stdClass Object ( [critical] => 0 [important] => 3 [moderate] => 0 [low] => 0 [unspecified] => 1 ) [asset_info] => Array ( [0] => stdClass Object ( [category_name] => System [category_data] => stdClass Object ( [Name] => DC4 [Manufacturer] => QEMU [Model] => Standard PC (i440FX + PIIX, 1996) [Type] => x64-based PC [CPU] => Common KVM processor [Number of Processors] => 2 [Number of Logical Processors] => 4 [DNS Host Name] => dc4 [Domain] => ad.domain.ca [Owner Name] => Windows User [Roles] => LM_Workstation, LM_Server, Backup_Domain_Controller, Timesource, NT, DFS [Status] => OK ) ) [1] => stdClass Object ( [category_name] => BIOS [category_data] => stdClass Object ( [Name] => Intel IGD BDSM enabled at 0x%08x, size %lldMB, dev 00:02.0 [Manufacturer] => SeaBIOS [SMBIOS Version] => rel-1.10.2-0-g5f4c7b1-prebuilt.qemu-project.org [SMBIOS Major Version] => 2 [SMBIOS Minor Version] => 8 [Version] => BOCHS - 1 [Release Date] => Monday, March 31, 2014 5:00 PM [Status] => OK [Description] => Intel IGD BDSM enabled at 0x%08x, size %lldMB, dev 00:02.0 ) ) [2] => stdClass Object ( [category_name] => Operating System [category_data] => stdClass Object ( [Name] => Windows Server 2016 Standard [Version] => 10.0.14393.0 [Build Type] => Multiprocessor Free [Registered User] => Windows User [Product Key] => Product Key [Serial Number] => Serail Number [Service Pack Major Version] => 0 [Service Pack Minor Version] => 0 [System Device] => \Device\HarddiskVolume2 [System Directory] => C:\Windows\system32 [Windows Directory] => C:\Windows [Install Date] => Monday, January 8, 2018 3:48 AM [Local Date and Time] => Saturday, July 21, 2018 1:32 PM [Last Boot Up Time] => Wednesday, July 4, 2018 2:53 PM [Last Logged On User] => Domain\administrator ) ) ) [public_ip_address] => my IP [ip_addresses] => Array ( [0] => stdClass Object ( [name] => Ethernet [mac] => EE7B1B81F723 [ips] => Array ( [0] => stdClass Object ( [ip] => internal IP [v6] => [download] => 12108 [upload] => 5449 ) ) ) ) [disks] => Array ( [0] => stdClass Object ( [name] => C: [system] => 1 [free_percentage] => 40 [total_value] => 33040380 ) ) [installed_software] => Array ( ) ) [meta] => stdClass Object ( [response_code] => 200 [error_message] => ) ) stdClass Object ( [data] => stdClass Object ( [identifier] => xxxxxxxx-202b-446d-8e87-xxxxxxxxxxxx [name] => DC4 [group] => Group Name [description] => Windows Server 2016 Standard [tags] => Array ( ) [type] => windows [client_version] => 5.4.8 [last_updated] => [last_seen_online] => 2018-07-21T21:55:03Z [last_reboot] => [external_url] => https://myurl.com/app/main/systems/systemId/details [cpu_usage] => 0 [memory_usage] => 0 [memory_total] => 0 [firewall_enabled] => [antivirus_enabled] => not_installed [antivirus_up_to_date] => not_installed [uac_enabled] => [event_logs] => [updates] => [asset_info] => Array ( ) [public_ip_address] => My Public IP [ip_addresses] => Array ( ) [disks] => Array ( ) [installed_software] => Array ( ) ) [meta] => stdClass Object ( [response_code] => 200 [error_message] => ) )
×
×
  • Create New...