12:44, EEST
June 27, 2012
It looks like a lot of the data under Server doesn’t get filled in by the toolkit. I see data for the children of ServerStatus, but that’s pretty much the only place there are values. Some of the stats are clearly server-dependent, so I need to fill those in. Some seem like they should come from the toolkit, like CurrentSessionCount or CurrentSubscriptionCount. What do I need to do to put appropriate data into that tree?
12:52, EEST
December 21, 2011
12:52, EEST
June 27, 2012
Okay, that was the problem.
A couple of questions:
For SessionSecurityDiagnostics I’m seeing a value of BadUserAccessDenied. What do I need to do to see this data?
SamplingIntervalDiagnosticsArray doesn’t seem to have anything in it. I need to populate this myself, right? Do I just get the nodes from the node manager, and set the value regularly, or is there some better way to do this?
14:31, EEST
December 21, 2011
TimK said
Okay, that was the problem.
A couple of questions:
For SessionSecurityDiagnostics I’m seeing a value of BadUserAccessDenied. What do I need to do to see this data?
You need to define a UaServerListener for the UaServer and make onAllowReadSecurityDiagnostics() to return true. You can check against the UserIdentity of the provided serviceContext.session, whether you want to enable that for certain user’s only.
SamplingIntervalDiagnosticsArray doesn’t seem to have anything in it. I need to populate this myself, right? Do I just get the nodes from the node manager, and set the value regularly, or is there some better way to do this?
Yes, you can update the value with
getSamplingIntervalDiagnostics().updateValue(newValue);
where newValue is of type SamplingIntervalDiagnosticsDataType[].
Note that it should only be filled, if your server uses a fixed set of sampling intervals.
Most Users Ever Online: 1919
Currently Online:
16 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 735
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6449
Newest Members:
rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1