Quick & Dirty -- SNMP

Aus RZ-Amper Wiki
Zur Navigation springen Zur Suche springen

Bespiel Konfiguration unter Solaris 10

 syslocation  "Rechenzentrum Amper"
 sysdescr     Sun SNMP Agent, Sun-Fire-V240
 syscontact   lassmichinruhe@rz-amper.de
 sysservices  72
 
 rwuser       snmp
 rouser       snmp
 
 rocommunity  public
 rwcommunity  rz-amper
 rwcommunity  private localhost .1.3.6.1.4.1.42.2.15
 
 dlmod seaProxy /usr/sfw/lib/sparcv9/libseaProxy.so
 dlmod seaExtensions /usr/sfw/lib/sparcv9/libseaExtensions.so
 
 proc
 disk /dev/dsk/c1t0d0s0 10000
 disk /dev/dsk/c1t1d0s7 10000
 disk /dev/dsk/c1t2d0s7 10000
 disk /dev/dsk/c1t3d0s7 10000
 load  10 10 10
 
 proxy -v2c -c public localhost:3401 .1.3.6.1.4.1.3495.1
 
 # exec foo /usr/local/bin/test-snmp.sh
 # exec .1.3.6.1.4.1.2021.555 /usr/local/bin/test-snmp1.sh