Bug 84588
| Summary: | kbytes vs. bytes mismatch in snmpd.conf | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Janne Pikkarainen <jabapi> |
| Component: | net-snmp | Assignee: | Phil Knirsch <pknirsch> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-08-05 15:24:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I just checked, and neither the example config file nor the manpage contain the byte reference anymore but only the kilobyte reference. So it's fixed on the latest versions available via rawhide. Read ya, Phil Ok. Thank you for your information. :-) |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: It seems that the default snmpd.conf has a small but potentially very confusing typo in it. I think there should read "maxsize_in_kbytes", not "maxsize_in_bytes" like it currently does. A quote from snmpd.conf: --- # file: Check on the size of a file. # Display a files size statistics. # If it grows to be too large, report an error about it. # # file /path/to/file [maxsize_in_bytes] --- And my (at first erraneous) settings from snmpd.conf, because it told me to report the size in bytes: --- file /var/log/httpd/access_log 1800000000 --- Now let's see the actual results via snmpget and fileTable: --- fileMax.1 = INTEGER: 1800000000 kB --- Woah, that's a little bit bigger than the 1.7-1.8 gigabytes I previously thought. So, let's check from the UCD-SNMP-MiB which one is right, snmpd.conf or snmp-get: --- fileMax OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "Limit of filesize (kB)" ::= { fileEntry 4 } --- Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Add a file to keep an eye on to snmpd.conf and follow the instructions precisely, setting the file size in bytes. 2. Check the actual settings with snmp-get. Additional info: