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

session count with snmp

horvaia
Level 1
Level 1

Hi,

I have a cisco 7206VXR router. I would like to poll the total session count in every five minutes. Can I do it through snmp? Which oid should I use?

Thanks,

Andras

4 Replies 4

nhabib
Level 9
Level 9

Try polling the ltsLineSessionTable (1.3.6.1.4.1.9.2.9.3)

Thanks for your answer, but this OID is not accessible.

(cisco's snmp navigator says) Maybe I wasn't exact in

my previous post. I'm interested in the tcp/udp

session what my router handles (go through the router).

It would be nice if I can separete these

sessions per interface.

Thanks,

Andras

Here is the output of an snmpwalk I just performed, see if it answers your question:

snmpwalk -c public 14.32.100.75 ltsLineSessionTable

OLD-CISCO-TS-MIB::tslineSesType.2.1 = INTEGER: telnet(5)

OLD-CISCO-TS-MIB::tslineSesDir.2.1 = INTEGER: incoming(2)

OLD-CISCO-TS-MIB::tslineSesAddr.2.1 = IpAddress: 172.18.123.25

OLD-CISCO-TS-MIB::tslineSesName.2.1 = ""

OLD-CISCO-TS-MIB::tslineSesCur.2.1 = INTEGER: 0

OLD-CISCO-TS-MIB::tslineSesIdle.2.1 = INTEGER: 61042

OLD-CISCO-TS-MIB::tslineSesLine.2.1 = INTEGER: 2

OLD-CISCO-TS-MIB::tslineSesSession.2.1 = INTEGER: 1

Thanks, but unfortunately this doesn't answer

my question. I would like to count the (current) tcp and udp session in my router and from thie number

i want to create a graph.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: