Jason, I'm not from Ipswitch.  If you can produce the script, placing a
wait command between each write would probably ensure safety.  

One thing I would like to mention from my experience with performing
bulk operations with the asp pages:  Each time you change context, the
page will have to load or reload before it will affect What's up.  What
I mean is:  You cannot simply write a section of code, for example, to
save a map and simply copy that section over and over with (for example)
several hard-coded context changes within asp page, or via iterations.
It appears you can only change context one time on per load per type of
context.

So for repeated context changes, I produce the custom asp page from the
script with the proper tag syntax and arguments.  Each time the script
iterates, it overwrites the previous page with the appropriate context
arguments and reads the page via the url of the page without opening a
browser.  By reading the custom page via its url it has the effect of
opening browser without waiting for a browser to navigate with each
iteration.

Also, with my script since I am not opening a browser, I bypass the
http://username:[EMAIL PROTECTED] check in Internet Explorer.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Dennis
Sent: Friday, October 15, 2004 10:02 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Script to write maps to disk

We have a setup at our firm using two instances of Whatsup that are
syncronized with each other using a Perl script every few days.  There
is a Primary (called Data Center A) and a Secondary (called Data
Center B).  Both sites are hot and give us data on performance and
availability from these two geographically diverse Data Centers.

There are about 10-15 engineers who regularly add/remove/change
settings, alerts, services, etc. on the A site and these changes on
all maps get pushed to the B site.

However sometimes engineers can forget to "write map to disk" and if
the service on A fails for whatever reason, the changes are lost on
maps not synchronized to disk.

Does someone from Ipswitch have any thoughts on the proper way to run
an .asp script which iterates through the maps and writes each to
disk.  This would essentially be run via cron once a night.  We could
easily code up such a page, but I am worred that there might be some
corruption if we tried doing all at once.  Should we introduce a
Jscript wait command between writes?  Are there any concerns with
writing 30-40 maps to disk with a script?

Thanks in advance for the insight.

-Jason

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/

Reply via email to