George Farris
george at gmsys.com
Sun Oct 16 13:19:10 CDT 2005
On Sun, 2005-10-16 at 14:04 +1000, Matthew Palmer wrote:
> On Sat, Oct 15, 2005 at 05:40:29PM -0700, George Farris wrote:
> > Something that would be really great for Dapper would be the ability for
> > the update notifier to communicate to other servers and receive update
> > notifications from them.
> >
> > That way if you had a couple of Dapper servers and a Dapper+1
> > workstation you could receive notifications from the servers that there
> > are updates ready.
>
> Let me just reach into my "trivial shell scripts" repository...
>
> ----8<----
> #!/bin/sh -e
>
> ADMIN=george at gmsys.com
>
> COUNT=$(apt-get -qq -s upgrade | grep ^Inst | wc -l)
>
> if [ "$COUNT" -gt "0" ]; then
> echo | mail -s "$(hostname): $COUNT Ubuntu updates available" $ADMIN
> fi
> ---->8----
>
> Shell script. It's a lovely thing.
>
> - Matt
>
This is, in fact, exactly what I do but like I said, a nice way of
building this into the GUI would be helpful. Configure->Monitor
server/machine->enter hostname, done. Yes of course it's not as simple
as that but to the sysadmin it should be easy. This also means one must
have mail configured on the server.
--
George Farris
george at gmsys.com
More information about the ubuntu-devel
mailing list