X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=RunlevelAgent.py;h=04dcfeef447c74019c7637a15d01faeb2de71e31;hb=ad64c5a61ce63a0299bb3e80131455323c0a6bef;hp=218a87d117f3dc65445168801cb30c661204137f;hpb=5772ce036b96297a23f834ea34ce4466ef4d522c;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