Module hp
hp library
Developers could use content of hp library in packages development and packages tests.
hp.agent.id |
agent UUID |
hp.agent.name |
agent name |
hp.engine |
wgere the script executed ("sensor" - inside a process , "service" - inside Hyperionix Service, "hdk" - HDK) |
-
hp.EventChannel.file
-
EventChannel.file
-
hp.EventChannel.splunk
-
EventChannel.splunk
-
hp.EventChannel.console
-
EventChannel.console
-
hp.EventChannel.hpsvc
-
EventChannel.hpsvc
-
hp.EventChannel.esm
-
EventChannel.esm
-
hp.FileEntity
-
FileEntity
-
hp.ProcessEntity
-
ProcessEntity
-
hp.underscore
-
underscore library (will probably replaced with fun).
Used for function style programming
-
hp.version
-
version library.
Used to compare numeric file versions
-
LOG
-
Predefined global logger to process default console
Usage:
LOG:dbg("debug")
LOG:wrn("warning")
LOG:err("error")
LOG:pp({a = 5}) LOG:pp({a = 5}, 1)
-
DBG
-
Predefined global logger to debug output
Usage:
The same as for LOG
-
hp.agent.id
-
agent UUID
-
hp.agent.name
-
agent name
-
hp.engine
-
wgere the script executed (
"sensor"
- inside a process , "service"
- inside Hyperionix Service, "hdk"
- HDK)