Bug#132505: debian status script(s)
Package: general
Severity: wishlist
This is a very good idea, and worth a bug report. I'm filing it against
general until we get a better idea of how it could work.
At first glance, the cron.weekly (and daily? That'd be a bit annoying)
scripts could do something of this sort, but we'd probably want a way to
turn it on/off, and so on. It might be better if the scripts just logged
to syslog, then logcheck and other tools could take care of the mailing
bit if the admin wants to set that up.
nate wrote:
> I have noticed that in Mandrake(at least last time i used it over
> a year ago), and more recently in FreeBSD 4.4, both of these
> systems(probably others too) generate reports daily or weekly
> as to the status of the system. I was wondering if there was
> a package to do this for debian. I already use logcheck, which
> works, was suprised to see the information that the freebsd
> system generated for me to review, I could probably come up with
> some of it manually with scripts, but was curious if theres
> a package out there(even if its not packaged) that does this ..
>
> sample report from freebsd 4.4:
> Removing stale files from /var/preserve:
>
> Cleaning out old system announcements:
>
> Removing stale files from /var/rwho:
>
> Backup passwd and group files:
>
> Verifying group file syntax:
>
> Backing up mail aliases:
>
> Disk status:
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/ad4s1a 9146859 363133 8051978 4% /
> /dev/ccd0c 11903642 767269 10184082 7% /usr
> /dev/ccd1c 11903642 134379 10816972 1% /var
> /dev/ccd2c 8298507 1005409 6629218 13% /data
> /dev/ad6s1e 9146859 3740 8411371 0% /tmp
> procfs 4 4 0 100% /proc
>
> Last dump(s) done (Dump '>' file systems):
>
> UUCP status:
>
> Network interface status:
> Name Mtu Network Address Ipkts Ierrs Opkts
> Oerrs Collznb0 1500 <Link#1> 00:c0:95:e6:18:54 178331802 0 244908167
> 0 0zrm0* 0 <Link#2> 0 0 0
> 0 0znb1 1500 <Link#3> 00:c0:95:e6:18:55 244937182 0 177910605
> 0 0znb2 1500 <Link#4> 00:c0:95:e6:18:56 65871708 0 70438549
> 0 0znb3 1500 <Link#5> 00:c0:95:e6:18:57 70458183 0 65459305
> 0 0fxp0 1500 <Link#6> 00:30:48:22:37:47 10971879 0 5205437
> 0 0fxp0 1500 192.168.50.0- netmon-wa 8108175 - 5024400
> - -ppp0* 1500 <Link#7> 0 0 0
> 0 0sl0* 552 <Link#8> 0 0 0
> 0 0lo0 16384 <Link#9> 3379750 0 3379750
> 0 0lo0 16384 127 localhost 3309428 - 3309428
> - -
> Local system status:
> 3:01AM up 47 days, 12:06, 2 users, load averages: 0.34, 0.13, 0.03
>
> Mail in local queue:
> /var/spool/mqueue is empty
>
> Security check:
> (output mailed separately)
>
> Checking for rejected mail hosts:
>
> Checking for denied zone transfers (AXFR and IXFR):
>
> Running /etc/daily.local:
> Parsing supfile "/etc/cvsupfile.ports"
> Cannot open "/etc/cvsupfile.ports": No such file or directory
--
see shy jo
Reply to: