Frequently Asked Questions 2007-06-08 http://unnoc.org This is an ongoing list of frequently asked questions 1. Disks of greater capacity than 2.2TB. Q: I've added my disks to snmpd.conf, however I have a disk that is larger than 2TB and Unnoc only shows that the disk is 2.2TB, how do I fix this? A: This is due to a limitation in Net-SNMP. The best way to fix this is to specify the disks manually with the "disktype = hr" option. For instance, if you have this in your snmpd.conf file: disk / 10% disk /srv 5% Then use the following host definition: host { hostname = server1 community = public type = server disktype = hr disk { partition = /proc/bus/usb ignore = 1 } disk { partition = / high_usage = 90% warn_usage = 80% } disk { partition = /srv high_usage = 95% warn_usage = 90% } } Notice the "disktype = hr", that tells Unnoc to use the HOST-RESOURCES-MIB, instad of the UCD-SNMP-MIB. Also, notice the "ignore = 1" on /proc/bus/usb. If using HOST-RESOURCES-MIB, then it will pull all partitions. Simply tell unnoc to ignore the ones you dont need. 2. Rename a host Q. I've changed the name of my server, all of my graphs have dissappeared though. How do I rename a server? A. You need to do two things. The first thing you need to do is update the unnoc.conf file with the new server name. The next thing you need to do is rename the rrd/hostname directory. For example, if you changed the hostname of a particular server from server1 to server2, then you need to update the unnoc.conf entry: host { #hostname = server1 hostname = server2 community = public type = server ... } And then you need to rename the rrd/server1 directory to rrd/server2. If you've already done the first step and see blank graphs for the new server, then you need to remove the new directory first (or rename it, anyway): (if rrd/server2 already exists, rename it to server2.blank) # mv rrd/server2 rrd/server2.blank (then you need to rename the old directory to the new directory) # mv rrd/server1 rrd/server2 You should now be done. vim:tw=72:wm=1