Skip to content

Ansible role for installing and Configuration SNMP v3 on installs RHEL/CentOS or Debian/Ubuntu.

License

Notifications You must be signed in to change notification settings

Xuxe/ansible.snmp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: SNMP

Build Status

Description

Ansible role for installing and Configuration SNMP v3 on installs RHEL/CentOS or Debian/Ubuntu.

Installation

ansible-galaxy install sbaerlocher.snmp

Requirements

Role Variables

Variable Default Comments (type)
snmp_user snmp SNMP User
snmp_password snmp_password SNMP Password
snmp_encryption snmp_encryption SNMP Encryption
snmp_contact Optional: System Contact
snmp_location Optional: System Location
snmp_agentadress_protocol.ipvX udp / udp6 Optional: SNMP Protocol, X for ipv4 or ipv6
snmp_agentadress_adress.ipvX {{ ansible_default_ipv4.address }} / {{ ansible_default_ipv6.address }} Optional: SNMP bind address, X for ipv4 or ipv6
snmp_agentadress_port.ipvX 161 / 161 Optional: SNMP port, X for ipv4 or ipv6

Dependencies

None

Example Playbook

- hosts: all
  roles:
     - sbaerlocher.snmp

Changelog

1.4

  • add IP bind support

1.3

  • add become support
  • new role check
  • support for sysContact and sysLocation

1.2

  • add package manager for generic OS
  • cleanup

1.1

  • add ArchLinux support

1.0

  • Initial release

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2018, Simon Bärlocher

About

Ansible role for installing and Configuration SNMP v3 on installs RHEL/CentOS or Debian/Ubuntu.

Resources

License

Stars

Watchers

Forks

Packages

No packages published