Figure 7.3: Current Bar Dimensions - Wiener PL512 Technical Manual

Modular power supply system
Hide thumbs Also See for PL512:
Table of Contents

Advertisement

snmpwalk -Cp -Oqv -v 2c -M $path -m +WIENER-CRATE-MIB -c public $ip outputName
Example:
snmpwalk -v 2c -m +WIENER-CRATE-MIB -c public 192.168.92.25 outputName
WIENER-CRATE-MIB::outputName.u0 = STRING: U0
WIENER-CRATE-MIB::outputName.u1 = STRING: U1
WIENER-CRATE-MIB::outputName.u2 = STRING: U2
WIENER-CRATE-MIB::outputName.u3 = STRING: U3
WIENER-CRATE-MIB::outputName.u4 = STRING: U4
WIENER-CRATE-MIB::outputName.u5 = STRING: U5
To see all output channel set voltage values use snmpwalk with outputVoltage:
snmpwalk -Cp -Oqv -v 2c -M $path -m +WIENER-CRATE-MIB -c public $ip outputVoltage
Example:
snmpwalk -v 2c -m +WIENER-CRATE-MIB -c public 192.168.2.25 outputVoltage
WIENER-CRATE-MIB::outputVoltage.u0 = Opaque: Float: 3.299805 V
WIENER-CRATE-MIB::outputVoltage.u1 = Opaque: Float: 24.000000 V
WIENER-CRATE-MIB::outputVoltage.u2 = Opaque: Float: 3.300293 V
WIENER-CRATE-MIB::outputVoltage.u3 = Opaque: Float: 24.000000 V
WIENER-CRATE-MIB::outputVoltage.u4 = Opaque: Float: 3.299805 V
WIENER-CRATE-MIB::outputVoltage.u5 = Opaque: Float: 24.000000 V
After obtaining information about the power supplies or a list of channels and parameters, it is useful
to be able to write or read information about it. This can be done using the snmpget and snmpset
commands.
snmpget -Oqv -v 2c -M $path -m +WIENER-CRATE-MIB -c guru $ip name.index
snmpset -v 2c -M $path -m +WIENER-CRATE-MIB -c guru $ip name.index format value
The most common kind of call you will want is to get data from the power supply. This is easily
done via the snmpget command. The example below retrieves information about whether the main
power for the crate is on. If you wish to test this example on your own system replace "$path" with
the path to WIENER-CRATE-MIB.txt (/usr/share/snmp/mibs by default and "$ip" with the ip
address of your MPOD (see following examples).
snmpget -v 2c -M $path -m +WIENER-CRATE-MIB -c public $ip sysMainSwitch.0
Example:
snmpget -v 2c -m +WIENER-CRATE-MIB -c public 192.168.92.85 sysMainSwitch.0
WIENER-CRATE-MIB::sysMainSwitch.0 = INTEGER: off(0)
This indicates that the crate or power supply is currently off. To better understand the call above we
will break it down by parameter:
snmpget: This command will retrieve a value from the PL506/512.
-v 2c: This parameters specifies which version of the SNMP to use. WIENER devices use
SNMP 2C.
-M $path: This parameter should be replaced with the path to the WIENER-CRATE-
MIB.txt file.
-m +WIENER-CRATE-MIB: This parameter tells the command to look at the WIENER-
CRATE-MIB to resolve the OID name.
-c public: This specifies which community of values can be accessed.
$ip: This should be replaced with the IP address of the PL506/512.
sysMainSwitch.0: This is the register you wish to retrieve.
Since we know from the call above that the power supply is off, we may want to turn it on. To turn
the PL506/512 on, we can use the command:
28. May 2013
26
*00679.A4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pl506

Table of Contents