[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lines to flag red or yellow in msgs



Is it possible for me to define lines that appear in msgs to activate a red
or yellow alert?

I have a bond0 interface (bonded interface consisting of eth0 and eth1) and
if I unplug and plug the cat5 cable (simulating it being down) I get these
messages:

Mar 10 14:48:15 hostname kernel: e100: eth1: e100_watchdog: link down
Mar 10 14:48:15 hostname kernel: bonding: bond0: link status definitely down
for interface eth1, disabling it
Mar 10 14:48:17 hostname kernel: e100: eth1: e100_watchdog: link up,
100Mbps, full-duplex
Mar 10 14:48:17 hostname kernel: bonding: bond0: link status definitely up
for interface eth1.

The /var/log/messages is definitely making it to the Hobbit Server as I can
see the text on the msgs web page, but it isn't flagging them as a bad
message.

Josh

-- 
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