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:
/rest/v1/system/bridge/vlans/*/macs?count
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.
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).
- Delete the agent.
- Create and enable an agent that specifies a valid resource ID (such as port number).
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.
-
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.
- 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.
- 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.
-
If the script not a script downloaded from the ASE, do the following: