Hi all,
I am looking for an easy way to make sure a file has been updated in the last 10 minutes. Is there an easy way to do this without a lot of time manipulation in vbscript?
Thanks.
Hi All,
I am trying to call a command line exe file and pass parameters to it. I assume a batch file would be the best way to do this, but how do I pass parameters from the vbscript to a batch file?
Rudis, we have been forced down that same path, cheaper, management likes that. I hope we do not have the same problems you have had, but I have read in other places it is not the most stable of products. I have seen that 3rd party unix monitoring tool, I started laughing when I saw how it...
Hi All,
I am new to MOM 2005, still have it in development. I am wondering how I can monitor for if a file exists, and if it exists, has it been updated in the last half hour. If someone could point me in the right direction I would appreciate it.
I have written a monitor that runs every 5 minutes and all it looks for is the xml.status return code. If I get a 200 back, the web site is fine, if I get anything else back, I send an alert to the webmasters.
The problem I am having is with these objects.
Set...
Ok, all of this works, if I use the
msxml2.xmlhttp.3.0 I get a 200 every time, the caching problem. If I use the:
msxml2.serverxmlhttp.4.0 then it does not work for most sites.
Any ideas?
'Set xml=CreateObject("Msxml2.SERVERXMLHTTP")
'Set xml=CreateObject("Msxml2.SERVERXMLHTTP.4.0")
Set...
Hi all,
I am writing a script that pulls back the xml.status of a web site. I was originally using this:
Set xml=CreateObject ("MSXML2.XMLHTTP.3.0")
but I realized it caches the sites. Once the xml.status = 200 it would come back as 200 every time. Then I found a site that said if you are...
Hi all, I was wondering how I can get this code to work on a page that you must login in order to get to it.
I am getting this error
C:\Scripts\returnstatus.vbs(8, 7) msxml3.dll: A security problem occurred.
set xml=createobject("Microsoft.XMLHTTP")
StartTime = now
xml.Open "GET"...
Hi all,
I have a disk monitor that runs on servers to check disk space, used, availabe, etc... On some servers however we are having drives go bad and my monitor just does an on error resume next, so it moves right on past and ignores them. I am trying to check if the drive is available, and...
I am guessing by the response the either I am not asking my question clearly or it cannot be done. Does anyone have any further questions about what I am wanting to do?
Hi all,
I want to write code to go to a page like google and write a string to the search engine and press enter, it is not for that purpose, i will be using it to log into web sites to verify it is all working correctly and send alerts if it is not, but that is just a generic example to explain...
I want to go to a site to pay for something in the code, log in using a username and password, go to the next site, select items, go to the next site to pay, and so on, in the code. I will keep up with time to get from one site to another, if it fails, where it fails. Right now we have nothing...
Hi all, I know there are a lot of tools out there to do this, but they charge per transaction and my company is not wanting to pay, so I was looking to do this by writing something if possible. What I want to do is go to a site, log in using the appropriate username and password, and go to...
Hi all, I have written a script that pulls back information from web sites. It runs fine as long as I am running it, but when I run it through Tivoli Monitoring, it fails because Tivoli uses a local admin account and not a domain user. What I need to know how to do is in the code make the...
Hey all,
What I am looking to do is create a couple exchange email accounts, and then basically send mail every couple of minutes so that they go from one server to another, just to verify mail flow is taking place. I know there are products out there to do this, I was just wondering if anyone...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.