snmp_ros package from snmp_ros repo

snmp_ros

Package Summary

Tags No category tags.
Version 1.0.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ctu-vras/snmp_ros.git
VCS Type git
VCS Version master
Last Updated 2022-06-29
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Utilities for working with SNMP from ROS

Additional Links

Maintainers

  • Martin Pecka

Authors

  • Martin Pecka

SNMP ROS

Utilities for working with SNMP from ROS.

This package only supports a very small subset of SNMP. Basically, just reading single OIDs from SNMPv1/v2 agents. Notably, the node currently cannot interpret MIBs. Pull requests for additional functionality are welcome.

Node snmp_reader

ROS node that allows reading OID values via SNMP into ROS topics or parameters.

Parameters

  • ~agent_address (type string, default "127.0.0.1"): IP address of the SNMP agent.
  • ~agent_port (type int, default 161): Port to connect to.
  • ~community (type string, default "public"): The community to connect to.
  • ~snmp_v2 (type bool, default True): If True, v2 is used, otherwise SNMP v1 is used.
  • ~topics (type dict, default {}): List of OIDs that should be periodically read and published as topics.
    • Each item in topics is a dict with the following items:
    • oid (type string): The OID to read.
    • type (type string, default String): Type of the ROS message to parse the value as. Use ROS message type names like Int32.
    • topic (type string, defaults to the key of this dictionary entry): The topic to publish the value to. Prepend ~ to publish it as a private topic.
    • rate (type float, default 1.0): Publishing rate. If set to 0, the value is only read once and published latched.
  • ~params (type dict, default {}): List of OIDs that should be read once and set as ROS parameters.
    • Each item in params is a dict with the following items:
    • oid (type string): The OID to read.
    • type (type string, default str): Type Python type to parse the value as. Use Python type names like int.
    • parameter (type string, defaults to the key of this dictionary entry): The parameter to set the value to. Prepend ~ to set a private parameter.

Published topics

  • configured by the ~topics parameter.

Usage

Just run the snmp_reader node and pass it the required configuration. Look into the config folder for examples of the node configuration.

CHANGELOG

Changelog for package snmp_ros

1.0.3 (2022-06-29)

  • Added URLs to package.xml
  • Contributors: Martin Pecka

1.0.2 (2022-06-29)

  • Fix dependencies.
  • Contributors: Martin Pecka

1.0.1 (2022-06-29)

  • Initial commit.
  • Contributors: Martin Pecka

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged snmp_ros at answers.ros.org

snmp_ros package from snmp_ros repo

snmp_ros

Package Summary

Tags No category tags.
Version 1.0.3
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ctu-vras/snmp_ros.git
VCS Type git
VCS Version master
Last Updated 2022-06-29
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Utilities for working with SNMP from ROS

Additional Links

Maintainers

  • Martin Pecka

Authors

  • Martin Pecka

SNMP ROS

Utilities for working with SNMP from ROS.

This package only supports a very small subset of SNMP. Basically, just reading single OIDs from SNMPv1/v2 agents. Notably, the node currently cannot interpret MIBs. Pull requests for additional functionality are welcome.

Node snmp_reader

ROS node that allows reading OID values via SNMP into ROS topics or parameters.

Parameters

  • ~agent_address (type string, default "127.0.0.1"): IP address of the SNMP agent.
  • ~agent_port (type int, default 161): Port to connect to.
  • ~community (type string, default "public"): The community to connect to.
  • ~snmp_v2 (type bool, default True): If True, v2 is used, otherwise SNMP v1 is used.
  • ~topics (type dict, default {}): List of OIDs that should be periodically read and published as topics.
    • Each item in topics is a dict with the following items:
    • oid (type string): The OID to read.
    • type (type string, default String): Type of the ROS message to parse the value as. Use ROS message type names like Int32.
    • topic (type string, defaults to the key of this dictionary entry): The topic to publish the value to. Prepend ~ to publish it as a private topic.
    • rate (type float, default 1.0): Publishing rate. If set to 0, the value is only read once and published latched.
  • ~params (type dict, default {}): List of OIDs that should be read once and set as ROS parameters.
    • Each item in params is a dict with the following items:
    • oid (type string): The OID to read.
    • type (type string, default str): Type Python type to parse the value as. Use Python type names like int.
    • parameter (type string, defaults to the key of this dictionary entry): The parameter to set the value to. Prepend ~ to set a private parameter.

Published topics

  • configured by the ~topics parameter.

Usage

Just run the snmp_reader node and pass it the required configuration. Look into the config folder for examples of the node configuration.

CHANGELOG

Changelog for package snmp_ros

1.0.3 (2022-06-29)

  • Added URLs to package.xml
  • Contributors: Martin Pecka

1.0.2 (2022-06-29)

  • Fix dependencies.
  • Contributors: Martin Pecka

1.0.1 (2022-06-29)

  • Initial commit.
  • Contributors: Martin Pecka

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged snmp_ros at answers.ros.org