diff --git a/README.md b/README.md index a8f84c2..562cfd9 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ On this step installer would create (if needed) Namespace and corresponding data Default Settings ---------------- -After mapping kutac package to %All namespace, namespaces %SYS and {Namespace} will be defined as startup namespaces for monitor. Then, the installer activates in the namespace %SYS" following monitor classes: +The installer activates in the namespace %SYS" following monitor classes: * %Monitor.System.HistoryPerf * %Monitor.System.Diskspace @@ -56,7 +56,19 @@ After mapping kutac package to %All namespace, namespaces %SYS and {Namespace} w * %Monitor.System.LockTable * %Monitor.System.Routines -The next step is starting monitor. Your namespace will appear in the list of accessible namespaces for DeepSee and you can see different dashboards there. However, if you open User Portal in the DeepSee immediately after installing, you will notice that all dashboards will be empty. You need to wait a little time, because the installer runs the task for rebuilding cubes in 1 minute after installing. This task will run every 3 hours for updating information for monitor dashboards. +The next step is starting monitor. Your namespace will appear in the list of accessible namespaces for DeepSee and you can see different dashboards there. However, if you open User Portal in the DeepSee immediately after installing, you will notice that all dashboards will be empty. You need to wait a little time, because the installer runs the task for rebuilding cubes in 1 minute after installing. This task will run every 1.5 hours for updating information for monitor dashboards. Also, this task is available in the Task Manager, so you can run the task whenever you want or change the task. + +In case of absense of new facts and notes, please, restart System Monitor using ^%SYSMONNGR utility. Run in Terminal: + + zn "%SYS" + do ^%SYSMONMGR + 1 + 2 + 1 + 3 + +After that, check "View System Monitor State": run "4" in the Terminal. All states must be OK. In another case, please, restart Caché and start System Monitor. + diff --git a/cls/kutac/monitor/utils/Installer.cls.xml b/cls/kutac/monitor/utils/Installer.cls.xml index d2335a3..a3317a2 100644 --- a/cls/kutac/monitor/utils/Installer.cls.xml +++ b/cls/kutac/monitor/utils/Installer.cls.xml @@ -1,7 +1,7 @@ - + -63757,58028.937681 +63761,70845.703415 63732,50627.865496 @@ -19,7 +19,7 @@ - + @@ -100,7 +100,7 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars) 1 -Namespace=$Namespace,Owner:%String="intersystems-ru",Repository:%String="deepsee-sysmon-dashboards",Branch:%String,Username:%String,Password:%String +Namespace=$Namespace,Owner:%String="alexandrov-nikita",Repository:%String="deepsee-sysmon-dashboards",Branch:%String,Username:%String,Password:%String %Status write !, "Creating Task" Do tInstaller.PopNS() Do tInstaller.PushNS(Namespace) - set st4 = ..CreateTask() + set st4 = ..CreateTask(Namespace) Do tInstaller.PopNS() - set st = $$$ADDSC(st4, $$$ADDSC(st1, $$$ADDSC(st2, st3))) + set st = $$$ADDSC(st4, $$$ADDSC(st2, st3)) if $$$ISERR(st) Throw ##class(%Installer.Exception).CreateFromStatus(st) quit $$$OK ]]> - -1 -Namespace=$Namespace -%Status - - - 1 %Status @@ -293,31 +268,43 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars) 1 %Status 1 -hrs:%Integer=3 +Namespace=$Namespace,min:%Integer=90 %Status diff --git a/cls/kutac/monitor/utils/Task.cls.xml b/cls/kutac/monitor/utils/Task.cls.xml new file mode 100644 index 0000000..5f6eb94 --- /dev/null +++ b/cls/kutac/monitor/utils/Task.cls.xml @@ -0,0 +1,33 @@ + + + + +Simple update task. Use CacheGitHubCI.Hook if you need more functionality. +%SYS.Task.Definition +63761,55062.906473 +63761,54770.687029 + + +CubesBuildTask + + + + +Namespace, where to download and compile repository +%String +$Namespace + + + +%Status + + + +