<s> import platform <EOL> from ajenti . api import * <EOL> from ajenti . api . sensors import Sensor <EOL> @ plugin <EOL> class HostnameSensor ( Sensor ) : <EOL> id = '<STR_LIT>' <EOL> timeout = <NUM_LIT> <EOL> def measure ( self , variant = None ) : <EOL> return platform . node ( ) </s>
