I've got a problem where the service status is not getting updated properly; logswatch and swatch are running:


0 31582 18076 1 16 0 6720 4804 wait S ? 0:00 /usr/bin/perl /opt/zimbra/libexec/logswatch --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --pid-file=/opt/zimbra/
0 31582 18085 18076 18 0 8744 6768 pipe_w S ? 2:27 /usr/bin/perl /tmp/.swatch_script.18076
0 31582 18093 18085 15 0 8928 4768 - S ? 7:33 /usr/bin/perl /opt/zimbra/libexec/zmlogger
0 31582 18351 1 19 0 6728 4820 wait S ? 0:00 /usr/bin/perl /opt/zimbra/libexec/swatch --config-file=/opt/zimbra/conf/swatchrc --use-cpan-file-tail --script-dir=/tmp -t /var/log
0 31582 18372 18351 15 0 8884 6776 - S ? 1:20 /usr/bin/perl /tmp/.swatch_script.18351


In looking at the code for zmlogger, I see that it's looking at the STATUS lines in /var/log/zimbra.log, and those are updating properly:


Apr 17 18:06:19 zmail01-store01 zimbramon[16128]: 16128:info: 2009-04-17 18:06:01, STATUS: zmail01-store01.server.peak.org: imapproxy: Running
Apr 17 18:06:19 zmail01-store01 zimbramon[16128]: 16128:info: 2009-04-17 18:06:01, STATUS: zmail01-store01.server.peak.org: logger: Running
Apr 17 18:06:19 zmail01-store01 zimbramon[16128]: 16128:info: 2009-04-17 18:06:01, STATUS: zmail01-store01.server.peak.org: mailbox: Running
Apr 17 18:06:19 zmail01-store01 zimbramon[16128]: 16128:info: 2009-04-17 18:06:01, STATUS: zmail01-store01.server.peak.org: snmp: Running
Apr 17 18:06:19 zmail01-store01 zimbramon[16128]: 16128:info: 2009-04-17 18:06:01, STATUS: zmail01-store01.server.peak.org: spell: Running
Apr 17 18:06:19 zmail01-store01 zimbramon[16128]: 16128:info: 2009-04-17 18:06:01, STATUS: zmail01-store01.server.peak.org: stats: Running


but the database is not being updated:


mysql> select * from service_status;
+---------------------------------+-----------+---------------------+--------+-----------------+
| server | service | time | status | loghostname |
+---------------------------------+-----------+---------------------+--------+-----------------+
| zmail01-store01.server.peak.org | stats | 2009-04-17 10:20:03 | 1 | zmail01-store01 |
| zmail01-store01.server.peak.org | spell | 2009-04-17 10:20:03 | 1 | zmail01-store01 |
| zmail01-store01.server.peak.org | snmp | 2009-04-17 10:20:03 | 1 | zmail01-store01 |
| zmail01-store01.server.peak.org | mailbox | 2009-04-17 10:20:03 | 1 | zmail01-store01 |
| zmail01-store01.server.peak.org | logger | 2009-04-17 10:20:03 | 1 | zmail01-store01 |
| zmail01-store01.server.peak.org | imapproxy | 2009-04-17 10:20:03 | 1 | zmail01-store01 |


I'm turning on debug in zmlogger, but thought I would post here now in case something like this has been seen before...