[Solved] PRTG Import
Posted: Mon Oct 12, 2020 1:45 pm
Hi,
My company have been using your product for a while and have been very happy with it to date. I am currently trying to automate the import of devices from PRTG and having some issues.
While I am not using https ('do not check HTTPS certificate'), I am seeing this error in the unimus.log which suggests it is trying to use SSL (full log excerpt attached):
2020-10-13 00:22:37.751 WARN 9975 --- [http-nio-8085-exec-3] n.u.s.p.i.d._.domain.ImportUseCaseImpl : Failed to import device(s) from importer 'Failed to connect to PRTG. Reason: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed'
I am struggling to get this working, though I have been able to successfully build and test the query using Postman:
http://<server_name>/api/table.xml?content=devices&output=xml&columns=device,host,tags&filter_tags=unimus&username=prtgadmin&passhash=<password_hash>
Any assistance you can provide on:
Unimus = 2.0.6
PRTG = 20.3.62.1397+ (freeware edition for testing - not run against the paid instance yet)
My company have been using your product for a while and have been very happy with it to date. I am currently trying to automate the import of devices from PRTG and having some issues.
While I am not using https ('do not check HTTPS certificate'), I am seeing this error in the unimus.log which suggests it is trying to use SSL (full log excerpt attached):
2020-10-13 00:22:37.751 WARN 9975 --- [http-nio-8085-exec-3] n.u.s.p.i.d._.domain.ImportUseCaseImpl : Failed to import device(s) from importer 'Failed to connect to PRTG. Reason: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed'
I am struggling to get this working, though I have been able to successfully build and test the query using Postman:
http://<server_name>/api/table.xml?content=devices&output=xml&columns=device,host,tags&filter_tags=unimus&username=prtgadmin&passhash=<password_hash>
Any assistance you can provide on:
- Confirming the pieces of the query to put into Unimus config
Unimus = 2.0.6
PRTG = 20.3.62.1397+ (freeware edition for testing - not run against the paid instance yet)