Thanks for the suggestion, but how to get past the WUG Web Interface login/password to get the list of devices? Also thanks to the gentleman with the PHP script, I will try that later tonight. pj
====================================== Paul Jasa Network Engineer ====================================== -----Original Message----- From: Mike Krygeris [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 06:05 PM To: [EMAIL PROTECTED] Subject: Re: [WhatsUp Forum] Perl script to query WUG for Down devices only A perl module called LWP is just what you are looking for. http://search.cpan.org/dist/libwww-perl/lwptut.pod Create a very simple asp that does a list of devices and call it in your LWP script and you will have your list in an array! HTH, Mike Krygeris Somix Technologies, Inc. ---------- Original Message ---------------------------------- From: "Paul Jasa" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Wed, 8 Oct 2003 17:33:51 -0400 >We have a centralized web server (Linux Apache) where all network monitoring reports >to. There is a javascript scrolling message that alerts us to any alerts from other >monitoring tools. I am looking for a Perl script or something similar to poll the >WUG web interface (or WUG database) and get ONLY the devices that are down. I'll >figure out how to get that information into the Javascript scroll box, but the >problem I have is trying to figure out how to get Perl (or any other unix-based >program) to automatically get the information from What's Up (whether from WUG web or >WUG database or whatever). > >I downloaded a script from the User Community forum ( >http://www.wugportal.com/modules.php?op=modload&name=UpDownload&file=index&req=viewdownload&cid=4 > ) which shows all devices down, but still no way to export that. Another problem >with this very nice ASP page is that it requires a user to login to WUG WebSite to >get the info, something that Perl might have a problem doing. If anyone has a known >solution for this, or a direction in which to point me, I would very much appreciate >it!!! Best regards, >Paul > > >====================================== >Paul Jasa >Network Engineer >====================================== > > >The information contained in this e-mail and any attached documents >may be privileged, confidential and protected from disclosure. If you >are not the intended recipient you may not read, copy, distribute or >use this information. If you have received this communication in >error, please notify the sender immediately by replying to this >message and then delete it from your system. > >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/ > ________________________________________________________________ Sent via the WebMail system at somix.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/ The information contained in this e-mail and any attached documents may be privileged, confidential and protected from disclosure. If you are not the intended recipient you may not read, copy, distribute or use this information. If you have received this communication in error, please notify the sender immediately by replying to this message and then delete it from your system. 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/
