## ## Snmp host an community string ## snmp_host localhost snmp_community public ## ## draw two graphs ## num_graphs 2 ## ## entity is kilobytes ## ## Supported entities: kb (will add more) ## entity kb ## ## See average values ## mode AVERAGE ## ## Default_history to now is displayed ## default_history -16000 ## ## Title for the graph ## title Traffic on eth0 ## ## Database definition ## db_file /var/snmpgraph/eth0.rrd # 90 days = 20 times per hour update * 24 * 90 = 43200 db_size 43200 # # Now: define the graphs we like to monitor. As num_graphs is 2, I specify # also two here. # ## ## select OIDs to watch ## snmp_oid1 IF-MIB::ifInOctets.1 snmp_oid2 IF-MIB::ifOutOctets.1 ## ## Name them like this in RRD ## snmp_name_oid1 in snmp_name_oid2 out ## ## Display them like this ## snmp_desc_oid1 Incoming traffic snmp_desc_oid2 Outgoing traffic ## ## Type of graph to draw ## graph_type1 LINE1 graph_type2 LINE1 ## ## Colors of the graph to draw ## graph_color1 00ff00 graph_color2 ff0000