Error: "Timeseries data cannot be generated...The URI is invalid or not configured"


An agent is in an error state and is not collecting data for one of its monitored resources.

The Agent Error message is the following:

Timeseries data cannot be generated due to
the following agent error:  The URI is invalid or not 
configured.  Either please upload a new script with a 
valid URI, or configure the resource, disable the
instance, and enable again: <uri>

In the message, <uri> is the resource that is invalid or not configured. For example:


Solution 1

If the resource URI is supported on this switch and operating system version, the most likely reason for the error is that the switch resource—such as a port—is not in an UP state.

  1. Resolve the problem that is causing the resource to be unavailable.

    For example, if a port is administratively down, bring the port to an UP state.

  2. Disable the agent.
  3. Enable the agent.
Solution 2

The agent uses a resource ID from a user-supplied parameter, and the user supplied a resource ID that is invalid (such as a port that does not exist).

  1. Delete the agent.
  2. Create and enable an agent that specifies a valid resource ID (such as port number).
Solution 3

The resource URI is not a user-supplied parameter, and is not supported on this switch and software version.

For example, a URI that includes /bridge in the path is not valid on 10.03 and later versions.

  1. If the script was downloaded from the Aruba Solutions Exchange (ASE), replace or update the script with a script that supports the software version running on the switch.
    1. If the script was loaded on a switch running version 10.03 or later and the script name matches the new script name, you can use the update process to replace the script.
    2. If the script was loaded while the switch was running a version earlier than 10.03, you must delete the existing script, upload the new script, and create new agents.
  2. If the script not a script downloaded from the ASE, do the following:
    1. Delete all agents associated with the script.

      Consider recording information about the agent names and parameter values so that you can create equivalent agents from the modified script.

    2. Modify the script to specify only URIs that are valid for this switch and operating system version.
    3. Replace the script on the switch with the modified script.
    4. Create agents from the modified script.
    5. Enable the new agents.