cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2797
Views
4
Helpful
4
Replies

Count of Logged in users with SNMP

farkascsgy
Level 4
Level 4

Hello,

Can somebody send me the OID or MIB of the query of the count of the currecntly logged in users. I mean the number of users who use VTY lines.

Thanks in advance,

Bye

FCS

4 Replies 4

David Stanford
Cisco Employee
Cisco Employee

Have a look at tsLineUser (.1.3.6.1.4.1.9.2.9.2.1.18)

Also, you will need to have TACACS configured to see who is logged in

ex)

# snmpwalk 172.16.99.1 public .1.3.6.1.4.1.9.2.9.2.1.18

enterprises.9.2.9.2.1.18.0 = ""

enterprises.9.2.9.2.1.18.1 = ""

enterprises.9.2.9.2.1.18.2 = "foo"

enterprises.9.2.9.2.1.18.3 = "foobar"

enterprises.9.2.9.2.1.18.4 = ""

enterprises.9.2.9.2.1.18.5 = ""

enterprises.9.2.9.2.1.18.6 = ""

Hello,

I just need a number how manny VTY lines are used. Like the output of count of show users.

bye

FCS

Sure, from the same MIB :"tsLineActive" "1.3.6.1.4.1.9.2.9.2.1.1"

Is there any way to do the same for PIX and ASA?

Review Cisco Networking for a $25 gift card