# RRDUtil.pl configuration file # # $Id: rrdutil.conf-dist 413 2006-07-08 05:15:52Z matt $ # ## # DataDir - Where rrdutil can store it's *.rrd data files. These are the files # that store all the information that RRDUtil uses to create the # graphs. This directory must be readable by the user that Apache # runs as and writable by the user that runs the script in update mode. # # datadir = /usr/local/rrdutil/data ## datadir = /usr/local/rrdutil/data ## # htmldir - the directory where rrdutil will create image files for the web pages. # Make sure this directory exists and is writable by the user Apache # runs as. # # htmldir = /usr/local/rrdutil/html # FreeBSD # htmldir = /Library/WebServer/Documents/rrdutil # Darwin (MacOS X) # htmldir = /var/www/html/rrdutil # Linux # # Configure your web server to serve [htmldir] for requests sent # to /rrdutil. This is easily accomplished with an alias. Examples: # # Apache : Alias /rrdutil/ "/usr/local/rrdutil/html" # Lighttpd : alias.url = ( "/rrdutil/" => "/usr/local/rrdutil/html" ) ## htmldir = /usr/local/rrdutil/html ## # url - Any url that must be prepended to the URL that RRDUtil provides # the browser for finding images. # # url = /rrdutil ## url = /rrdutil ## # http_refresh_minutes - number of minutes to wait between HTTP refreshes. # ## http_refresh_minutes = 5 ## # bits - by default, rrdutil reports network traffic in bits. Set this to # 0 to report in bytes instead. # # Some people think of traffic in how many MB/s they can push across # versus how links are "normally" reported, such as: # # Link Type bits Bytes # T1 = 1.544 Mb 192 kB/s # 10BaseT = 10 Mb 1.25 MB/s # 100Base = 100 Mb 12.5 MB/s # # Because most people are familiar with "bits", that's the default. ## bits = 1 ## # snmp_timeout - how many seconds to wait for a response from your SNMP server # # on older slower hardware, or across busy networks, it's sometimes necessary # to bump this up a bit. You can gauge this based on how many alerts you get # from rrdutil about not getting a response from some host. ## snmp_timeout = 5 ## # select_all_by_default - For all lazy users: all available checkboxes are checked # ## select_all_by_default = 0 ## # debug - output verbose debugging info. Be warned, the debugging is verbose and # will display via the web interface and the command line when you set it # here. If you only want command line debugging, use the -v flag. ## debug = 0 ## # rrdtool_version - which version of rrdtool is installed # # the new version of rrdtool has some nice new functions # rrdutil should know which version you use. # enter: # rrdtool_version = 1 for rrdtool < 1.2 # rrdtool_version = 2 for rrdtool >= 1.2 ## rrdtool_version = 2 ## # var_run_dir - where to store rrdutil.pid # # if you run the update process as a non-root user, you should set this to # a directory that user has write permissions to ### var_run_dir = "/var/run"; ## # monitors - The host names and parameters of the host you are monitoring # # identifier = hostname, type, device, description # # Identifier - It is important that identifier be unique. use any # naming or numbering scheme that you'd like. # # Hostname - make sure it resolves. # # Type - In the example below you'll see an example of every working # type. Ones that don't match those below will be silently # ignored. snmp is a special type, and you must have one snmp # monitor for each host. The followingn fields are the SNMP # version to use and the community. # # Device - The physical device or protocol to measure. # # Description - What you want to show up in the pretty graphs ## auth1 = localhost, snmp, 2, monitoring monitor1 = localhost, disk, da0, disk_da0 #monitor2 = localhost, disk, da1, disk_da1 monitor3 = localhost, load, load, cpu_load monitor4 = localhost, net, all, net_all #monitor4 = localhost, net, lo0, net_loop #monitor5 = localhost, net, em0, net_eth0 #monitor6 = localhost, net, em1, net_eth1 monitor10 = localhost, storage, /, disk_root monitor11 = localhost, storage, /usr, disk_usr #monitor12 = localhost, storage, /home, disk_home monitor13 = localhost, storage, /var, disk_var #monitor14 = localhost, storage, /tmp, disk_tmp #monitor17 = localhost, www, solo, matt.simerson.net #monitor18 = localhost, www, group, simerson.org #monitor19 = localhost, www, group, mail.cadillac.net #monitor20 = localhost, www, group, mail.simerson.net monitor30 = localhost, mail, spam, mail_spam monitor31 = localhost, mail, rbl, mail_rbl_blocks monitor32 = localhost, mail, send, mail_deliveries monitor33 = localhost, mail, mua, mail_clients monitor40 = localhost, memory, memory, sys_memory monitor41 = localhost, mysql, combined, mysql_combined #monitor41 = localhost, mysql, queries, mysql_queries #monitor42 = localhost, mysql, type_queries, mysql_types monitor45 = localhost, apache, combined, apache #monitor45 = localhost, apache, workers, apache_workers #monitor46 = localhost, apache, bytes_per_req, apache_bytes_per_req #monitor47 = localhost, apache, req_per_sec, apache_req_per_sec #monitor50 = localhost, mbmon, temperature, temperature #monitor51 = localhost, mbmon, voltage, voltage #monitor52 = localhost, mbmon, fanspeed, fanspeed #monitor55 = firewall.example.com, pf, states, states #monitor56 = firewall.example.com, pf, ipbytes, ipbytes #monitor57 = firewall.example.com, pf, firewall,firewall ## # colors - an array consisting of RGB codes for HTML colors. # # Add at least 8 colors # Do not use # in the RGB codes # # black #000000 # violet #9900FF # blue #0000FF # light-blue #3399FF # aqua #00FFFF # green #00CC00 # light-green #99FF00 # yellow #FFFF00 # light-orange #FFCC00 # orange #FF6600 # red #FF0000 ### colors = violet,green,orange,yellow,red,light-blue,light-green,light-orange,blue,aqua #colors = black,violet,blue,light-blue,aqua,green,light-green,yellow #colors = light-blue,aqua,green,light-green,yellow,light-orange,orange,red ## # OIDs - the SNMP Oid that corresponds to each monitor # # test these with snmpwalk and make sure you are getting back # the results you'd expect. # # 99% of users will not need to ever changes these! ## # CPU state OIDs cpu_userOid = .1.3.6.1.4.1.2021.11.9.0 cpu_systemOid = .1.3.6.1.4.1.2021.11.10.0 cpu_idleOid = .1.3.6.1.4.1.2021.11.11.0 # Load Average OIDs load_oneOid = .1.3.6.1.4.1.2021.10.1.3.1 load_fiveOid = .1.3.6.1.4.1.2021.10.1.3.2 load_fifteenOid = .1.3.6.1.4.1.2021.10.1.3.3 # Memory Usage Oids mem_swapOid = .1.3.6.1.4.1.2021.4.3.0 mem_swapAvailOid = .1.3.6.1.4.1.2021.4.4.0 mem_totalOid = .1.3.6.1.4.1.2021.4.5.0 mem_availOid = .1.3.6.1.4.1.2021.4.6.0 mem_freeOid = .1.3.6.1.4.1.2021.4.11.0 mem_sharedOid = .1.3.6.1.4.1.2021.4.13.0 mem_bufferOid = .1.3.6.1.4.1.2021.4.14.0 mem_cachedOid = .1.3.6.1.4.1.2021.4.15.0 # Disk Usage Oids disk_pathOid = .1.3.6.1.4.1.2021.9.1.2. disk_totalOid = .1.3.6.1.4.1.2021.9.1.6. disk_availOid = .1.3.6.1.4.1.2021.9.1.7. disk_usedOid = .1.3.6.1.4.1.2021.9.1.8. disk_percentOid = .1.3.6.1.4.1.2021.9.1.9. # Disk Activity Oids disk_diskListOid = .1.3.6.1.4.1.2021.13.15.1.1.2. disk_readsOid = .1.3.6.1.4.1.2021.13.15.1.1.5. disk_writesOid = .1.3.6.1.4.1.2021.13.15.1.1.6. disk_readOid = .1.3.6.1.4.1.2021.13.15.1.1.3. disk_writtenOid = .1.3.6.1.4.1.2021.13.15.1.1.4. disk_descOid = .1.3.6.1.4.1.2021.13.15.1.1.2. # Network Interface Oids net_ifsOid = .1.3.6.1.2.1.2.1.0 net_IntOid = .1.3.6.1.2.1.2.2.1.2. net_descOid = .1.3.6.1.2.1.2.2.1.2. net_inOid = .1.3.6.1.2.1.2.2.1.10. net_outOid = .1.3.6.1.2.1.2.2.1.16. # System Oids sys_UpTime = .1.3.6.1.2.1.1.3.0 sys_admin = .1.3.6.1.2.1.1.4.0 sys_hostname = .1.3.6.1.2.1.1.5.0 sys_location = .1.3.6.1.2.1.1.6.0 # Web Hit Oid webOid = .1.3.6.1.4.1.2021.8.1.101.1 # Mail Oids mail_send = .1.3.6.1.4.1.2021.8.1.101.2 mail_smtp = .1.3.6.1.4.1.2021.8.1.101.3 mail_pop3 = .1.3.6.1.4.1.2021.8.1.101.4 mail_imap = .1.3.6.1.4.1.2021.8.1.101.5 mail_rbl = .1.3.6.1.4.1.2021.8.1.101.6 mail_web = .1.3.6.1.4.1.2021.8.1.101.7 mail_spam = .1.3.6.1.4.1.2021.8.1.101.8 mail_qs = .1.3.6.1.4.1.2021.8.1.101.9 # Mysql Oids mysql_type = .1.3.6.1.4.1.2021.8.1.101.10 mysql_queries = .1.3.6.1.4.1.2021.8.1.101.11 # Apache Oids apacheOid = .1.3.6.1.4.1.2021.8.1.101.12 # Mbmon Oids temperature = .1.3.6.1.4.1.2021.8.1.101.13 voltage = .1.3.6.1.4.1.2021.8.1.101.14 fanspeed = .1.3.6.1.4.1.2021.8.1.101.15 #PF Oids states_entries = .1.3.6.1.4.1.64512.1.3.1.0 states_searches = .1.3.6.1.4.1.64512.1.3.2.0 states_inserts = .1.3.6.1.4.1.64512.1.3.3.0 states_removals = .1.3.6.1.4.1.64512.1.3.4.0 bytes_v4_in = .1.3.6.1.4.1.64512.1.4.2.0 bytes_v4_out = .1.3.6.1.4.1.64512.1.4.3.0 bytes_v6_in = .1.3.6.1.4.1.64512.1.4.8.0 bytes_v6_out = .1.3.6.1.4.1.64512.1.4.9.0 passed = .1.3.6.1.4.1.64512.1.4.4.0 blocked = .1.3.6.1.4.1.64512.1.4.5.0