MIDServer - Global

Encapsulates the notion of a MID server.

Use these methods in server scripts to manage a MID server using Ajax.

MIDServer - getByName(String name)

Gets the specified MID server.

Table 1. Parameters
Name Type Description
name String The MID server name
Table 2. Returns
Type Description
GlideRecord The record of the requested MID server.


    

MIDServer - getDefault(DiscoverySchedule schedule)

Gets the MID server associated with the specified schedule (the MID server with the same name). If there is no associated MID server, gets the next MID server in the ecc_agent table.

Table 3. Parameters
Name Type Description
schedule DiscoverySchedule The discovery schedule
Table 4. Returns
Type Description
GlideRecord The MID server


    

MIDServer - getForPing(DiscoverySchedule schedule, DiscoveryRange range)

Gets the MID Server with the specified schedule and range set.

Table 5. Parameters
Name Type Description
schedule DiscoverySchedule The discovery schedule
range DiscoveryRange The discovery range set
Table 6. Returns
Type Description
GlideRecord The MID server


    

MIDServer - hostname

The name of the MID server's host .

Table 7. Field
Name Type Description
hostname String The name of the MID server's host.

MIDServer - hostOS

The operating system of the MID server's host.

Table 8. Field
Name Type Description
hostOS String The operating system of the MID server's host.

MIDServer - ip

The IP address of the MID server's host .

Table 9. Field
Name Type Description
ip String The IP address of the MID server's host.

MIDServer - name

Name of the MID server.

Table 10. Field
Name Type Description
name String Name of the MID server

MIDServer - network

The network containing the MID server's host.

Table 11. Field
Name Type Description
network String The network containing the MID server's host. For example, "10.10.10.0/24" or "10.10.10.0/255.255.255.0".

MIDServer - routerIP

The IP address of the MID server host's default router.

Table 12. Field
Name Type Description
routerIP String The IP address of the MID server host's default router.

MIDServer - status

The MID server's status ("Up" or "Down").

Table 13. Field
Name Type Description
status String The MID server's status ("Up" or "Down").

MIDServer - sysID

The sys_id of the MID server record.

Table 14. Field
Name Type Description
sysID String The sys_id of the MID server record.

MIDServer - url

The URL the MID server uses to contact the instance.

Table 15. Field
Name Type Description
url String The URL the MID server uses to contact the instance.

MIDServer - version

Version of the MID server (WAR name).

Table 16. Field
Name Type Description
version String Version of the MID server (WAR name).

MIDServer - windowsDomain

Windows domain of the MID server's host (if it is a Windows machine).

Table 17. Field
Name Type Description
windowsDomain String The Windows domain of the MID server's host.