[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     Re: [snips-users] snmpmon-collector and cisco for uptime

Thanks for the reply. I was able to find the full correct identifier and it's working now.

Also, is there a way I can use snips package to monitor if all the lines in the dts are busy. Users use up all the lines by dialing in.
Or is there a way I can use snips to determine the number of users who are currently dialed in to our dialup terminal server?


Russell Van Tassell wrote:

On Fri, Apr 22, 2005 at 11:05:39AM -0400, Allan P. Magmanlac wrote:


Hello,
I'm trying to query our dialup terminal access server using snmp packages that comes with snips.
It works from the command line.
server# ./snmpget dts.fakedomain.ca fakecommunity system.sysUpTime.0
Name: system.sysUpTime.0 -> Timeticks: (34057798) 3 days, 22:36:17


[...]

I modified a little bit the snmpmon-collector...
$MIBENTERPRISE = ".iso.org.dod.internet.private.enterprises"
In the "sub init_system"  I specified
my $prefix = "$MIBENTERPRISE"

[...]

My question is what is the full correct identifier for system.sysUpTime.0.



Well, assuming you're trying to query:


SNMPv2-MIB::sysUpTime.0

...that should be:

.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.0

AKA .1.3.6.1.2.1.1.3.0


The "private enterprises" tree (eg. ucdavis, netsnmp, etc) does not come with an "uptime" equivalent that I know of... though you have things like swap and cpu in there, along with a couple other IO data points.

(you can always do an snmpwalk of MIBs... though it's best that you
redirect that to a file for later perusing... *wink*)

snmpwalk -c community -O f host.domain.tld .

Hope that helps...
Russell





--


--
Allan P. Magmanlac
allan magmanlac at nrns.ca
NRNS Incorporated
DREnet Network Coordination Centre (NCC)
Tel: (613) 599-7860 ext 107




Zyrion Traverse Network Monitoring & Network Management Software