Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If a Solaris agent is not collecting data because it is timing out, increase the timeout from the default 30 seconds with the following steps: 

1. Run:

 

Code Block
language

...

text
inetadm -l /network/uptimeagent/tcp | fgrep exec

 

This will return the current agent execution script and should be

/opt/uptime-agent/bin/uptimeagent

2. Run the following command to increase the time out (in this case to 600 seconds or 10 minutes):

...

Code Block
languagetext
inetadm 

...

-m /network/uptimeagent/tcp exec="/opt/uptime-agent/bin/uptimeagent -t 600"

3. Run the following command to verify that the change was successful:

Code Block
languagetext

...

inetadm -l /network/uptimeagent/tcp | fgrep exec

You should see the following output:

/opt/uptime-agent/bin/uptimeagent -t 600

You should now be able to poll the agent and up.time should be able to collect data from the agent as the timeout has been increased.