[Logwatch-Devel] Cisco service broken in 7.3.6

Hugo van der Kooij hvdkooij at vanderkooij.org
Sat Sep 1 02:31:36 MST 2007


Hi,

Somehow the Cisco code is broken in 7.3.6 as it spews out messages for the 
wrong host. I started to fix the entries that were logged but not matched 
for my Cisco router. But I ended up with unmatched entries that are not 
for that hostname at all.

BTW: It worked much better in 7.3.4

I ran:
/usr/sbin/logwatch --service cisco --hostname anfalas --print

And got:
     anfalas: %NTP-5-PEERSYNC: NTP synced to peer 193.67.79.202: 10 Time(s)
     anfalas: %NTP-5-PEERSYNC: NTP synced to peer 194.109.20.18: 3 Time(s)
     anfalas: %NTP-5-PEERSYNC: NTP synced to peer 194.109.22.18: 2 Time(s)
     anfalas: %NTP-6-PEERREACH: Peer 139.18.25.34 is reachable: 7 Time(s)
     anfalas: %NTP-6-PEERREACH: Peer 193.67.79.202 is reachable: 7 Time(s)
     anfalas: %NTP-6-PEERREACH: Peer 194.109.20.18 is reachable: 7 Time(s)
     anfalas: %NTP-6-PEERREACH: Peer 194.109.22.18 is reachable: 7 Time(s)

I wrote a match for those.

