Solved

install and configure SNMP on server 2012 using answer file

Posted on 2015-02-18
8
378 Views
Last Modified: 2015-03-03
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
Comment
Question by:fcbc
  • 5
  • 3
8 Comments
 
LVL 8

Expert Comment

by:Salah Eddine ELMRABET
ID: 40631913
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
 

Accepted Solution

by:
fcbc earned 0 total points
ID: 40633096
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
 
LVL 8

Expert Comment

by:Salah Eddine ELMRABET
ID: 40633947
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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Closing Comment

by:fcbc
ID: 40641589
no answer yet
0
 
LVL 8

Expert Comment

by:Salah Eddine ELMRABET
ID: 40641894
How no answer yet????
0
 

Author Comment

by:fcbc
ID: 40641900
Because I am looking to script the install using powershell, not using a third party tool. Sorry.
0
 
LVL 8

Expert Comment

by:Salah Eddine ELMRABET
ID: 40641934
0
 
LVL 8

Expert Comment

by:Salah Eddine ELMRABET
ID: 40641951
Hi,

Here is an example with answer file:

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

Regards.

Salah
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question