Title: Message
I would like to do the same. Did your script worked also when whatsup is running as a service (and nobody is log on to the machine)? That is my problem.
 
I use directly Cscript.exe with sendalert.vbs %u %h
Thats may be not the same.
 
Thanks
Joel
 
----- Original Message -----
Sent: Thursday, February 27, 2003 5:25 PM
Subject: RE: [WhatsUp Forum] Notification problem when whatsup run as serv ice

I wrote a vbs script that would post an alert to a PHP-Nuke website as a news item so that techs could comment on the alerts and keep all the information in a single place (searchable as well).  I had problems getting WhatsUp Gold to execute the vbs script and pass parameters to the program.  I solved the problem by having WhatsUp call a batch file that would pass everything to the vbs script.  The batch file only looks like this:
 
sendalert.vbs %1 %2
 
It worked for me, try it out...
 
Todd Wiese
-----Original Message-----
From: info [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 8:52 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Notification problem when whatsup run as service

Hello
 
Sorry for my bad english.
 
I tried to send a notification using a web page.
I tried to use iexplore.exe with my page (send.cfm) with the program notification. It works fine the first time, but then the process didn't stop and on the second alert this alarm failed.
 
I change it and i use now a cscript send.vbs to send this request.
 
Everythings work when i am log on to the machine and start whatsup like a program, but it doesn't work when i start whatsup like a service. The alarm works, i can see in the log, but my script (vbs) doesn't work. Why my script doesn't work? (whatsup service start with an administrator account).
 
Any idea.
 
If you know a different way to do it (request an url when a test failed), let me know?
 
Thanks for your help.
 
Best regards
J.

Reply via email to