[Logwatch-Devel] Fwd: More named stuff

MrC lists-logwatch at cappella.us
Sat Sep 1 18:25:26 MST 2007


Thanks Orion,

Commited, Revision 1.56.

MrC

Kirk Bauer wrote:
> Hopefully this message gets through...
> 
> ---------- Forwarded message ----------
> From: *Orion Poplawski* <orion at cora.nwra.com <mailto:orion at cora.nwra.com>>
> Date: Aug 27, 2007 1:39 PM
> Subject: More named stuff
> To: logwatch-patches at logwatch.org <mailto:logwatch-patches at logwatch.org>
> 
> The following messages:
> 
> Aug 26 20:00:11 saga named[3752]: zone cora.nwra.com/IN 
> <http://cora.nwra.com/IN>: notify from
> 192.168.0.8#33734: zone is up to date
> Aug 26 20:00:11 saga named[3752]: zone colorado-research.com/IN 
> <http://colorado-research.com/IN> : notify
> from 192.168.0.8#33734: zone is up to date
> Aug 26 20:00:11 saga named[3752]: zone co-ra.com/IN 
> <http://co-ra.com/IN>: notify from
> 192.168.0.8#33734: zone is up to date
> Aug 26 20:00:11 saga named[3752]: zone 0.168.192.in-addr.arpa/IN: notify
> from 192.168.0.8#33734: zone is up to date
> Aug 26 20:00:11 saga named[3752]: zone 2.168.192.in-addr.arpa/IN: notify
> from 192.168.0.8#33734: zone is up to date
> Aug 26 20:00:11 saga named[3752]: zone 1.168.192.in-addr.arpa/IN: notify
> from 192.168.0.8#33734: zone is up to date
> 
> result in:
> 
>   --------------------- Named Begin ------------------------
> 
>   **Unmatched Entries**
>      zone 0.168.192.in-addr.arpa /IN: notify from 192.168.0.8#33734: zone
> is up to date: 1 Time(s)
>      zone 1.168.192.in-addr.arpa/IN: notify from 192.168.0.8#33734: zone
> is up to date: 1 Time(s)
>      zone 2.168.192.in-addr.arpa/IN: notify from 192.168.0.8#33734: zone
> is up to date: 1 Time(s)
>      zone co-ra.com/IN <http://co-ra.com/IN>: notify from 
> 192.168.0.8#33734: zone is up to
> date: 1 Time(s)
>      zone colorado-research.com/IN <http://colorado-research.com/IN>: 
> notify from 192.168.0.8#33734: zone
> is up to date: 1 Time(s)
>      zone cora.nwra.com/IN <http://cora.nwra.com/IN>: notify from 
> 192.168.0.8#33734: zone is up to
> date: 1 Time(s)
> 
>   ---------------------- Named End -------------------------
> 
> This fixes:
> 
> --- /data/sw1/test/named        2007-08-27 14:29:26.000000000 -0600
> +++ files/earth/usr/share/logwatch/scripts/services/named
> 2007-08-27 14:38:10.000000000 -0600
> @@ -236,6 +236,8 @@
>         $ZoneRemoved{$Zone}++;
>      } elsif ( ($Zone) = ( $ThisLine =~ /received notify for zone
> '(.*)'/ ) ) {
>         $ZoneReceivedNotify{$Zone}++;
> +   } elsif ( ($Zone) = ( $ThisLine =~ /zone (.*): notify from .* up to
> date/ ) ) {
> +      $ZoneReceivedNotify{$Zone}++;
>      } elsif ( ($Host) = ( $ThisLine =~ /([^ ]+) has CNAME and other
> data \(invalid\)/ ) ) {
>         push @CNAMEAndOther, $Host;
>      } elsif ( ($File,$Line,$Entry,$Error) = ( $ThisLine =~
> /dns_master_load: ([^:]+):(\d+): ([^ ]+): (.+)$/ ) ) {
> 
> --
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA/CoRA Division                    FAX: 303-415-9702
> 3380 Mitchell Lane                  orion at cora.nwra.com 
> <mailto:orion at cora.nwra.com>
> Boulder, CO 80301               http://www.cora.nwra.com
> 
> 
> 
> -- 
> Kirk Bauer <kirk at kaybee.org <mailto:kirk at kaybee.org>>
> http://linux.kaybee.org | www.logwatch.org <http://www.logwatch.org>
> Author, Automating UNIX & Linux Administration
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Logwatch-Devel mailing list
> Logwatch-Devel at logwatch.org
> http://www2.list.logwatch.org:81/mailman/listinfo/logwatch-devel


More information about the Logwatch-Devel mailing list