Solved

install and configure SNMP on server 2012 using answer file

Posted on 2015-02-18
8
383 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
fabric 1 34
Receiving wifi on an underground station 22 96
adjusting startup config 6 26
IP range 6 32
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…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

830 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