Dashboard Anzeige Monitoring Screens: Unterschied zwischen den Versionen

Aus Zovis Wikili
Wechseln zu: Navigation, Suche
(Gracemonky login scripts)
Zeile 74: Zeile 74:
 
document.getElementById('Password').value = pass;
 
document.getElementById('Password').value = pass;
 
document.forms[0].submit();
 
document.forms[0].submit();
 +
 +
 +
 +
// ==UserScript==
 +
// @name        VectraAutoLogon
 +
// @namespace  AutoLogOn
 +
// @description Script: automatisches Login für Vectra
 +
// @include    https://vectra.itsroot.net/accounts/login/?next=/hosts/
 +
// @version    1
 +
// @grant      none
 +
// ==/UserScript==
 +
 +
var name = 'svc_WuGInfoboard';
 +
var pass = 'wewant2watch!';
 +
document.getElementById('id_username').value = name;
 +
document.getElementById('id_password').value = pass;
 +
document.forms[0].submit();
 +
 +
 
</pre>
 
</pre>

Version vom 27. Mai 2021, 12:57 Uhr

Konfig

Autostart PC

Power On

  • Automatischer Start einrichten
    • --- Doku fehlt noch ---


  • Autologon für User svc_WuGinfoboard
    • --- Doku fehlt noch ---


Shutdown

  • Scheduled Task erstellen
    • Name: Shut Down
    • als User ausführen: CORP/svc_user
    Nur ausführen, wenn Benutzer angemeldet ist
    • Trigger: Jeden Tag um 18:00 Uhr
    • Aktion: shutdown.exe /s

Autostart Browser

  • Verknüpfung im Autostart Folder erstellen
    • Autostartfolder: C:\Users\svc_wuginfoboard\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    • Ziel: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --start-fullscreen http://wug/NmConsole/

Tabswitcher

Braucht es um mehrere Webseiten abwechselnd anzuzeigen.

  • Chrome Plugin "Tab Rotate" installieren
    • Konfig:
      • Config Source: Local Storage
      • JSON Code:
{
  "settingsReloadIntervalMinutes": 1,
  "fullscreen": true,
  "autoStart": true,
  "lazyLoadTabs": true,
  "websites": [
    {
      "url": "http://wug/NmConsole/#v=Wug_view_dashboard_Home/p=%7B%22viewId%22%3A170%7D",
      "duration": 10,
      "tabReloadIntervalSeconds": 0
    },
    {
      "url": "https://vectra.itsroot.net/hosts/",
      "duration": 10,
      "tabReloadIntervalSeconds": 30
    }
  ]
}


Gracemonky login scripts

 
// ==UserScript==
// @name        WUGAutoLogon
// @namespace   AutoLogOn
// @description Script: automatisches Login für WUG
// @include     http://wug/NmConsole/user/login
// @version     1
// @grant       none
// ==/UserScript==

var name = 'svcNetworkMonitoring';
var pass = '[Im PW Safe]';
document.getElementById('UserName').value = name;
document.getElementById('Password').value = pass;
document.forms[0].submit();



// ==UserScript==
// @name        VectraAutoLogon
// @namespace   AutoLogOn
// @description Script: automatisches Login für Vectra
// @include     https://vectra.itsroot.net/accounts/login/?next=/hosts/
// @version     1
// @grant       none
// ==/UserScript==

var name = 'svc_WuGInfoboard';
var pass = 'wewant2watch!';
document.getElementById('id_username').value = name;
document.getElementById('id_password').value = pass;
document.forms[0].submit();