Acties:
  • 0 Henk 'm!

  • FloRadix
  • Registratie: Augustus 2005
  • Laatst online: 12-09 16:30
Beste,

Ik probeer al een tijd snmp deftigete laten werken op mn iMac 27 -2011 machine.
Heb alles goed ingesteld met het commando 'snmpconf'

mijn snmpd.conf ziet er zo uit:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#Allow read-access with the following SNMP Community String:
rocommunity public

# all other settings are optional but recommended.

# Location of the device
syslocation data centre A

# Human Contact for the device
syscontact SysAdmin

# System Name of the device
sysName SystemName

# the system OID for this device. This is optional but recommended,
# to identify this as a MAC OS system.
sysobjectid 1.3.6.1.4.1.8072.3.2.16


nadien snmp reload
code:
1
2
root#  launchctl unload -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist
root#  launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist



als ik het de snmpwalk doe, krijg ik slechts 1 output, normaal verwacht je een volledige output ie. network, cpu load, temps, enz... zoals het bij andere linux machines
code:
1
2
3
4
root# snmpwalk -v 1 -c public localhost

SNMPv2-MIB::sysContact.0 = STRING: SysAdmin
End of MIB


dus de output is echt beperkt,
Kan iemand dit testen op uw eigen osx machine

Bedankt voor uw feedback