[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 510
  • Last Modified:

install and configure SNMP on server 2012 using answer file

I am looking to script the installation of SNMP on a windows server 2012 R2. I am running the following:

Add-windowsfeature SNMP-Service
Add-windowsfeature RSAT-SNMP

but I want to use an answer file to also configure the SNMP traps and security. Does anyone have a sample answer file that they can share? Not sure what needs to be in it and how to use it.

If not an answer file, maybe an example of some powershell commands to configure SNMP once installed? I am looking to configure the agents, traps and security tabs.
0
fcbc
Asked:
fcbc
  • 5
  • 3
1 Solution
 
Salah Eddine ELMRABETCommented:
Hi,

I suggest to use Solarwinds FREE SNMP Enabler For Windows witch you can download here http://www.solarwinds.com/products/freetools/snmp-enabler-for-windows/enable-snmp.aspx

This can automate SNMP service Install and SNMP parameters configuration, but recently tested for Win2012 R2 I could'nt install the service but of course you can use it to configure community and security with result output.

Good luck.

Salah
0
 
fcbcAuthor Commented:
Thanks. I am really hoping to script it somehow. I will play a little longer and see if I can get it to work I will post something if I do.
0
 
Salah Eddine ELMRABETCommented:
Hi,

For SNMP service install and start, for sur the tools I syggested can't do this, if you download it and install it you can figure out that only Win2008 option can be found in the setup files path configuration.

But for the second part of your need, it will let you configure community string and security rules in a quick way.

Regards.

Salah
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
fcbcAuthor Commented:
no answer yet
0
 
Salah Eddine ELMRABETCommented:
How no answer yet????
0
 
fcbcAuthor Commented:
Because I am looking to script the install using powershell, not using a third party tool. Sorry.
0
 
Salah Eddine ELMRABETCommented:
Hi,

Here is an example with answer file:

http://00shep.blogspot.com/2012/04/automatically-install-snmp.html

Regards.

Salah
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now