Re: [PATCH 0/2] Generic hardware error reporting support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mauro Carvalho Chehab
Date: Tuesday, November 30, 2010 - 8:09 am

Em 25-11-2010 02:27, Len Brown escreveu:

If you look what sysadm's do with the Unix logs, you'll see that they 
use either one of the following approaches:

1) have something looking at syslog (and/or serial console logs), and 
storing them for their analisys, in text format;

2) convert syslog errors into a SNMP object UID's, on a machine-readable code, 
in order to manage them via some SNMP management system.

On both cases, the approach is there for a long time.

If an error "magic" code is added, both ways will break, as sysadm's won't be
able to understand the meaning of the magic number, and the SNMP conversion 
tools won't be ready to convert that magic code into something else. 

Of course, with time, the SNMP parsers will eventually add the needed decoders
for the magic numbers, in order to convert them into a MIB representation.

So, even being a number, such code is not machine readable (at least not for the
right tools), as it is not an SNMP object, so, the management systems won't catch 
it without a parser.

So, IMO, the better is to keep providing a text message. 

We might think on adding a way to directly output a SNMP UID from kernel,
but this seems overkill to me, and anything else would just be meaningless
for most sysadmins.

Thanks,
Mauro.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] Generic hardware error reporting support, Huang Ying, (Fri Nov 19, 1:10 am)
[PATCH 2/2] Hardware error record persistent support, Huang Ying, (Fri Nov 19, 1:10 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 4:22 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 5:02 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 5:55 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 6:18 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Peter Zijlstra, (Fri Nov 19, 6:37 am)
Re: [PATCH 2/2] Hardware error record persistent support, Linus Torvalds, (Fri Nov 19, 8:52 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Fri Nov 19, 8:56 am)
Re: [PATCH 2/2] Hardware error record persistent support, Andrew Morton, (Fri Nov 19, 1:01 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Fri Nov 19, 7:15 pm)
Re: [PATCH 1/2] Generic hardware error reporting mechanism, Borislav Petkov, (Sat Nov 20, 2:00 am)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Sat Nov 20, 4:57 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Elias Gabriel Amaral ..., (Sat Nov 20, 5:50 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Linus Torvalds, (Sat Nov 20, 5:50 pm)
Re: [PATCH 0/2] Generic hardware error reporting support, Mauro Carvalho Chehab, (Tue Nov 30, 8:09 am)