Title: Performance Graphs Fail
I remember seeing on this list someone who was working on a perl script to submit the addition of a device via the web interface.  It sounds like a great idea and it would let you run a script to get the info from the database and send it to WUG. 
 
The only issue I see is that you don't have complete control over the device settings in the web interface.  If you can do everything manually in the web interface you should be able to script it with perl.  If you need some of the settings that aren't in the web interface then, this will not work for you.  You could set WUG to only allow one user access to settings in the interface, so only your script would have access to do so. 
 
I wish IPSwitch would add a command line import and export program, and/or add access to all of the settings from the web interface.  Not having these features makes it very difficult to integrate WUG with other programs. 
 

Jeff Cook
IT Technician
Whatcom Educational Credit Union
[EMAIL PROTECTED]
Voice 360.676.1168x7727

Fax 360.733.5443

-----Original Message-----
From: Garry Egan [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 01, 2002 8:54 AM
To: [EMAIL PROTECTED]
Cc: Byron O'Brien; Gregg Gaido
Subject: RE: [WhatsUp Forum] Converting INI to WUG

 
Okay guys (and gals)-
 
Here is an expert-level question for all you WUG users who need a challenge.
 
Situation:
We have new devices come up on a daily basis on our monitored network.  As a corporate service, we offer the WEB view of these devices some of our employees.
The problem is, someone has to go into WUG and "create" the new workstation (no, it cannot be discovered), then re-save the WUG map so the HTML view reflects the new devices added. (the "device" is a set-top box network located throughout the U.S.)  As new set-top boxes come on line, and bad ones are taken off-line, we need the web view to represent and monitor these devices.  Then the web view will allow customers to view and monitor these devices.
 
I wrote a PERL script to dynamically create an INI file based on a query to our Oracle server.  The output from Oracle is a CSV file which is them ran against the PERL script to dynamically create the INI.
 
Follow me so far?  Good.
 
The problem is, we have some 40-60 (and growing) separate maps to IMPORT via WUG every day.  Yes, that means opening WUG, selecting File | Import | INI and this has to be done every day for every map.  This is "becoming" *a pain.*  Actually, it sucked from day 1 but the benefits of offering this to customers outweight the pain-in-the-ass factor.  Until now.  We are growing quickly and this approach is not scalable.  What happens when we get 200-500 maps?
 
The Question:
I need your assistance in automating the File | Import process to automatically create the WUG map files.  This might be in the form of an API?  Maybe a commandline switch for WUG:  "C:\Program Files\WhatsUp" /mapimport:myfile.ini  (??)  Maybe dump the INI conversion and go with something else?  The solution must be able to be automated.  We query an Oracle database for the available devices.
 
Thanks for reading and any approach will be considered.
 
Garry Egan
Product Engineering
HCorp, INC
 
 
 

Reply via email to