salt.states.win_snmp
Module for managing SNMP service settings on Windows servers.
-
Manage the SNMP sysContact, sysLocation, and sysServices settings.
- Parameters
Example of usage:
snmp-agent-settings: win_snmp.agent_settings: - contact: Test Contact - location: Test Location - services: - Physical - Internet
salt.states.win_snmp.agent_settings(name, contact, location, services=None)
-
Manage the sending of authentication traps.
- Parameters
-
status (bool) -- The enabled status.
Example of usage:
snmp-auth-traps: win_snmp.auth_traps_enabled: - status: True
salt.states.win_snmp.auth_traps_enabled(name, status=True)
-
Manage the SNMP accepted community names and their permissions.
- Parameters
-
communities (str) -- A dictionary of SNMP communities and permissions.
Example of usage:
snmp-community-names: win_snmp.community_names: - communities: TestCommunity: Read Only OtherCommunity: Read Write
salt.states.win_snmp.community_names(name, communities=None)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.win_snmp.html