Solved

install and configure SNMP on server 2012 using answer file

Posted on 2015-02-18
8
355 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
 

Author Closing Comment

by:fcbc
ID: 40641589
no answer yet
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now