What is the function of the GetPackageInfo.aspx page, and how does it work?
This page is an interface between the Altiris Agent and the Altiris Notification Server database.
It is used by the agent to interrogate the server and retrieve Software Delivery packages information (both from NS Core and Software Delivery Solution). The Altiris agent sends a http request to the Altiris NS '/Altiris/NS/Agent/GetPackageInfo.aspx' with a single parameters (xml) containing the following attributes:
The Altiris agent receives a reply from the Altiris Server, which is an xml string containing the following xml elements:XML Attributes:version – Specifies the version of the package info request XML. The default value is 1 for NS 6.0. This attribute is optional.
resource - Specifies the GUID of the resource (Agent) making the request. This attribute is mandatory.
totalTime - Specifies the total time in minutes that an Agent has been downloading a package.
type - Specifies the type of request. This value must be set to 'codebases' for NS 6.0. This attribute is mandatory.
compress – Specifies whether the response should be compressed. The default value is false. This attribute is optional.
package/guid – Specifies the GUID of the package to examine. This attribute is mandatory.address/ip - Specifies the IP address of the resource (Agent) making the request. This attribute is mandatory.
<codebases speedTest="<0 or 1>">
<codebase url="<PakageCodebase: Http>" snapshot="<PackageSnapshotUrl>" />
<codebase url="<PackageCodeBase: UNC>" snapshot="<PackageSnapshotUrl>" />