Adding Camera Passwords for Firmware Updating
For camera firmware upgrade management, the agents need permitted access to each device to both pull current firmware and model information as well as initiate upgrades. Without credentials, Viakoo can read camera model and firmware version information from the VMS database. However, very few VMSes regularly poll cameras for their current firmware versions. Therefore, even if you don’t intend to use Viakoo to update firmware, it is valuable to give Viakoo camera device credentials to allow Viakoo to, at least, collect current firmware version information from the camera so it can accurately report firmware compliance on each device.
Entering Passwords through Viakoo’s CA Console
Passwords are added through the CA’s Password Manager interface and are stored in a secure, encrypted keystore on each recording server so the associated Viakoo camera drivers have access to them. This step has to be repeated for each site you want to enable for Viakoo’s Camera Firmware Update Manager to have access.
Navigate to CA’s Password Manager
In a web browser, navigate to your site’s CA console (http://<ca’s ip address>:10101) then bring up the CA menu to launch the CA’s Password Manager:
The Password Manager provides an interface to added credentials for individual devices one at a time, in bulk, by manufacturer or a default credential for all cameras at a site.
NOTE: agents prior to 5400 only allow individual camera credentials. If you are running earlier agents, talk to your Viakoo Support Team (firstname.lastname@example.org) to get your site upgraded to the latest agents.
The main page shows you what credentials are already maintained by the agents and provides four different ways of entering credentials:
- Adding credentials for individual devices
- Adding credentials for all devices of a single manufacturer
- A default credential for all devices at the site
- A way of importing credentials from your VMS application (not supported for all VMSes)
Priority of Credential Selection
Given the above, it is possible to have multiple credentials be associated with the same device. For example, imagine a Pelco camera at IP address 10.50.2.120. If there is a default credential for all cameras at a site, a credential for all Pelco devices at the same site and a credential set for address 10.50.2.120.
In this situation, the agents use the following strategy to figure out which credential to use:
- If there is a credential defined for the specific device, use it.
- If there is not a working credential for the specific device but there is a credential defined for the manufacturer associated with the device, use the credential defined for the manufacturer of the device.
- If there is not a working credential for the specific device, nor for the manufacturer of the device, but there is a default credential for that type of device (e.g., “Camera”), it will use the default for that type of device.
Adding a Default Credential for the Site
To a single default credential, click on the “Add Default Credential
On this page, you can enter a single credential which will be attempted if there is no individual device credential or a credential for the associated manufacturer.
Enter a username and password pair and click “Submit”. To verify your entry, return to the “Currently Defined Passwords” subtab.
Adding Manufacturer Credentials
If you have a common credential for devices of different manufacturers (often because different manufacturers have different password constraints), click on the “Add Passwords By Manufacturer” subtab.
On this subtab, you can submit separate credentials for each device manufacturer you have at your site. For each credential to add, first select the manufacturer from the pulldown list, then enter the username and password and click “Submit”. Repeat to add as many manufacturers credentials as you would like.
Click the “Currently Defined Passwords” subtab to verify your credentials have been added.
Entering credentials one device at a time
For some sites, each device may have their own unique credential, or you may have an individual camera that is set to a different credential for some reason. To add a credential for individual devices, click “Add Passwords By Device” subtab.
On this table, you add devices as username, password and IP address combinations. You can continuously add as many device credentials as you need to before clicking submit. You can also import a prepared CSV file that contains all your device credentials. The CSV file needs to have column headers that match the table in this display. You can export a template for this CSV file to guide your preparation.
Click “Save Camera Passwords” to save your entries. You will be given a chance to acknowledge your entries in a confirmation pop-up.
Resubmitting for credentials for the same IP address will overwrite the existing entry.
When you are ready, click “Save Camera Passwords” and return to “Currently Defined Passwords” subtab to verify your device credentials have been added.
Note: You can remove a credential by clicking on the “Delete” button next to the entry in the “Currently Saved” box. Alternatively, you can correct an entry by re-entering new credentials for the same device (same Camera IP Address).
Adding Passwords in Bulk
You also have the option of adding device passwords in bulk through two mechanisms:
- Supplying passwords through a CSV file import
- Pulling passwords from your VMS database*
Importing Credentials through CSV File
You can create a Comman-Separated (CSV) file using common spreadsheet tools that can then be used to import into the CA Password Manager. The file needs to have three columns with a header row that corresponds to the credential column headers in the CA’s Password Manager page (i.e., “Username, Password, Camera IP Address”). Then there can be an arbitrary number of rows, each with the credentials for different cameras.
This gives you a way to add a large number of device credentials in a single step.
Clicking on “Load CSV” button will give you a pop-up control to select the CSV import file you’ve created. If it is correctly formatted, you will see display appear as if you had entered each device one by one. You can choose to correct your entries, add more entries, or save your entries in the same manner as before.
After completing all these steps, saving and then acknowledging your new entries, you can now see all the new credentials added to the agents.
Importing from VMS
Viakoo’s VMS adaptor is able to import camera password credentials directly from the VMS. Click the “Import VMS Passwords” button and the okay button on the subsequent confirmation popup.
Note: this feature is only supported with a limited number of VMS Manufacturers. Even if the VMS is supported for other features within Viakoo. If you attempt to load passwords from an unsupported VMS, you will get a red “VMS not supported” message on the Password Manager display.
You can visit www.viakoo.com for more specifics about support for your VMS. If it is indicated as supporting this feature.