Hi group
We try to add SNMP Tables to monitor Linux processes. Everything is working when I add it via GUI, but not when I add this sensor via Powersell.
I compare these sensors (GUI vs. Powershell) with
Get-Device -Id 1234|Get-Sensor -Id 2345|Get-ObjectProperty -Raw
But it looks 100% identical, but the sensor where i create via Powershell, give me these error message in the GUI;
Error converting OID (SNMP error # -2007)
Is there any example to create the sensor? Or maybe can anybody give me a hint, what I doing wrong? Or a way to debug?
Would be nice to solve it.
ivo
Article Comments
Salü Matthias
I know, as long as it's the only way to manage PRTG for huge environments, we have to use it. Would be nice to have a solution from Paessler where it's supported.
We can use the Rest-API, but then, we have to write a wrapper around as well and are on the same point like LordMiko is.
So, maybe there is someone who can help us, to bring the snmpcustomtable to fly.
gruss ivo
Oct, 2020 - Permalink
Hi Ivo,
we are working on a new API, where creating sensors will also be supported. At the moment the PrtgAPI is your best bet for this, but we still can not support it.
Kind regards,
Matthias Kupfer - Team Tech Support
Oct, 2020 - Permalink
Hi Ivo,
Please note that the PrtgAPI from LordMilko is not supported by Paessler. If you want more information about the API, please check this site: https://github.com/lordmilko/PrtgAPI
Kind regards,
Matthias Kupfer - Team Tech Support
Oct, 2020 - Permalink