This is a two part question.
I would like to write a script that would email me telling me if the servers ip address has changed. since the server is on a network that uses dhcp.
I would also like a script to email me when a person logs onto the server as well.
Basic Info. About the Server:
The OS is mandrake 9 I have SSH runining on it. I use the server to store invoices and workorders on it. I set the server up so that a client can logon and retrive their invoices when that need them. The problem I am haveing is that the server has its ip address updated once a week since. so I have to go to the server and do an ifconfig to see the new ip address.
thanks in advance