hi there,
I have prtg installed on a win 2k8 server. Now what i need to do is to monitor some projectors (inFocus) but they don't support SNMP so i cant put them in the prtg..
I thought of a powershell script to get information of the html page and show them into the prtg. but i'm still a newbie at programming ps-scripts.
Do you guys have any ideas? what should i try?
thanks for your help :)
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Hi,
I would suggest using Invoke-WebRequest here if you are using Powershell 3. There are excellent tutorials around on how to use it for web scraping.
Basically you would use the following call to get all of a page's content and parse it later:
Best regards
Jan, 2015 - Permalink