I am working on using some APC rack PDU's for switching heavy loads. I bought a couple of their AP7921's for like 30 euro's on ebay. Simple 1U boxes (about 20 cm deep) with 8 C13 outputs..
They can be controlled using SNMP :
snmpset -v 1 -c <write community> <ip address> 1.3.6.1.4.1.318.1.1.12.3.3.1.1.4.<outlet number> integer <command> (2=off 3=on)
works great from a linux box.
Having trouble with hooking it up to the Miniserver as a virtual output though.. The loxone documentation on virtual outputs explains sending snmp traps but it seems like they use a lot more than i have available to set up the trap command.
In the virtual output documentation from loxone it says :create a virtual output and set the address as : snmp://“ServerIP“ or /dev/snmp/“ServerIP“In the field for command for ON / OFF enter the OID info as follows :&Community&OID&GenTrap&SpecTrap&VarOID&VarVal[&VarOID&VarVal]
For example :
&MyCommunity&.1.3.6.1.4.1.27383.1.1.11.3.2&6&0& .1. 3.6.1.4.1.27383.1.2.1&1
Since i only have 1 OID string which should be followed by "integer 3" i tried using :
&private&1.3.6.1.4.1.318.1.1.12.3.3.1.1.4.1&i3
sadly nothing happens :-( Like i said, i only have the single OID string available, that needs to be followed by "integer 2"or "integer 3"
Any thought on this ? anyone ?