Skip to content

napaster/ansible-role-snmpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-snmpd

This is very early support of snmpd, support only few options.

Requirements

  • Ansible 2.5+;

Example configuration

---
# Enable snmpd service or not.
snmpd_enable: 'true'
# Restart snmpd after deploy or not.
snmpd_restart: 'true'
# Install snmpd package or not.
snmpd_install_package: 'true'

snmpd:
- system:
  - rocommunity: 'public'
    # Using IP or Networks to SNMP access. If there is no Network section, then the value is simply set: rocommunity public and full access to SNMP 
    network:
    - '10.0.0.0/8'
    - '172.16.20.0/24'
    - '192.168.0.0/16'
    syslocation: '37 Riegelmann Boardwalk, Brooklyn, NY 11224, USA'
    syscontact: 'noc@opentech.ru'
  agent:
    - agentaddress: 'udp:161'
  extend:
  - "pi_cputemp /usr/bin/pi_cputemp"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages