I must have skipped over that when I did a grep -i msgs ~hobbituser/server/etc/* to brute force the answer out of the configuration. =P
I went on the server and made a line that says...
HOST=thismatchesbbhosts LOG /var/log/messages e100_watchdog COLOR=red TEXT="bond interface watch"
On the hobbit server, on the msgs test page, I have this text...
Mar 12 12:55:19 neon kernel: e100: eth0: e100_watchdog: link down Mar 12 12:55:19 neon kernel: bonding: bond0: link status definitely down for interface eth0, disabling it Mar 12 12:55:19 neon kernel: bonding: bond0: making interface eth1 the new active one. Mar 12 12:55:23 neon kernel: e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex Mar 12 12:55:23 neon kernel: bonding: bond0: link status definitely up for interface eth0. Mar 12 12:55:26 neon kernel: e100: eth1: e100_watchdog: link down Mar 12 12:55:26 neon kernel: bonding: bond0: link status definitely down for interface eth1, disabling it Mar 12 12:55:26 neon kernel: bonding: bond0: making interface eth0 the new active one. Mar 12 12:55:28 neon kernel: e100: eth1: e100_watchdog: link up, 100Mbps, full-duplex Mar 12 12:55:28 neon kernel: bonding: bond0: link status definitely up for interface eth1.
But it still says green. Any idea where my mistake is?
Thanks for the help Steve!
On 3/12/08, Steve Holmes <sholmes42 at mac.com> wrote:
Josh,I think Dirk meant the hobbit-clients.cfg file on the server. In my hobbit-clients.cfg file I have (for example): LOG /var/adm/messages %(?-i)WARNING COLOR=yellow IGNORE="%.*fibre-chanel.*"
which says turn yellow for a warning but ignore the given string. And this is on the server.
Is that not what you want?
Steve.
On Wed, Mar 12, 2008 at 12:08 PM, Josh Luthman < josh at imaginenetworksllc.com> wrote:
One and only bump on this =)
Is it possible to specify words or something on the server side to make the msgs test red or yellow? Dirk here gave me a solution for the client side which works, but if at all possible I'd like to configure it on the server.
Josh
On 3/11/08, Josh Luthman <josh at imaginenetworksllc.com> wrote:
Is there an equal way to do the same thing on the server side?
On 3/11/08, Dirk Kastens <Dirk.Kastens at uni-osnabrueck.de> wrote:
Hi Josh,
Josh Luthman schrieb:
Is it possible for me to define lines that appear in msgs to activate a red or yellow alert?
Of course. You have to define a match-pattern and a COLOR statement in the LOG entry of your client configuration file. This is explained inside the client config file localclient.cfg, if you use client side configuration.
-- Regards,
Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +49-541-969-2347, FAX: -2470
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer