X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=RunlevelAgent.py;fp=RunlevelAgent.py;h=04dcfeef447c74019c7637a15d01faeb2de71e31;hb=40588e1f900ba82db3ca69c5cc375805028f2430;hp=218a87d117f3dc65445168801cb30c661204137f;hpb=2c9ab06efb28df61bca97649a5262191910af396;p=monitor.git diff --git a/RunlevelAgent.py b/RunlevelAgent.py index 218a87d..04dcfee 100644 --- a/RunlevelAgent.py +++ b/RunlevelAgent.py @@ -1,4 +1,11 @@ #!/usr/bin/python +# +# RunlevelAgent - acts as a heartbeat back to myplc reporting that the node is +# online and whether it is in boot or pre-boot run-level. +# This is useful to identify nodes that are behind a firewall, as well as to +# have the machine report run-time status both in safeboot and boot modes, +# so that it is immediately visible at myplc (gui or api). +# import xml, xmlrpclib import logging