I want to start by saying I was able to do this with the help from wug
support.
Here is what I do and there is plenty of room for change depending on the
end users talents.
I created a batch file with the following line.
echo %CMDCMDLINE%>dir\filename      
where the dir = the directory of my wug\web files
where the filename = a text file
i.e. echo %CMDCMDLINE%>web\status.txt
I then created a program notification that calls that batch file with the
following program arguments
%U %D %e which give me the total number of up devices total number of down
devices and the ip addresses thereof. A full list of variables is available
in the WUG documentation.
I then create a recurring notification for that program. I run mine once an
hour during normal business hours.
Now comes the part where the individual user has fun. 
The status.txt file comes out looking like one long line. How you change
that to the format you want to show on your web page is entirely up to the
end users software knowledge. I personally use an old dos program called
Kedit that allows me to use the command line feature and insert <br> where
spaces are now. This changes the long line to a long column and displays
nicely in HTML format. I know that the people at IPSWITCH have given me
examples using java or c++ that will manipulate the text file. I personally
don't have the expertise to use those software packages. The main thing is
to create the text file in the first place. Once you do that the rest is
easy. 
I don't know if this helps or not, please let me know.
Again, thanks to the guys at IPSWITCH for helping me in the first place


Robert Glatt
KFNA Network Services

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