Using PowerShell to Install SNMP and configure Community, Location and Contact on Windows 2008

One of the steps needed to onboard a system into our monitoring tools is to configure SNMP. If the customer template does not have SNMP pre-configured, or is not using GPO to do it; it quickly becomes a painfully slow speed-bump.

Last night I threw together the PowerShell script below to:

  • Install SNMP services
  • Configure SNMP Management servers
  • Configure Read-Only community strings
  • Configure Read-Write community strings
  • Configure Read-Only Trap community strings
  • Configure Read-Write Trap community strings
  • Configure System Location
  • Configure System Contact
  • Configure SNMP Name Resolution


Continue reading “Using PowerShell to Install SNMP and configure Community, Location and Contact on Windows 2008”

Monitoring your IBM PureFlex Flex System using SNMP

Luckily IBM has included a great too called Flex System Automation Manager to monitor your IBM Pure Flex environment. It allows you to monitor a multitude of events and respond with a multitude of actions. Hoever; we’re going to simply cover SNMP.

To start, go to Home > Plugins > Automation Manager > Event Automation Plans.

Click Create, give the plan a name and click Next.

Here you can select the system(s), group(s), or all systems; then simply click Add.

Click Next.

Then select the events that you wish to capture the alerts from:

Click Next.

Create an action to take when the alert state happens, to do this click create.

In our case, were going to select “Send an SNMP trap to an IP”

Click OK.

Fill out the action, destination, SNMP version and community string that you wish to use.

Click OK.

Select the event action, click Next.

Select the timeframe, in this case we used 24×7 and clicked next.

Clicking Finish will end the configuration of your SNMP alerting.