[collectd] (maybe silly) Question about get_kstat

Marco Chiappero marco at absence.it
Wed Mar 18 16:48:00 CET 2009


Hi all,

finally I have found some time to write the uptime plugin and I'm going 
to decide whether to use directly kstat_lookup or get_kstat. The latter 
avoids error handling in the plugin but I have a little doubt about it: 
is there a reason for filtering everything but KSTAT_TYPE_NAMED (and 
check it twice)? Moreover, at the moment I don't know exactely the 
boot_time type...


Regards,
Marco Chiappero



More information about the collectd mailing list