When moving the GroupWise system from NetWare to Linux, the first and main thing I was missing was the nice agent screens which show you directly what is going on.
I know we have the HTTP monitors, but always pressing F5 in the web browser doesn't feel as near by to the action as before.
Before I moved our whole GroupWise system to Linux, I started with one MTA and one GWIA in order to see how the agents behaved and how to deal with problems.
What can I say, it is just up and running!
However, sometimes I just can't believe how well everything goes and want to see my good old GWIA agent screen from NetWare to see mails coming in from and going to the Internet.
So I wrote a little script to see the last messages of the recent log file directly on the server.
I don't have to open a web browser and can just connect via ssh to the Linux box.
This is what the script looks like:
#Output of recent GWIA log file
lastfile=$(ls /opt/novell/groupwise/logs/gwia/*gwia* -ct1 | head -1)
tail -f $lastfile
The ls command looks for the latest log file of the GWIA. The log file has normally the format MMDDgwia.XXX where MM represents the month, DD the day and XXX the number of the log file for that day.
The tail -f command shows the last 10 lines (by default) of the log file. The -f option updates the screen output if new lines are appended to the log file.
This way, I have at least the feeling of the agent screens like in the good old NetWare days.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.