Hey all , 
im using MRTG for monitoring our network devices traffic.
i faced a problem of how to draw PPPoA sessions as it dont have an OID like 
PPPoE
we have a router with 2 PPP customers : PPPoA and PPPoE
the OID for the PPPoE sessions can be found easily : 1.3.6.1.4.1.9.9.194.1.1.1
to find the number of PPPoA sessions , we used  CISCO-AAA-SESSION-MIB 
casnActiveTableEntries "1.3.6.1.4.1.9.9.150.1.1.1"
but that will give all the active sessions on the router , when i used the 
snmpwalk command on a linux server it gave me over 6000 , while its on the 
router via show user summary command , gives around 1800 
so the needed configuration was as below:
create on-demand command under the PVC range , under the ATM sub interface 
(This will reserve the active connections only)
interface ATM1/0/0.11 multipoint
 range pvc 11/35 11/274
  create on-demand
 
as well as , applying the command aaa session-mib populate start in global 
configuration mode
 
after all , show user summary output:
Device#sh users summary 
1766 session(s) locally terminated
    PPPOA           1007
    PPPOE           759
 
[r...@cacti-nms ~]# snmpwalk -v2c -c community IP .1.3.6.1.4.1.9.9.150.1.1.1
SNMPv2-SMI::enterprises.9.9.150.1.1.1.0 = Gauge32: 1766
 
Then to draw the PPPoA sessions , u have to substract the PPPoE sessions as the 
OID gives the total number of sessions:
Target[Device_PPPoA]:1.3.6.1.4.1.9.9.150.1.1.1.0&1.3.6.1.4.1.9.9.150.1.1.1.0:commun...@ip
 - 1.3.6.1.4.1.9.9.194.1.1.1.0&1.3.6.1.4.1.9.9.194.1.1.1.0:commun...@ip 
 
Thanks all
 
Best Regards,
Mohammad Khalil

 
 





What can you do with the new Windows Live? Find out


See all the ways you can stay connected to friends and family
Get news, entertainment and everything you care about at Live.com. Check it out!
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to