NCPA windowcounters unable to pull Skype SIP counters.
Posted: Tue Jan 07, 2020 6:44 pm
I'm trying to pull windows counters from our skype frontend servers from several paths (as seen below):
PS C:\Windows\system32> Get-Counter -ListSet "LS:SIP - Load*"
CounterSetName : LS:SIP - Load Management
MachineName : .
CounterSetType : SingleInstance
Description : This object includes global counters that apply to the load management component of Skype for
Business Server.
Paths : {\LS:SIP - Load Management\SIP - Average Holding Time For Incoming Messages, \LS:SIP - Load
Management\SIP - Incoming Messages Held, \LS:SIP - Load Management\SIP - Incoming Messages Held
Above Low Watermark, \LS:SIP - Load Management\SIP - Incoming Messages Held Above High
Watermark...}
PathsWithInstances : {}
Counter : {\LS:SIP - Load Management\SIP - Average Holding Time For Incoming Messages, \LS:SIP - Load
Management\SIP - Incoming Messages Held, \LS:SIP - Load Management\SIP - Incoming Messages Held
Above Low Watermark, \LS:SIP - Load Management\SIP - Incoming Messages Held Above High
Watermark...}
When trying to access these via NCPA we get the following error (hostname and token have been replaced):
check_ncpa.py -H 'HOSTNAME' -t 'TOKEN' -P 5693 -M 'windowscounters/LS:SIP - Load Management/SIP - Average Holding Time For Incoming Messages'
The specified object was not found on the computer.
On the windows machine, we can pull these counters up in Perf Mon just fine. I've pulled counters before for other monitor tasks with NCPA and it works fine. Am I missing something here? Thanks!
PS C:\Windows\system32> Get-Counter -ListSet "LS:SIP - Load*"
CounterSetName : LS:SIP - Load Management
MachineName : .
CounterSetType : SingleInstance
Description : This object includes global counters that apply to the load management component of Skype for
Business Server.
Paths : {\LS:SIP - Load Management\SIP - Average Holding Time For Incoming Messages, \LS:SIP - Load
Management\SIP - Incoming Messages Held, \LS:SIP - Load Management\SIP - Incoming Messages Held
Above Low Watermark, \LS:SIP - Load Management\SIP - Incoming Messages Held Above High
Watermark...}
PathsWithInstances : {}
Counter : {\LS:SIP - Load Management\SIP - Average Holding Time For Incoming Messages, \LS:SIP - Load
Management\SIP - Incoming Messages Held, \LS:SIP - Load Management\SIP - Incoming Messages Held
Above Low Watermark, \LS:SIP - Load Management\SIP - Incoming Messages Held Above High
Watermark...}
When trying to access these via NCPA we get the following error (hostname and token have been replaced):
check_ncpa.py -H 'HOSTNAME' -t 'TOKEN' -P 5693 -M 'windowscounters/LS:SIP - Load Management/SIP - Average Holding Time For Incoming Messages'
The specified object was not found on the computer.
On the windows machine, we can pull these counters up in Perf Mon just fine. I've pulled counters before for other monitor tasks with NCPA and it works fine. Am I missing something here? Thanks!