Python module used to mass configure rack mounted PDU products from APC
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead of kjoconnor:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Raghu Udiyar <>


This module is used to mass configure APC Power Distribution Units (PDU).

The config file is downloaded (via ftp) and stored in 'configs/<ip>.ini' file. The 
config can then be parsed, modified, stored and sent back to the respective PDU.
Take care that after the config file is written, it should not be updated on the remote 
PDU system for a few minutes, as the PDU seems to randomly scan for changed configs 
and apply them at varying rates. There is not much information available on how this 
works from APC.

Usage examples are included in  

This is the python port (with a few changes) of the orignial php code written by 
Kevin O'Connor <>

For further documentation and updated code :