/ Forside / Teknologi / Netværk / TCP/IP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
TCP/IP
#NavnPoint
Per.Frede.. 4668
BjarneD 4017
severino 2804
pallebhan.. 1680
EXTERMINA.. 1525
xou 1455
strarup 1430
Manse9933 1419
o.v.n. 1400
10  Fijala 1204
mrtg / snmp get
Fra : Lars Knudsen


Dato : 12-11-01 13:21

Hejsa.

Har installeret snmpd og mrtg.. men når jeg kører en cfgmaker bla bla.. med
de rigtige communities osv.. så får jeg følgende:

--base: Get Device Info on pwd@localhost:
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because pwd@localhost: does not seem to
support it
--snpo: Skipping ifDescr scanning because pwd@localhost: does not seem to
support it
--snpo: Skipping ipAdEntIfIndex scanning because pwd@localhost: does not
seem to support it
--snpo: Skipping ifType scanning because pwd@localhost: does not seem to
support it
--snpo: Skipping ifPhysAddress scanning because pwd@localhost: does not seem
to support it
--base: Get Interface Info
--base: Walking ifIndex

any one...

-- Lars Knudsen



 
 
Lars Thegler (12-11-2001)
Kommentar
Fra : Lars Thegler


Dato : 12-11-01 13:36

On Mon, 12 Nov 2001 13:21:17 +0100, Lars Knudsen <lars@dulmens.dk> wrote:
>
>Har installeret snmpd og mrtg.. men når jeg kører en cfgmaker bla bla.. med
>de rigtige communities osv.. så får jeg følgende:
>
>--snpo: Skipping ifName scanning because pwd@localhost: does not seem to
>support it

Lyder som om din snmpd ikke er conf'et til at svare på det, som
cfgmaker spørger om...

/Lars

Lars Knudsen (12-11-2001)
Kommentar
Fra : Lars Knudsen


Dato : 12-11-01 13:48

uddrag af snmpd.conf

--- snip ---
####
# First, map the community name "public" into a "security name"

# sec.name source community
com2sec notConfigUser default pwd

####
# Second, map the security name into a group name:

# groupName securityModel securityName
#group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser

####
# Third, create a view for us to let the group have rights to:

# name incl/excl subtree mask(optional)
view systemview included system

####
# Third, create a view for us to let the group have rights to:

# name incl/excl subtree mask(optional)
view systemview included system

####
# Finally, grant the group read-only access to the systemview view.

# group context sec.model sec.level prefix read write
notif
access notConfigGroup "" any noauth exact systemview none
none

# --------------------------------------------------------------------------
---

# Here is a commented out example configuration that allows less
# restrictive access.

# YOU SHOULD CHANGE THE "COMMUNITY" TOKEN BELOW TO A NEW KEYWORD ONLY
# KNOWN AT YOUR SITE. YOU *MUST* CHANGE THE NETWORK TOKEN BELOW TO
# SOMETHING REFLECTING YOUR LOCAL NETWORK ADDRESS SPACE.

## sec.name source community
#com2sec local localhost lbk1383
#com2sec mynetwork NETWORK/24 COMMUNITY

## group.name sec.model sec.name
#group MyRWGroup any local
#group MyROGroup any mynetwork
#
#group MyRWGroup any otherv3user
#...

## incl/excl subtree mask
#view all included .1 80

## -or just the mib2 tree-

#view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc


## context sec.model sec.level prefix read write notif
#access MyROGroup "" any noauth 0 all none none
#access MyRWGroup "" any noauth 0 all all all

############################################################################
###
# System contact information
#

# It is also possible to set the sysContact and sysLocation system
# variables through the snmpd.conf file:

# syslocation Unknown (edit /etc/snmp/snmpd.conf)
# syscontact Root <root@localhost> (configure /etc/snmp/snmp.local.conf)

# Example output of snmpwalk:
# % snmpwalk -v 1 localhost public system
# system.sysDescr.0 = "RedHat name ting"
# system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.sunos4
# system.sysUpTime.0 = Timeticks: (595637548) 68 days, 22:32:55
# system.sysContact.0 = "Gud <gud@email.dk>"
# system.sysName.0 = "UJ"
# system.sysLocation.0 = "Right here, right now."
# system.sysServices.0 = 72


# --------------------------------------------------------------------------
---

osv--->
--- snap ---
"Lars Thegler" <xyz@xyz.xyz> skrev i en meddelelse
news:slrn9uvga9.1niu.xyz@www.chaos.dk...
> On Mon, 12 Nov 2001 13:21:17 +0100, Lars Knudsen <lars@dulmens.dk> wrote:
> >
> >Har installeret snmpd og mrtg.. men når jeg kører en cfgmaker bla bla..
med
> >de rigtige communities osv.. så får jeg følgende:
> >
> >--snpo: Skipping ifName scanning because pwd@localhost: does not seem to
> >support it
>
> Lyder som om din snmpd ikke er conf'et til at svare på det, som
> cfgmaker spørger om...
>
> /Lars



Lars Thegler (12-11-2001)
Kommentar
Fra : Lars Thegler


Dato : 12-11-01 14:41

On Mon, 12 Nov 2001 13:47:48 +0100, Lars Knudsen <lars@dulmens.dk> wrote:
>uddrag af snmpd.conf

Prøv at checke din logfil. snmpd burde fortææle det, hvis der
kommer requests der konflikter med conf settings.

/Lars

Søg
Reklame
Statistik
Spørgsmål : 177557
Tips : 31968
Nyheder : 719565
Indlæg : 6408877
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste