[mrtg] graph Cisco total users

Mir Hafeez Ali hafeezali at cyberia.net.sa
Tue Nov 6 06:24:32 CET 2007


If you are in an unix environment try to finger the users from your router
and grep the total no. of users.

Example:

finger @a.b.c.d | grep -c Vi

Regards,
___________________________________
Mir Hafeez Ali 

-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch]
On Behalf Of dbrett at tcn.net
Sent: Friday, October 26, 2007 9:31 PM
To: Daniel J McDonald
Cc: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] graph Cisco total users

I have been following this with great interest.  I too would like to 
collect the same or similiar information.  I wanted to collect the 
PPPoVPDN information off the router for each user.  I tried doing and 
snmpwalk, but was not able to identify the OID for this information.  I am 
not the best at reading the SNMP.  I talked to Cisco but I got the 
impression the information is not is SNMP.

What we did was write expect and PHP scripts to collect the information 
and put it into mysql and generate reports from there.  It is not 100% 
accurate, but is better than nothing

david

On Fri, 26 Oct 2007, Daniel J McDonald wrote:

>
> On Fri, 2007-10-26 at 20:20 +0545, Gaurav Ghimire wrote:
>>> Does anyone know how to graph the total users in a Cisco? Is there an
>>> OID that returns this? We terminate our DSL into a Cisco and I would
>>> like to keep track of the total online users. Show users spits out a
>>> list of users but not the total number. Show caller summary displays a
>>> line by line summary of "calls" and unique users logged in but I don't
>>> know how to write a script to pull that info and then integrate into
>>> MRTG. Any help is greatly appreciated.
>>>
>>> Dylan
>>>
>
>> well what i would say is first search cisco database for the particular
>> OID or else just write a script that will snmpwalk that particular OID
and
>> do a line count
>
> I actually submitted a patch to mrtg that did just that, so it would not
> have to be an external script:
>
> http://oss.oetiker.ch/mrtg-trac/ticket/23
>
> I don't know when the next version of mrtg will be released that
> includes this feature.
>
> -- 
> Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
> Austin Energy
> http://www.austinenergy.com
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg




More information about the mrtg mailing list