But the remainder is something I would not expect.

     faramir: Aug 26 16:33:33 faramir MailScanner:  succeeded: 2 Time(s)
     faramir: Aug 27 02:02:04 faramir named[17926]: binding TCP socket: address in use: 2 Time(s)
     faramir: Aug 27 02:02:04 faramir named[17926]: zone a.f.0.1.8.8.8.0.1.0.0.2.ip6.arpa/IN: loaded serial 2006091001: 2 Time(s)
     faramir: Aug 27 02:02:04 faramir named[17926]: zone viruspool.net/IN: loaded serial 2007070202: 2 Time(s)
     faramir: Aug 27 02:02:04 faramir named[17926]: zone viruspool.net/IN: sending notifies (serial 2007070202): 2 Time(s)
     faramir: Aug 28 02:02:04 faramir named[4755]: binding TCP socket: address in use: 2 Time(s)
     faramir: Aug 28 02:02:04 faramir named[4755]: zone a.f.0.1.8.8.8.0.1.0.0.2.ip6.arpa/IN: loaded serial 2006091001: 2 Time(s)
     faramir: Aug 28 02:02:04 faramir named[4755]: zone viruspool.net/IN: loaded serial 2007070202: 2 Time(s)
     faramir: Aug 28 02:02:05 faramir named[4755]: zone viruspool.net/IN: sending notifies (serial 2007070202): 2 Time(s)
     faramir: Aug 28 19:58:27 faramir MailScanner:  succeeded: 2 Time(s)
     faramir: Aug 29 02:02:04 faramir named[22110]: binding TCP socket: address in use: 2 Time(s)
     faramir: Aug 29 02:02:05 faramir named[22110]: zone viruspool.net/IN: sending notifies (serial 2007070202): 2 Time(s)
     faramir: Aug 30 02:02:04 faramir named[8844]: binding TCP socket: address in use: 2 Time(s)
     faramir: Aug 30 02:02:05 faramir named[8844]: zone viruspool.net/IN: loaded serial 2007070202: 2 Time(s)
     faramir: Aug 30 02:02:05 faramir named[8844]: zone viruspool.net/IN: sending notifies (serial 2007070202): 2 Time(s)
     faramir: Aug 30 19:16:53 faramir named[21279]: binding TCP socket: address in use: 2 Time(s)
     faramir: Aug 30 19:16:53 faramir named[21279]: zone a.f.0.1.8.8.8.0.1.0.0.2.ip6.arpa/IN: loaded serial 2006091001: 2 Time(s)
     faramir: Aug 30 19:16:53 faramir named[21279]: zone viruspool.net/IN: loaded serial 2007070202: 2 Time(s)
     faramir: Aug 30 19:16:53 faramir named[21279]: zone viruspool.net/IN: sending notifies (serial 2007070202): 2 Time(s)
     faramir: Aug 30 19:20:32 faramir nmbd[4255]:    : 2 Time(s)
     faramir: Aug 30 19:20:32 faramir nmbd[4255]:   ***** : 2 Time(s)
     faramir: Aug 31 02:02:04 faramir named[25643]: binding TCP socket: address in use: 2 Time(s)
     faramir: Aug 31 02:02:04 faramir named[25643]: zone a.f.0.1.8.8.8.0.1.0.0.2.ip6.arpa/IN: loaded serial 2006091001: 2 Time(s)
     faramir: Aug 31 02:02:04 faramir named[25643]: zone viruspool.net/IN: loaded serial 2007070202: 2 Time(s)
     faramir: Aug 31 02:02:05 faramir named[25643]: zone viruspool.net/IN: sending notifies (serial 2007070202): 2 Time(s)
     mvpmc01: % : 55 Time(s)
     mvpmc01: Aug 26 13:05:12 mvpmc01 root: def char 0 (0): 3 Time(s)
     mvpmc01: Aug 26 13:05:12 mvpmc01 root: fnt_createfont: /etc/helvB14.pcf,0 not found: 2 Time(s)
     mvpmc01: Aug 26 13:05:12 mvpmc01 root: glyph_count = 756 (2f4): 3 Time(s)
     mvpmc01: Aug 26 13:05:12 mvpmc01 root: pcf_createfont: using font /etc/helvB14.pcf: 2 Time(s)
     mvpmc01: Aug 26 13:05:12 mvpmc01 root: size 8960 byte1 0,34 byte2 0,255: 3 Time(s)
     mvpmc01: Aug 26 13:05:13 mvpmc01 root: Power OFF: 2 Time(s)
     mvpmc01: Aug 26 13:05:13 mvpmc01 root: Power ON: 2 Time(s)
     mvpmc01: Aug 26 13:05:13 mvpmc01 root: createfont: (height == 0) found builtin font System (0): 2 Time(s)
     mvpmc01: Aug 26 13:05:29 mvpmc01 root: In mythtv_key_callback and got number key ! : 2 Time(s)
     mvpmc01: Aug 26 13:05:30 mvpmc01 root: Freeing PAT Decoder: 2 Time(s)
     mvpmc01: Aug 26 13:05:30 mvpmc01 root: Initializing PAT Decoder: 2 Time(s)
     mvpmc01: Aug 26 13:05:56 mvpmc01 kernel: repeated same key: 2 Time(s)
     mvpmc01: Aug 26 13:06:25 mvpmc01 kernel: repeated same key: 2 Time(s)
     mvpmc01: Aug 26 13:06:26 mvpmc01 root: Lost Sync: 2 Time(s)
     mvpmc01: Aug 26 13:06:44 mvpmc01 root: Lost Sync: 2 Time(s)
     mvpmc01: Aug 26 13:06:46 mvpmc01 kernel: repeated same key: 2 Time(s)
     mvpmc01: Aug 26 13:06:46 mvpmc01 root: Lost Sync: 2 Time(s)
     mvpmc01: Aug 26 13:08:17 mvpmc01 root: Changing to aspect 2, afd -1: 2 Time(s)
     mvpmc01: Aug 26 13:08:17 mvpmc01 root: Setting WSS aspect to: 8: 2 Time(s)
     mvpmc01: Aug 26 13:08:17 mvpmc01 root: Source video aspect ratio: 4:3: 2 Time(s)
     mvpmc01: Aug 26 13:52:41 mvpmc01 kernel: repeated same key: 2 Time(s)
     mvpmc01: Aug 26 13:52:41 mvpmc01 root: Freeing PAT Decoder: 4 Time(s)
     mvpmc01: Aug 26 13:52:41 mvpmc01 root: Initializing PAT Decoder: 4 Time(s)
     mvpmc01: Aug 26 13:52:44 mvpmc01 root: hide busy widget: 3 Time(s)
     mvpmc01: Aug 26 13:52:44 mvpmc01 root: show busy widget: 3 Time(s)
     mvpmc01: Aug 26 13:52:50 mvpmc01 root: In mythtv_key_callback and got number key ! : 2 Time(s)
     mvpmc01: Aug 26 13:52:51 mvpmc01 kernel: repeated same key: 2 Time(s)
     mvpmc01: Aug 26 13:52:53 mvpmc01 root: In mythtv_key_callback and got number key ! : 2 Time(s)
     mvpmc01: Aug 26 13:52:56 mvpmc01 root: Freeing PAT Decoder: 2 Time(s)
     mvpmc01: Aug 26 13:52:56 mvpmc01 root: Initializing PAT Decoder: 2 Time(s)
     mvpmc01: Aug 26 13:52:57 mvpmc01 root: Changing to aspect 3, afd -1: 2 Time(s)
     mvpmc01: Aug 26 13:52:57 mvpmc01 root: Lost Sync: 2 Time(s)
     mvpmc01: Aug 26 13:52:57 mvpmc01 root: Setting WSS aspect to: 11: 2 Time(s)
     mvpmc01: Aug 26 13:52:57 mvpmc01 root: Source video aspect ratio: 16:9: 2 Time(s)
     mvpmc01: Aug 26 16:10:32 mvpmc01 root: Lost Sync: 5 Time(s)
     mvpmc01: Aug 26 16:10:34 mvpmc01 kernel: repeated same key: 2 Time(s)
....
      14384 messages from 14384 lines suppressed
  ---------------------- cisco End -------------------------


  ###################### Logwatch End #########################




More information about the Logwatch-Devel mailing list