I have compiled cmu-snmp and I am using the snmpwalk program to try and
gather statistics for MRTG (router statistics etc) I want to be able to
use snmpwalk to gather ALL active dialin sessions whether they are PPP,
SLIP or an rlogin user.
in the MRTG program there is a configuration for portmasters that has this
syntax
there is an env variable set to MIB.txt from cmu-snmp2 distibution
!#/bin/csh
setenv MIBFILE /usr/local/mrtg/mib.txt
snmpwalk -v 1 <pm domainname> <community read> \
interfaces.ifTable.ifEntry.ifType
I broke the above into 2 lines for legibility. the above finds ALL PPP
users that thats it
and if I do the following:
!#/bin/csh
setenv MIBFILE /usr/local/mrtg/livingston.mib
snmpwalk -v 1 <pm domainname> <community read> \
interfaces.livingstonSerial.livingstonSerialTable.LivingstonSerialEntry
Again above line is put on 2 lines for legibility
I get the following error
Should be ACCESS((): On or around line 69
Bad parse of objecttype: On or around line 69
can any SNMP Guru's out there that have done stuff iwht livingston PM2e's
and PM3's drop me an email and tell me what I i need to do to fix this
problem..
THANKS
Jim