(imported topic written by Tim.Rice)
Computer Browser Web Report
has a feature to let you click a link and view the Warranty information for Lenovo/IBM, HP, Apple, and Dell computers.
I’m trying to expand on this by creating a Task that will use a command line CURL utility to retrieve the Warranty Information pages, parse it and store the Warranty Date for pickup by a Retrieved Property. We’d like to include it in a CMDB, and I find that Automated is usually better than Manual when it comes to gathering this kind of data.
I can retrieve the page with the information, but as is typical of modern http pages, they’re a mess of CSS and html formatting tags.
Has anyone had any experience picking apart HTML to retrieve a value using Relevance? Any pointers you can offer?
I expect I’ll have to create multiple Tasks, one for each Manufacturer WWW page.
The plan is to have the Tasks populate a “Warranty Info” Client Setting that I can pull into a Retrieved Property. This way for those systems where there is no easily accessible web page with warranty information, the setting can be manually set, and the Retrieved Property can pick them up as well.