17 file/directory monitor, File, Adding a file monitor – H3C Technologies H3C Intelligent Management Center User Manual

Page 502

Advertising
background image

488

17 File/Directory monitor

This chapter describes how to add and modify file/directory monitors, and helps you view relevant

monitor reports.

File

APM can monitor the size and last modification time of individual files on Windows, UNIX, and Linux

operating systems. This section describes how to add a file monitor, and helps you view the monitor

report.

Adding a file monitor

APM monitors files through WMI or CLI. When you add application monitors for files, follow these

guidelines:

Add the host where the file to be monitored resides to the IMC platform so APM can obtain and
display network connections of the host and the access device in the application topology. For more
information about adding hosts to the IMC platform, see H3C IMC Base Platform Administrator

Guide.

To monitor a file on a Windows host, first configure and enable WMI for the Windows operating
system (see the Microsoft Windows operating system online help), and provide the username and

password of the user who has the Windows administrator's privileges.

To monitor a file on a Linux or UNIX host, first enable Telnet or SSH for the host (see the Linux
configuration guide), and configure the Telnet or SSH username and password on both the host and
the IMC platform. The Telnet or SSH user must have the administrator privilege.

To add a file monitor:

1.

Click the Resource tab.

2.

Enter the Add Application page in one of the following ways:

{

Select Application Manager > Add Application from the navigation tree.
The page displays all application types that can be monitored by APM.

{

Select Application Manager > Application Monitor from the navigation tree, and then click Add
on the application monitor list page.

3.

Click File of the File/Directory Monitor class.
The page for adding a file monitor appears.

4.

Configure the following parameters for the application monitor:

{

IP Address—Enter the IP address of the host where the file to be monitored resides. If the host is

already added to the IMC platform, you can also click Select and select the host from the Select
Devices window. For information about selecting a host, see "

2 Quick start

." APM automatically

checks the specified IP address and associates the application monitor with the host managed

in the IMC platform.

{

Name—Enter a unique application monitor name. H3C recommends using Application
name_host IP address
for naming the application monitor.

Advertising