Overview of Client Online Status in SCCM Console

2
Client Online Status in SCCM Console

I provided bit more details about Client online status & Types in SCCM console, related component, SQL tables, and Logs.

As we all know, Client online status indicates whether the computer is online of offline. This feature introduced in SCCM CB 1602 and it works through BGB (Big Green Button) channel. if the management point doesn’t receive status in 5mins, the client considered offline. Anoop has a “Fast Channel Online status” post, read about his experience in “Video Guide to Troubleshoot SCCM CB Fast Channel Push Notification Issues“.

Quick Glance of the post
SCCM Client Online Offline Flow Chart
Log Flow - Notification agent(Client)
Log Flow - Notification Server(Management Point)
Log Flow - Notification Manager(Site Server)
Registry Entries Related to Client Online Status in SCCM Console
SQL Queries Related to Client Online Status in SCCM Console
SCCM Client online status in Site Server WMI

The below icon indicates the status on the device and we can also see last offline & online status in SCCM console.

SCCM Client Online Status in SCCM Console Offline

Overview of Client Online Status in SCCM Console 1

SCCM Client Online Offline Flow Chart

Overview of Client Online Status in SCCM Console 2

Log Flow:

Notification agent(Client):

Notification agent(Client) will attempt to make the TCP connection to current management point using 10123 Port. Once it’s successful, the client will send the keep-alive message every 5 minutes through ClientNotificationAgent.log & CCMMessaging.log to MP. If the client fails to establish a TCP Connection(Port 10123), notification agent will try the HTTP protocol.

CcmNotificationAgent.log

Access point is CM01.KARTHI.COM. (SSLEnabled = 0) BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 CRL Checking is Disabled. BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 Both TCP and http are enabled, let's try TCP connection first. BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 Connecting to server with IP: 10.1.0.4 Port: 10123
 BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 Handshake was successful
 BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 Pass verification on server certificate. BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 NetworkInfo: IPAddress 10.1.0.5,fe80::c85b:6716:a6c1:1fa BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 NetworkInfo: IPSubnet 255.255.255.0,64 BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 NetworkInfo: AccessMP CM01.KARTHI.COM BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 NetworkInfo: IsClientOnInternet 0 BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 Update the timeout to 900 second(s) BgbAgent 1/9/2018 7:13:39 AM 4256 (0x10A0)
 Receive signin confirmation message from server, client is signed in. BgbAgent 1/9/2018 7:13:50 AM 4256 (0x10A0)
 Successfully sent the first keep-alive message. BgbAgent 1/9/2018 7:13:50 AM 4256 (0x10A0)

SCCM Client Online Status in SCCM Console Log 4

CCMMessaging.log

Initializing queue 'BgbAgent'... CcmMessaging 1/11/2018 6:18:01 AM 2080 (0x0820)
 Queue 'BgbAgent' initialized with 0 messages. CcmMessaging 1/11/2018 6:18:02 AM 2080 (0x0820)
 Initialized queue processor 'BgbAgent'. Enabled=true Concurrency=1 CcmMessaging 1/11/2018 6:18:02 AM 2080 (0x0820)
 Initializing queue 'CertificateMaintenanceEndpoint'... CcmMessaging 1/11/2018 6:18:02 AM 2080 (0x0820)
 Queue 'CertificateMaintenanceEndpoint' initialized with 0 messages. CcmMessaging 1/11/2018 6:18:02 AM 2080 (0x0820)
 Initialized queue processor 'CertificateMaintenanceEndpoint'. Enabled=true Concurrency=5 CcmMessaging 1/11/2018 6:18:02 AM 2080 (0x0820)
 Initializing queue 'OOBMgmt'... CcmMessaging 1/11/2018 6:18:02 AM 2080 (0x0820)
 Queue 'OOBMgmt' initialized with 0 messages. CcmMessaging 1/11/2018 6:18:02 AM 2080 (0x0820)

Overview of Client Online Status in SCCM Console 3

Notification Server(Management Point):

Notification Server on the Management Point will receive the request from clients and generate online status every 5 minutes and places under <Installation Directory>\inboxes\bgb.box\*.BOS on the site server.

BgbSetup.log & bgbisapiMSI – Records the installation & uninstallation process.

BGBServer.log

