Monitoring a CVS server
matt at trpz.com
Fri Dec 5 12:03:14 EST 2003
On Thu, 2003-12-04 at 18:51, Jeff Weisberg wrote:
> you are looking for:
> | expect: ^Server: Concurrent Versions System
> but you got:
> | PROG TEST value
> | Client: Concurrent Versions System (CVS) 1. 11.2 (client/server)
> | Server: Concurrent Versions System (CVS) 1.11.5 [mch1] (client/server)
> and thus:
> | PROG TEST did not match expected regex
> you probably want:
> expect: Server: Concurrent Versions System
Ah yes, I was expecting matching with Perl's /m modifier, where ^
matches after newlines too. A few examples of working regexes wouldn't
go amiss in the documentation.
Anyway, it's working nicely now, thanks.
> | > syslog: daemon
> | Already there. The error I sent was from the httpd error_log. I see
> | nothing else in /var/log/*. argusctl -k console did show debug info
> | though.
> if the syslog line is in your argus config, but you aren't seeing any
> of argus's messages in your log files, you may need to update your
> syslog config files (usually /etc/syslog.conf (check your man pages)).
> Arguslist at tcp4me.com
More information about the Arguslist