How this works:
Perl script from the NW-server console checks every 60 sec LAST LOG-file in the folder:
If Script found records about: "login" - script check in the sys:\etc\ngwwebus\notifyusers - notify or no logged user .
If need notify - send e_mail to SMS-provider for user telephone number.
This works on the NetWare 6.5 With GroupWise 7 (gwweb) with Apache tomcat.
This will be not work on SLES (gwwweb apache tomcat on sles) because - GW FLUSH logs on the LINUX to the hardware every 15 min..:(
My script - check logs on the hardware.
How to configure:
How to STOP script:
Need to create file: sys:\gwstop.txt. (don`t forget after stop-script delete this file ).
User rbradbary log in to the GWWebAccess from the interbnet. After this rbradnary receive SMS with information, example:
email@example.com - from this e_mail was send
2007-07-02 - (07 - Jul, 02 - day of the month)
14:00:06 - HH:mm:ss
188.8.131.52 - from this IP-address was login.