[1218] in Moira

home help back first fref pref prev next nref lref last post

hosts DCM

daemon@ATHENA.MIT.EDU (Matt Braun)
Sat Dec 19 02:22:21 1998

Date: Sat, 19 Dec 1998 00:22:13 -0700 (MST)
From: Matt Braun <matt@MIT.EDU>
To: bug-moira@MIT.EDU, network@MIT.EDU


This may not really be a 'bug.'

If a host has a blank OS, the model and vendor also are not output into hstath
for use in the HINFO record.

For example:

Machine:  IT3.MIT.EDU
Address:  18.81.0.228         Network:    11
Owner:    NONE                Use data:   18-dec-1998 16:08:30
Status:   Active (1)          Changed:    18-dec-1998 16:08:30
Vendor:   HP                  Model:      LASERJET              OS:
Location: 11-420              Contact:    Steven Burke          Opt: 0
Adm cmt:
Op cmt: 
Created  by tgriffin on 18-dec-1998 16:08:30
Last mod by tgriffin at 18-dec-1998 16:08:30 with moira.

Produces this hstath line: 

HOST : 18.81.0.228 : IT3 : 

Now per RFC1033 the HINFO record requires two whitespace seperated strings, so
it makes some sense.  The .gen code says roughly 'if there is not both a
harware field (make and/or model) and a software field (os) then ignore the
HINFO stuff entirely.

If we still wanted the data that was entered to be visible, we could make a
missing field a "-" (but not both fields) and still be legal. I think that
would be unlikely to break resolvers whereas "" if even legal might break some

I am not sure that this worth doing...just thought I would point it out.

			Matt

home help back first fref pref prev next nref lref last post