Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20686

SAM VBScript to open webpage and gather data

$
0
0

I have a script that goes to a webpage, logs in and grabs some data off of a device.  The device is not SNMP capable so I'm just using a vb script instead.  When run manually, the script works flawlessly.  Once I added it to SAM to do the automated monitoring, it still worked flawlessly.  Now, for some reason, it's broken.  The script still runs and does everything it's supposed to but it can no longer open a new browser so it fails before it can get very far.  The relevant part of the code is very simple:

 

 

Set IE = CreateObject("InternetExplorer.Application")

IE.visible = false

IE.Navigate ip

 

Very basic stuff and when run manually it's fine and it used to work in SAM.  Now nothing happens, it just errors out when I try to reference IE.  It doesn't even launch - no errors as to why, it just doesn't.  I enabled debugging but didn't see anything useful.

 

Any thoughts why it would work for the first day or so and then not so much?


Viewing all articles
Browse latest Browse all 20686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>