To Find how many users are logged in Fusion

This support forum board is for questions relating to Nagios Fusion.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

To Find how many users are logged in Fusion

Post by RIDS_I2MP »

Hi Team,

Is there a way to find out who is currently logged in on Fusion. We have an auditing assignment in which we have to report the number of users logged in on Fusion on a regular basis.

Please let us know if the same can be found out from the Server as well.

RIDS I2MP Team
Thanks & Regards,
I2MP Team.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: To Find how many users are logged in Fusion

Post by abrist »

This is harder said than done. Many session files will stay around for quite some time after the user has disconnected, so you most likely want to look at unique ips connected to por t 80 and/or port 443:

Code: Select all

netstat -plan | grep ":80\|:443 " |awk '{print $4}' | grep -v "127.0.0.1\|:::80\|:::443" | uniq | wc -l
Many have asked this in the past, so if you find a better way, please share.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked