Hi,
I posted a message quite similar few times ago because I wanted to do the
exact same thing. The only thing that I can say is that there is nothing in WUG to
facilitate that task.
So I wrote a program (the script is in C++ but it could be in DOS batch file also)
that do all the verification that I want and if it fails, I send a trap to WUG. The
major problem with that is the fact that you can't set a trigger for a trap in WUG.
So, as soon as your script sends a trap, WUG automatically send a notification. And
that bothered me a bit.
In WUG's directory, I modified "traps.txt" and "mib.txt" to set a new OID for my
company when my script sends that trap.
That is the most efficient way I found but if someone finds another way to do it, I
would be interesting to see it also.
Thank you
-------------------------------------------
Andr� Boulianne, ing. jr
Charg� de projet TI et S�curit�
[EMAIL PROTECTED]
Notarius (TSIN) Inc.
465, rue St-Jean, suite 200
Montr�al, Qu�bec, H2Y 2R6
T�l. : (514) 281-1577 #229
Cel : (514) 293-8140
Fax. : (514)281-1226
http://www.notarius.com
Ce message, ainsi que tout fichier qui y est joint, est destin� exclusivement aux
personnes � qui il est adress�. Il peut contenir des renseignements ou des
informations de nature confidentielle qui ne doivent �tre divulgu�s en vertu des lois
applicables. Si vous n'�tes pas le destinataire de ce message ou un mandataire
autoris� de celui-ci, par la pr�sente vous �tes avis� que toute impression, diffusion,
distribution ou reproduction de ce message et de tout fichier qui y est joint est
strictement interdite. L'int�grit� de ce message n'�tant pas assur�e sur Internet,
Notarius (TSIN) Inc. ne peut �tre tenue responsable de son contenu s'il a �t� alt�r�,
d�form� ou falsifi�. Si ce message vous a �t� transmis par erreur, veuillez en aviser
sans d�lai l'exp�diteur et l'effacer ainsi que tout fichier joint sans en conserver de
copie.
This message, and any attachments, is intended only for the use of the addressee or
his authorized representative. It may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If the reader of this
message is not the intended recipient, or his authorized representative, you are
hereby notified that any dissemination, distribution or copying of this message and
any attachments is strictly prohibited. The integrity of this message cannot be
guaranteed on the Internet, Notarius (TSIN) Inc. shall not be liable for its content
if altered, changed or falsified. If you have received this message in error, please
contact right away with the sender and delete this message and any attachments from
your system.
-----Message d'origine-----
De�: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de brandon.baker
Envoy�: 27 octobre, 2004 08:35
��: '[EMAIL PROTECTED]'
Objet�: ***SPAM*** RE: [WhatsUp Forum] Executing Program As Monitor
I have been trying to figure out a good way to do this forever. The only
thing that could come up with is to write a script that does everything and
send a trap/syslog/or wirite to a web page that can be content scanned by
wug.
If there is a better way, I am dying to know. It would certainly expand the
flexibility of WUG 10 fold and provide simple functionality that is included
with lower end products.
Oh ya, that and WMI polling which the guys at WUG do not want to answer,
because if they put that basic functionality in, they would not be able to
charge the ridiculous money for the SQL and Exchange plug ins which just use
simple WMI.
Am I right Pete?
-----Original Message-----
From: Jay Slavin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 12:24 AM
To: [EMAIL PROTECTED]
Subject: Re: [WhatsUp Forum] Executing Program As Monitor
Does anyone have this setup and can anyone offer any suggestions.
On Mon, 25 Oct 2004 18:31:42 GMT "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> writes:
>
> I am looking to execute a script dos/vbscript as a monitor and
> return status to whatsup gold. Any help on how this could be
> accomplished would be great.
>
> Thank you.
>
> Jay
>
> ________________________________________________________________
> Speed up your surfing with Juno SpeedBand.
> Now includes pop-up blocker!
> Only $14.95/ month - visit http://www.juno.com/surf to sign up
> today!
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
>
>
________________________________________________________________
Speed up your surfing with Juno SpeedBand.
Now includes pop-up blocker!
Only $14.95/ month - visit http://www.juno.com/surf to sign up today!
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/