| Die Datei devices.txt Jeder Eintrag besteht aus IP-Adresse, Name, Communitystring, OID-Tabelle, die durch
Semikolon getrennt werden (OID-Tabelle ist eine Referenz auf snmpview.cfg) configuration file devices.txt syntax: ipadress;name;communitystring;OIDtable; (OIDtable reference to snmpview.cfg) 10.1.1.4;PC 1;public;0; 10.1.1.2;PC 2;public;0;
Die Datei snmpview.cfg Zeilen mit ‘#’ am Anfang sind Kommentare configuration file snmpview.cfg lines begins with ‘#’ are comments
[Misc] # Anzahl der Spalten
# Number of Columns to display; if you add more entries below, increment this number #also! Columns=7
# SNMP-Port, optional, default 161 SNMPMsgPort=161
# Verzögerung zwischen 2 Abfragen in Millisekunden # This is the delay between querying successive managed nodes in milliseconds Delay=50
# Zeit bis Timeout in Millisekunden # Delay before timeout of a node query in milliseconds
# If queries do not return data on slow links, try increasing this value Timeout=2000
# Zeit zwischen zwei Durchläufen in Millisekunden # time between two complete poll sequences for the device list in milliseconds Pause=100
# Logfile schreiben an oder aus # set write to logfile on (1) or off (0) Logging=1
# Name und Pfad für Logfile
# this is the name and complete path for the logfile Logfile=snmpview.log
#This is the file with monitored addresses; optional, default is .\devices.txt #Datei mit Liste der abzufragenden Adressen, optional, default .\devices.txt devices=.\devices.txt
#This is the file with monitored extreme values; optional, default is .\extremes.txt #Datei mit den abgespeicherten Extremwerten, optional, default .\extremes.txt extremes=.\extremes.txt
# Beschriftung der Spaltenköpfe Syntax: Index=Überschrift # trägt eine Spalte den Namen 'uptime', werden die über die SNMP-OID ermittelten # Timeticks in die Anzeige days, hours, minutes, seconds umgewandelt. # These are the column headers # have one column the header 'uptime', the software translate timeticks to a human # readable form like days, hours, minutes, seconds
[Header] 0=Gerät 1=Betriebssystem 2=Name 3=uptime 4=ifinoctets 5=ifoutoctets 6=Netzwerkkarte
# Einträge ohne führende 1.3.6.1. ,am Ende 0 oder die Instanz (bei Tabellen) nicht #vergessen!! # This are the SNMP OID's, which polled frequently
# please use without 1.3.6.1, don't forgot a zero or the number of the instance (if you use #tables) at the end
#OID-Tabelle 0 #OID table 0 #ohne führende 1.3.6.1. !! #use without 1.3.6.1!! [OID0] 1=2.1.1.1.0 2=2.1.1.5.0 3=2.1.1.3.0 4=2.1.2.2.1.10.16777218 5=2.1.2.2.1.16.16777218 6=2.1.2.2.1.2.16777218
#Position nicht ändern, wird vom Programm verwendet!! #do not change tis values, they are used by program itself (window position and size) [Position] ColWidth0=65 ColWidth1=150 ColWidth2=84 ColWidth3=120 Width=804 Height=101 Left=64 Top=73 ColWidth4=77 ColWidth5=86 ColWidth6=202 ColWidth7=68
ColWidth8=96 | |