Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. countryfanjohn

    Set WMI = GetObject("winmgmts:") error

    I keep getting the following VBScript runtime error: "File name or class name not found during Automation operation: 'GetObject'", on this statement: Set WMI = GetObject("winmgmts:"), and numerous variations of it. My guess is I don't have something installed. I'm testing...
  2. countryfanjohn

    Redirect output of a ping

    There's a fine line between resourceful and sneaky, but as long as it works.
  3. countryfanjohn

    Redirect output of a ping

    Thanks, this works great. I refer to this as being a bit sneaky, but it proves there's more than one way to skin a cat. Thanks again, John
  4. countryfanjohn

    Redirect output of a ping

    Thanks, but I tried that. It works fine on the command line, but inside the VBscript, it puts nothing into the file. No error messages or anything, the script runs, but there is no output. If I remove the "> myfile.txt", the ping will display it's output on my terminal.
  5. countryfanjohn

    Redirect output of a ping

    I'm writing a script which will run in background and wake up periodically and ping an address. The ping works fine, but I've tried everything and can't get the output into a text file. I'll clue you in, I've only written two other scripts so far, I'm a newbie at this, so be gentle.
  6. countryfanjohn

    HP OPENVIEW NNM

    Got the answer, meant to post it a couple of days ago. To run vbscript under HP OpenView Network Node Manager, you must include "wscript.exe" on the command line, preceding the script you want to execute.
  7. countryfanjohn

    HP OPENVIEW NNM

    I wrote a small vbscript to handle notifications from HP OpenView NNM. I am running on NNM B.06.10 on NT 4.0. If I run the script from the command line, either with or without arguments, it runs fine. When executed by NNM, it fails with an exit value 1. I have a case open with HP, but so far...
  8. countryfanjohn

    Openview E-mail Notifications

    I'm new to OpenView myself. I've been playing with a vbscript (which I really don't know too much about either), running on NT. It uses a freebie product called "mailto". I don't know where to find it on the web, you'll have to look around. The guy who dumped OpenView on me...
  9. countryfanjohn

    Openview virgin

    I'm pretty much in the same postion, the guy who new NNM up and left. I know next to nothing about networks. Luckily I'm going to the HP OpenView NNM class, soon. I took the CBT that comes with OpenView, it's great for falling asleep to. Where do they get these people that they put in those...
  10. countryfanjohn

    Need To Monitor Disk Space

    This is a ksh which we run every 15 minutes, it uses a control file, making it more flexible. It runs out of a nfs mounted file and keeps an eye on 9 HP_UX boxes. FILE01="/tmp/$LOGNAME.temp.bdf.msg1" FILE02="/tmp/$LOGNAME.temp.bdf.msg2&quot...
  11. countryfanjohn

    Including html files

    Kevorka, Don't really know much about what I'm doing. I just play with it till it works. A lot of the code could be simpler, but I like to try different ways of doing things.
  12. countryfanjohn

    Including html files

    I don't have a lot of experince with this stuff, but you might be able to use an external javascript file. This is what I've played around with. // JAVASCRIPT.JS - FOOTER TEXT function footercolor(BGcolor, FONTcolor){ var BGcolor2="LIGHTGREEN"; var FONTcolor2="RED"; var...

Part and Inventory Search

Back
Top