This article will detail in-depth how to add APDUs to your Infrastructure tab and associate them with your Site Map.
Associating APDUs requires you first to have a completed Site Map in Foreman. You can check out our instructional guide here for details on creating a Site Map.
Uploading Multiple APDUs to Infrastructure at Once
If you have more than one APDU, you can perform a CSV upload to add them to Infrastructure in a single operation.
From the Infrastructure tab on the left panel of Foreman, click the 'Upload Infrastructure' button and select 'PDU - APDU Smart PDU' from the dropdown list. You'll see that an option to download a CSV template file has now appeared. This file will contain your existing Smart PDUs if you added some previously. Otherwise, it will be blank if this is your first time adding Smart PDUs.
Enter the details of the APDU Smart PDUs into the CSV file, ensuring that you enter data in the Name, Pickaxe Key, IP, Port, and SNMP Community String columns. The 'Port' value is typically 161, and the SNMP Community String is usually 'public.' Accuracy at this step is critical because your upload will only be successful if you have data entered for each of these five columns.
Once you've checked your CSV file for accuracy, you can upload it to Foreman. Click Choose File' from the window you downloaded the template file and select your completed CSV file. Next, click the 'Upload' button to finish the process. Your Infrastructure page will now be populated with the APDU Smart PDUs from your file.
Now that you've populated your Infrastructure screen, you're ready to start associating your APDUs with locations on your Site Map.
Associating APDUs with Your Site Map
The example below shows a completed CSV for an APDU that has 9 ports.
Consumption Stats from your Miners
Once your APDUs have been added to Infrastructure for 5 minutes, you will be able to view their current stats in Foreman. Click on the 'Actions' button attached to your APDU on the Infrastructure screen and select 'View Current Stats' from the dropdown menu.
APDU Functionally and Power Draw
If you have any questions or need assistance, feel free to email us at firstname.lastname@example.org, and we would be happy to assist you.