Total online clients: 1 (TCP: 1 HTTP: 0) SMS_NOTIFICATION_SERVER 1/10/2018 6:46:44 AM 14308 (0x37E4)
 Online/Offline clients since last successful report: 1 SMS_NOTIFICATION_SERVER 1/10/2018 6:46:44 AM 14308 (0x37E4)
 Generated BGB online status DELTA report C:\Program Files\Microsoft Configuration Manager\inboxes\bgb.box\Bgbl5qxh.BOS (version: 4) at 01/10/2018 06:46:44 SMS_NOTIFICATION_SERVER 1/10/2018 6:46:44 AM 14308 (0x37E4)

Overview of Client Online Status in SCCM Console 4SCCM Client Online Status in SCCM Console 6

I filtered out only the status report details in the BGBServer log.As you can see in the Date/Time column, MP sends the report every 5 mins to the site server.

Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 10:24:30 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 10:29:31 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 10:34:31 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 10:39:31 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 10:44:31 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 10:49:31 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 10:54:34 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 10:59:35 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 11:04:36 AM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/7/2018 8:48:52 PM 10548 (0x2934)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/9/2018 7:33:39 AM 14308 (0x37E4)
 Online/Offline clients since last successful report: 1 SMS_NOTIFICATION_SERVER 1/9/2018 7:38:39 AM 14308 (0x37E4)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/9/2018 7:43:41 AM 14308 (0x37E4)
 Online/Offline clients since last successful report: 1 SMS_NOTIFICATION_SERVER 1/10/2018 6:26:37 AM 14308 (0x37E4)
 Online/Offline clients since last successful report: 1 SMS_NOTIFICATION_SERVER 1/10/2018 6:31:43 AM 14308 (0x37E4)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/10/2018 6:36:44 AM 14308 (0x37E4)
 Online/Offline clients since last successful report: 0 SMS_NOTIFICATION_SERVER 1/10/2018 6:41:44 AM 14308 (0x37E4)

SCCM Client Online Status in SCCM Console Log

Notification Manager(Site Server):

Notification manager will process the Online files (*.BOS) from bgb.box, and update the online information in the site database

BGBManager.log

Successfully ran sql task for file C:\Program Files\Microsoft Configuration Manager\inboxes\bgb.box\Bgbl5qxh.BOS SMS_NOTIFICATION_MANAGER 12/26/2017 7:52:05 PM 15452 (0x3C5C)
 Successfully processed file C:\Program Files\Microsoft Configuration Manager\inboxes\bgb.box\Bgbl5qxh.BOS SMS_NOTIFICATION_MANAGER 12/26/2017 7:52:05 PM 15452 (0x3C5C)
 Successfully processed file Bgbl5qxh.BOS, clean it. SMS_NOTIFICATION_MANAGER 12/26/2017 7:52:05 PM 15452 (0x3C5C)

Overview of Client Online Status in SCCM Console 5Registry Entries Related to Client Online Status in SCCM Console:

The below registry related to Notification Manager in the site server. we can modify interval cycle & Client notification trigger timed out (ex.Machine policy, Collect H/W inventory..etc trigger timed out) in the SCCM console. If the machine is in offline, the triggered actions will be timed out after the configured seconds in the below registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\COMPONENTS\SMS_NOTIFICATION_MANAGER

SCCM Client Online Status in SCCM Console 3SQL Queries Related to Client Online Status in SCCM Console:

  1. The below query to list the resourceID with online status details.
select * from BGB_ResStatus

SCCM Client Online Status in SCCM Console

2. List the Notification Servers details.

select * from BGB_Server

SCCM Client Online Status in SCCM Console

3. List the total number of online clients count with Notification Server(Management Point).

select B.ServerName, A.OnlineClients from Bgb_Server B left join dbo.v_BgbServerCurrent A on A.ServerID=B.ServerID order by 2

SCCM Client Online Status in SCCM ConsoleBGB Related tables in the below:

SCCM Client Online Status in SCCM Console

BGB_TaskTemplate table provide the details of client notifications actions and valid seconds.SCCM Client Online Status in SCCM Console

SCCM Client online status in Site Server WMI:

Value 1 means online and 0 represents offline. ChannelType = 0 stands for TCP Protocol and 1 is HTTP protocol.

\\CM01\ROOT\SMS\site_P01:SMS_CN_ClientStatus.ResourceID=16777219

SCCM Client Online Status in SCCM Console

Client Notification port settings in the Site Properties

SCCM Client Online Status in SCCM Console

I hope this post helps you. Thank you for reading 🙂

2 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.