[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] PATTERN is not behaving right
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] PATTERN is not behaving right
- From: "Asif Iqbal" <vadud3 (at) gmail.com>
- Date: Wed, 22 Aug 2007 09:57:38 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HhCHkzzvW4Rwi6qY0zbjg6+ZvaXqhUJ50WY4tioIyef5tEVmZox0KscM3rI1iIdM1KJKIub83l+rpko1ZaSOvNxPqCTTGRQkv7HzKLyI2YowvwiFVgoA6ctFJP1NqhrFXjNsegHTef4F5XgvD38ozScaeShjxUUMSt9wxE1bad4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a00IcYjw2Q6XwarMXodZC+W9j0U6wDD7x2+CzrY7oLdLUYFziwptbt8QmB4cwliz88j5VmrbfUCg6IZoLnh6BMkZM1ziism7LGxcw4kChM+A3LhivodpCz3Ly7aaFgs5vEzlMbUz629qeppXGBVss4vefIPXUICN9hqKfN9LQKw=
- References: <a60f25fc0708211020p187e9109v2d73ed1551c1351d (at) mail.gmail.com> <46CC0A8B.8070901 (at) unil.ch>
On 8/22/07, Dominique Frise <Dominique.Frise (at) unil.ch> wrote:
> hobbitd_client(8) is your friend for checking your rules and regexp.
>
> --test
> Starts an interactive session where you can test the
> hobbit-clients.cfg configuration.
There is no option to test files column. Only cpu,mem,disk,proc,log
and port are the available tests unfortunately :-(
>
>
>
>
> Asif Iqbal wrote:
> > I have a mix environment of solaris and freebsd. I want to make sure
> > hobbit checks for /var/log/messages for freebsd servers. All these
> > servers ".*-apps1-*|dca-apps2-*|jfk-apps2-*|svl-apps2-*|cer-apps2-*|chi-apps2-*"
> > are freebsd.
> >
> > However it is still looking at /var/adm/messages file for
> > cer-apps2-*|chi-apps2-* servers.
> > Rest of them behaving just fine.
> >
> > Here are the layouts. Any idea where I can look for debug?
> >
> > hobbit-clients.cfg
> > ==============
> > PAGE=apps/apps-OOR
> > EXHOST=%.*-apps1-*|dca-apps2-*|jfk-apps2-*|svl-apps2-*|cer-apps2-*|chi-apps2-*
> > PROC "%/usr/local/sbin/snmpd.*snmpuser"
> > PROC "ipmon -Ds"
> >
> > HOST=%.*-apps1-*|dca-apps2-*|jfk-apps2-*|svl-apps2-*|cer-apps2-*|chi-apps2-*
> > LOG /var/log/messages "%(?-i)WARNING|(?-i)NOTICE|(?-i)ERROR" IGNORE=%PAM|Power
> > FILE /var/log/messages MODE=644 SIZE>0 TRACK
> >
> > DEFAULT
> > # These are the built-in defaults.
> > UP 1h
> > LOAD 5.0 10.0
> > DISK %^/cdrom/* IGNORE
> > DISK %^/dev/lofi/* IGNORE
> > DISK * 90 95
> > SWAP 50 80
> > MEMPHYS 100 101
> > MEMSWAP 50 80
> > MEMACT 90 97
> > PROC sshd TRACK=sshd
> > LOG /var/adm/messages "%(?-i)WARNING|(?-i)NOTICE|(?-i)ERROR"
> > IGNORE=%SUNWsrspx|srsxfer|Explorer
> > FILE /var/adm/messages MODE=644 SIZE>0 TRACK
> >
> > bb-hosts
> > =======
> > page apps Apps
> > subpage apps-OOR Apps - OOR
> > group-compress <H3><I>OOR Apps</H3></I>
> > 1.2.3.4 atl-apps-01.company.net # ssh
> > 1.2.3.5 bos-apps1-01.company.net # ssh
> > 1.2.3.6 bur-apps-01.company.net # ssh
> > 1.2.3.7 bur-apps2-01.company.net # ssh
> > 1.2.3.8 cer-apps1-01.company.net # ssh
> > 1.2.3.9 cer-apps2-01.company.net # ssh
> > 1.2.3.10 chi-apps1-01.company.net # ssh
> > 1.2.3.11 chi-apps2-01.company.net # ssh
> > 1.2.3.12 dal-apps1-01.company.net # ssh
> > 1.2.3.13 dal-apps2-01.company.net # ssh
> > 1.2.3.14 dca-apps1-01.company.net # ssh
> > 1.2.3.15 dca-apps2-01.company.net # ssh
> > 1.2.3.16 ewr-apps1-01.company.net # ssh
> > 1.2.3.17 ewr-apps2-01.company.net # ssh
> > 1.2.3.18 hgk-apps-01.company.net # ssh
> > 1.2.3.19 hnl-apps-01.company.net # ssh
> > 1.2.3.20 iah-apps-01.company.net # ssh
> > 1.2.3.21 jfk-apps1-01.company.net # ssh
> > 1.2.3.22 jfk-apps2-01.company.net # ssh
> > 1.2.3.23 kcm-apps1-01.company.net # ssh
> > 1.2.3.24 kcm-apps2-01.company.net # ssh
> > 1.2.3.25 svl-apps1-01.company.net # ssh
> > 1.2.3.26 svl-apps2-01.company.net # ssh
> > 1.2.3.27 tko-apps-01.company.net # ssh
> > 1.2.3.28 tpa-apps1-01.company.net # ssh
> > 1.2.3.29 tpa-apps2-01.company.net # ssh
> >
>
>
>
> Dominique
> UNIL - University of Lausanne
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu