<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.3">
</HEAD>
<BODY>
I am trying to get alerting for message files. I have checked the archives, but found nothing in there. I have tried various configurations. The two I have set up with hobbit clients right now are set up, one as a client with the server controlling, the other as a client that pushes its info. Neither seems to work. The client set to push (nodens), does not send any message file data and the indicator stays clear and the comment says: The client did not report any logfile data. On the client set so that the server controls (sirona),  there is information for the logs, but nothing triggers a yellow or red.<BR>
<BR>
No entries in <A HREF="http://phanes/hobbit-cgi/bb-hostsvc.sh?CLIENT=sirona.hq.openratings.com&SECTION=msgs:/var/log/messages">/var/log/messages</A>
<PRE>

No entries in <A HREF="http://phanes/hobbit-cgi/bb-hostsvc.sh?CLIENT=sirona.hq.openratings.com&SECTION=msgs:/var/log/secure">/var/log/secure</A>


Full log <A HREF="http://phanes/hobbit-cgi/bb-hostsvc.sh?CLIENT=sirona.hq.openratings.com&SECTION=msgs:/var/log/messages">/var/log/messages</A>
Jan  2 08:27:03 sirona ecroft: NOTICE

Full log <A HREF="http://phanes/hobbit-cgi/bb-hostsvc.sh?CLIENT=sirona.hq.openratings.com&SECTION=msgs:/var/log/secure">/var/log/secure</A>
Jan  2 07:56:19 sirona sshd[27841]: Connection closed by 10.0.14.249
Jan  2 08:01:20 sirona sshd[27897]: Connection closed by 10.0.14.249
Jan  2 08:06:21 sirona sshd[27943]: Connection closed by 10.0.14.249

</PRE>
<BR>
<FONT COLOR="#0000ff">The client-local.cfg file on the server has these entries. </FONT><BR>
[sirona.hq.openratings.com]<BR>
log:/var/log/messages:10240<BR>
trigger NOTICE<BR>
trigger WARNING<BR>
<BR>
log:/var/log/secure:10240<BR>
ignore "Connection closed by"<BR>
trigger BREAKIN<BR>
<BR>
[nodens.hq.openratings.com]<BR>
log:/var/log/messages:10240<BR>
trigger NOTICE<BR>
<BR>
log:/var/log/secure:10240<BR>
ignore "Connection closed by"<BR>
trigger BREAKIN<BR>
<BR>
<FONT COLOR="#0000ff">The hobbit-clients.cfg file on the server has:</FONT><BR>
HOST=sirona.hq.openratings.com<BR>
        LOG %.* WARNING COLOR=yellow<BR>
        LOG %.* NOTICE COLOR=red<BR>
<BR>
HOST=nodens.hq.openratings.com<BR>
        LOG %.* WARNING COLOR=yellow<BR>
        LOG %.* NOTICE COLOR=red<BR>
<BR>
DEFAULT<BR>
        # These are the built-in defaults.<BR>
        #LOG %.* WARNING COLOR=yellow<BR>
        LOG %.* WARNING COLOR=yellow<BR>
        LOG %.* NOTICE COLOR=red<BR>
        UP      1h<BR>
        LOAD    5.0 10.0<BR>
        DISK    * 91 95<BR>
        MEMPHYS 100 101<BR>
        MEMSWAP 50 80<BR>
        MEMACT  90 97<BR>
        PROC    cron<BR>
<BR>
<FONT COLOR="#0000ff">On nodens I have in the client-local.cfg</FONT><BR>
[nodens.hq.openratings.com]<BR>
log:/var/log/messages:10240<BR>
trigger NOTICE<BR>
#ignore MARK<BR>
<BR>
log:/var/log/secure:10240<BR>
ignore Martian<BR>
trigger BREAKIN<BR>
#trigger TESTING<BR>
<BR>
<FONT COLOR="#0000ff">And in the localclient.cfg</FONT><BR>
HOST=nodens.hq.openratings.com<BR>
       PROC cron<BR>
       DISK /data1 96 99<BR>
       LOG /var/log/messages NOTICE COLOR=red<BR>
       LOG /var/log/secure BREAKIN COLOR=red<BR>
       LOG /var/log/messages WARNING COLOR=yellow<BR>
<BR>
<BR>
<BR>
DEFAULT<BR>
        # These are the built-in defaults.<BR>
        UP      1h<BR>
        LOAD    5.0 10.0<BR>
        DISK    * 90 95<BR>
        MEMPHYS 100 101<BR>
        MEMSWAP 50 80<BR>
        MEMACT  90 97<BR>
       LOG /var/log/messages NOTICE COLOR=red<BR>
       LOG /var/log/secure BREAKIN COLOR=red<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<BR>
</TD>
</TR>
</TABLE>
<FONT COLOR="#0000ff">clientlaunch.cfg on nodens is:</FONT><BR>
[msgcache]<BR>
        DISABLED<BR>
        ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<BR>
        CMD $HOBBITCLIENTHOME/bin/msgcache --no-daemon --pidfile=$HOBBITCLIENTHOME/logs/msgcache.pid<BR>
        LOGFILE $HOBBITCLIENTHOME/logs/msgcache.log<BR>
<BR>
# The main client task<BR>
[client]<BR>
        ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<BR>
        CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh --local<BR>
        LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log<BR>
        INTERVAL 5m<BR>
<BR>
# ORCA data collector. This is an experimental add-on module,<BR>
# the data sent by this module are not processed by Hobbit 4.2.<BR>
[orcadata]<BR>
        DISABLED<BR>
        ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<BR>
        CMD $HOBBITCLIENTHOME/bin/orcahobbit --orca=/usr/local/orca/orcallator<BR>
        LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log<BR>
<BR>
</BODY>
</HTML>