URI errors

Agents can encounter errors not related to script syntax. For example:

  • The agent attempts to monitor a port that exists on the switch but is not up.

  • The agent attempts to monitor a port that does not exist on this switch.

  • The agent attempts to monitor a LAG that has not been configured.

  • The specified attribute is not correct for the resource. For example, the query string of the resource URI specifies nx_packets instead of rx_packets.

LAGs and ports are examples of switch resources. Every switch resource is identified by a URI (Universal Resource Identifier), so the kinds of errors listed previously are a category of errors called URI errors.