The IPPORT statement specifies the port number at the IP address to monitor.
Supported Job Type
This statement is optional for the IP Monitoring job type.
Syntax
This statement has the following format:
IPPORT [ip_port]
(Optional) Specifies the port number for the IP address being monitored. The agent attempts to connect to this port.
Limits: Up to 5 digits
Example: 5800
Note: If you specify 0 or no value for the port, the agent uses ping for monitoring.
Example: Monitor an IP Address and Port
This example monitors the localhost device at port 5800. When the job runs, it immediately checks if the device is running. If the device is running, the job completes. If the device is not running, the job fails.
AGENT SYSAGENT IPADDRESS localhost IPPORT 5800 STATUS RUNNING NOW
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|