SNMPower

User Guide

Over View:
SNMPower is an application that can remotely control SNMP enabled power strips.

SNMPower works either through a web based interface or via the command line to allow the user a scripting facility.

In the web view, the user enters the a URL like:
http://myserver/cgi-bin/SNMPower.exe?-c+public+10.11.12.13
A graphical view of this device (at IP address 10.11.12.13) with
SNMP write community string of "public" is then shown.

Each outlet is color coded indicating the current state of the outlet.

A legend at the base of the page gives a complete description of the color coding.

The user selects the new state for one or more outlets from the associated list.
SNMPower
1) Sends the appropriate SNMP commands to alter the outlet.
2) Generates a new HTML page for the web server to display based on the status
it discovers from the device.

In the command line version the user would enter a command like:
snmpower -c public 10.11.12.13
When this command is entered, outlike similiar to the following might appear.
Module 1
1.1:0 1.2:1 1.3:1 1.4:1 1.5:1 1.6:1 1.7:1 1.8:1 1.9:1 1.10:3 1.11:3 1.12:3 1.13:3 1.14:1 1.15:1 1.16:1 1.17:1 1.18:1 1.19:1 1.20:1
Module 2
2.1:1 2.2:0 2.3:1 2.4:0 2.5:1 2.6:1 2.7:1 2.8:1 2.9:1 2.10:3 2.11:3 2.12:1 2.13:3 2.14:3 2.15:1 2.16:1 2.17:1 2.18:0 2.19:1 2.20:0
SNMPower by NET Improvement Consulting pty limited
Version 1.5 2001/12/17

This would indicate that the device has two power strips of 20 outlets each.
Module 1 outlet 3 is currently on. Module 2 outlet 4 is currently off.

Lets say the users wants to change outlet 1.3 off and 2.4 on.
A command such as this will accomplish this:
snmpower -c public 10.11.12.13 1.3 0 2.4 1