lordmilko / PrtgAPI

C#/PowerShell interface for PRTG Network Monitor
MIT License
301 stars 37 forks source link

Getting Syslog Messages/Log #304

Closed xasz closed 2 years ago

xasz commented 2 years ago

What's going on?

I'am trying to get the messages from the syslog sensor. In the UI, there is a special tab in a syslog sensor, which is not there on very sensor: image

I did not figure how if there is possible way to retrieve this informaion via your powershell module.

Thanks for your time and effort,

xasz

Due Dilligance

lordmilko commented 2 years ago

I've never seen this tab before; I believe in English this says "News"? I don't have access to PRTG at the moment, are you able to provide a screenshot of the content normally displayed on this tab?

xasz commented 2 years ago

This Tab only appears on a Syslog Sensor as far as i can tell. I think i english the tab probably says "Messages" and contains the syslog messages which are received by the sensor syslog server: image I have now idea if that helps, but this is the "href" of the tab: /controls/sensormessages.htm?id=156345&udptype=syslog

lordmilko commented 2 years ago

Thanks @xasz,

Based on this I would say unfortunately it is not possible to retrieve this information using PrtgAPI

xasz commented 2 years ago

@lordmilko would be to perfect. I will give it a try to the prtg api by myself. If i find something, i will post it here. Thank you.