2008年11月26日 星期三

snmp


3 things to do for SNMP:
(1)query a value and get a reply
(2)set a value and get a return code
(3)An SNMP-enabled device can send you a notification, or "trap"

OID(object identifier)
how you identify SNMP objects in a structured, unique manner.

root of OID tree:
.1.3.6.1  (iso(1).org(3).dod(6).internet(1) )

within .1.3.6.1, there are four branches:
directory(1)
mgmt(2)
experimental(3)
private(4)

mgnt(2) is for standard objects
private(4) is for company-specific objects

MIB(management information base):
help user to understand the meaning of OID,
ex:
.iso.org.dod.internet.private.enterprises.4526.4.3.1.1.0 = STRING: "00146C689987"
is translated to
.iso.org.dod.internet.private.enterprises.netgear.wireless.wg102.sysSettings.sysMacAddress.0 = STRING: 00146C689987

snmpget:
snmpget -c public  192.123.1.1  1.3.1.2.1

snmpwalk:
找出某個節點後所有的value
snmpwalk -c public 192.168.5.18 .1.3.6.1.4.1.1714.1.1.2.1.2

mib file in mac os:
/usr/share/snmp/mibs/

2008年10月4日 星期六

包模

西門町獅子林1F~艾斯機膜
獅子林的魔法貼

2008年10月2日 星期四

app store的軟體

遊戲:
flick bowling:
raging thunder: 賽車
Monkey Ball

money:
splashmoney 

FileMagnet: watch pdf, doc

Scribble:  draw

ezimba:  photo

wedict pro: dictionary

remote:  remote control

touchcalc:  calculator

evernote: note

2008年9月16日 星期二

novamind

mind mapping software

mount iso

hdiutil mount  test.iso

crossover

execute windows software 

2008年9月13日 星期六

@property & @synthesize

@property :
define getter  & setter method
ex:
@property(readwrite, assign)  int test;

@synthesize:
implement getter & setter method
ex:
@synthesize test;