Monitoring number of active sessions with SNMP
Posted in Monitoring, sessions, snmp on July 7th, 2010 by aldaris – Comments OffMonitoring the quantity of active sessions is always a great way to monitor your OpenAM instances load, and guess what OpenAM has an interface for that.
In OpenAM admin console you can see the active sessions under the Sessions tab, but the list is limited by default to 120 entry. You can’t find a programmatic way to find this out either, since you only could find something like:
which will retrieve every single session, but why would anyone do that to get only the count of them?
So if you want to monitor your sessions in a proper way, then you just need to follow the next few steps:
and there you go. This way you could easily create a munin script, so you could show nice charts about active sessions for management.
Note: the SNMP port is 8085 by default, but it’s configurable of course.
