Monitoring a Windows service

Use the following procedure to monitor a Windows service in your agent:

  1. On the Agent Initial Data Source page (Figure 71) or the Data Source Location page, click A process in the Monitoring Data Categories area.
  2. In the Data Sources area, click A Windows service.
  3. Click Next.
  4. On the Service Monitor page (Figure 72), in the Display name field, provide a descriptive string for the name of the service application to be displayed in the Tivoli® Enterprise Portal. You can type it manually or click Browse to display a list of services that are currently running on the local system or on a remote system.
  5. If you clicked Browse, the Service Browser window is displayed (Figure 73). This window initially contains detailed information about each service on the Agent Builder system, including the ID, the process name, and the full command line for the process.
    Note:
    There are no local services shown when Agent Builder is not running on a Windows system. A remote system Windows must be defined or selected, see Defining connections for service browsing.
    Note:
    The service description is not available when browsing through the Tivoli Enterprise Portal Server or from a UNIX or Linux system.
    Select one or more services or perform one or more of the following actions to work with the list in the Service Browser window:
    • To sort the list of services, click the column heading.
    • To refresh the information in the window, click the Refresh (lightening bolt) icon.
    • To search for a service, click the Search (binoculars) icon to display the Service Search window.
    • To view services on a different system, select a previously defined system from the Connection Name list or click Add to enter the system information. See Defining connections for service browsing, for more information. You can load services from more than one system at a time, and switch between connections while services are loading for one or more connections.

    In the following example, after you select ccEvtMgr, it is displayed in the Service name field on the Service Monitor page (Figure 75).

  6. Do one of the following steps:
    1. If you are using the New Agent Wizard, click Next.

      --OR--

    2. Click Finish to save the data source and open the Agent Editor.