Login to the system on which the agent is running. Note that this may not work correctly if launching a telnet connection from a Windows system.
# su - nobody
$ telnet localhost 9998
You should receive a connection with no prompt (although the prompt may appear if the session has hung). Type sadc_cpu and press Enter.
You should see a line of numbers and be returned to the prompt.
If this step works as described, the server is listening on the appropriate socket and the agent binary is working correctly. If this process does not work, inetd may not have been restarted or configured properly (make sure the agent service is defined in inetd.conf and services). Alternatively, permissions to the uptmagnt binary may not be correct (ensure the agent is owned and executable by the nobody user).
Test if CPU and disk statistics gathering is working on the agent by running the following commands (that the agent binary runs to collect CPU and disk information):
# su - nobody
$ /opt/SPYNuptm/bin/perfparse.sh cpu
$ /opt/SPYNuptm/bin/perfparse.sh disk
After each command you should see rows of numbers. If you receive any error messages, review the Before Contacting Support section of this article.
Test the monitoring station and the network by running the following commands on the monitoring station:
# su - uptime
$ cd /opt/SPYNuptm/bin
$ ./perfget -c AgentName -f /dev/stdout -q
Replace Replace AgentName with the name of the system that you are troubleshooting.
If the command was successful then the agent is responding and there are no networking issues. If the command fails, port 9998 between the monitoring station and the
agent may be blocked or the monitoring the monitoring station may not be able to resolve the agent.