Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi.

I know that as RRAS module has been discussed earlier in this forum.

But it would be really nice with a simple module to start with, og som ideas on how to set some monitoring up today.

We have found the PowerShell Cmdlet "Get-RemoteAccessHealth" that returns the status for alle components.
We would like to raise a notification if the HealtState on any components is different from Disabled or OK.

Anny ideas?

Best Regards,

Martin Stevnhoved

 

PS C:\> Get-RemoteAccessHealth

Component            RemoteAccessServer   HealthState     TimeStamp            Id              OperationStatus
---------            ------------------   -----------     ---------            --              ---------------
Server               localhost            OK              17-11-2015 08:06:37
6to4                 localhost            Disabled        17-11-2015 08:01:41
Vpn Addressing       localhost            OK              17-11-2015 08:01:41
Network Security     localhost            OK              17-11-2015 08:01:41
Dns                  localhost            OK              17-11-2015 08:06:37
IP-Https             localhost            OK              17-11-2015 08:01:41
Nat64                localhost            OK              17-11-2015 08:01:38
Dns64                localhost            OK              17-11-2015 08:01:37
IPsec                localhost            OK              17-11-2015 08:01:37
Kerberos             localhost            OK              17-11-2015 08:01:37
Domain Controller    localhost            OK              17-11-2015 08:01:54
Management Servers   localhost            OK              17-11-2015 08:06:37
Network Location ... localhost            OK              17-11-2015 08:06:37
Otp                  localhost            Disabled        17-11-2015 08:01:37
High Availability    localhost            Disabled        17-11-2015 08:01:37
Isatap               localhost            Disabled        17-11-2015 08:01:37
Vpn Connectivity     localhost            OK              17-11-2015 08:01:37
Teredo               localhost            Disabled        17-11-2015 08:01:37
Network Adapters     localhost            OK              17-11-2015 08:01:37
Services             localhost            OK              17-11-2015 08:06:37

  • Author

I would like to see it as a build in function, but for now we have set up a scheduled task, with this script:
______________

@echo off

set log=MonitorRRAS.txt
set level=0

pushd "%~dp0"

echo RemoteAccess Health State on '%computername%' >"%log%"
powershell -Command "get-remoteaccesshealth" >>"%log%"

find /i "warning" "%log%" >nul
if "%errorlevel%"=="0" set level=2

find /i "error" "%log%" >nul
if "%errorlevel%"=="0" set level=3

if "%level%"=="0" goto skip
  notificationbridge.exe -p %level% -f "%log%"
:skip

popd

 

  • 1 year later...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.