[test] Modified the return value (variable type), when run the mainThreadOneProc.
[ArmBase]Add the process of setting the hostname, which display to Trigger and Event and other at Client.

Register the hostid and hostname, when running initialization.
Monitored host's id was fixed values(provisional value:NOTIFICATIN_FAILUER_SERVERID_SELF)