Hi, You state that semantics and syntax are as defined in RFC 3418, then proceed to define a different syntax. It is a bad practice to claim consistency with something, and then reinvent it but keep calling it the same thing. We should decide what we want here.
If the goal is consistency with SNMP, then we should use the syntax used for the SNMPv2-MIB sysUpTime [RFC 3418]. That syntax is a TimeTicks value (INTEGER 0..4294967295 hundredths of a second, with no decimal points) since reinitialization of the (SNMP) management system. If the goal is to define a syslog-specific version of sysUpTime, then we should skip the reference to RFC 3418, call it something else, and define it fully as a syslog field. If we go this route, then we should discuss what re-initialization of the management system means - is this re-initialization of the SNMP management system, or is it the re-initialization of (a particular part of) the syslog system? We might also want to document rollover behavior. David Harrington [EMAIL PROTECTED] > #### > 7.3.2 sysUpTime > > The "sysUpTime" parameter MAY be used to include the SNMP > "sysUpTime" > parameter in the message. Its syntax and semantics are as > defined in > RFC 3418 [12]. > > In syslog, it is represented as a decimal string with a maximum of > two digits for fractional seconds. Full seconds and fractional > seconds MUST be delimited by a period ("."). Leading > zeros MUST NOT > be used for full seconds. For example, a "sysUpTime" of one minute > MAY be represented as "60", "60.0", or "60.00", but not as "060" or > "60.000". > #### > > I am not so proficient with SNMP, but I think (as you said) > TimeTicks is > actually integer. So we should have a maximum value defined plus a > rollover behaviour. Or does this mean we also need to include > an epoch? > ;) > > Rainer > _______________________________________________ > Syslog-sec mailing list > Syslog-sec@www.employees.org > http://www.employees.org/mailman/listinfo/syslog-sec > _______________________________________________ Syslog-sec mailing list Syslog-sec@www.employees.org http://www.employees.org/mailman/listinfo/syslog-sec