summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/mib.c
AgeCommit message (Collapse)Author
2008-12-23export the livelock counter in a private mib openBSD.5.Reyk Floeter
discussed with dlg@
2008-12-19fix IF-MIB element and implementation ifInUnknownErrors -> ifInUnknownProtosReyk Floeter
2008-12-08report memory and swap in hrStorage, and implement hrProcessor to reportReyk Floeter
hrProcessorLoad (where load means the percentage of time the system was not idle during the last minute). based on HOST-RESOURCES-MIB. ok dlg@
2008-03-18remove ber_add_astring and make it the default behaviour inReyk Floeter
ber_add_string, ber_add_nstring, and ber_add_bitstring to allocate and copy the provided buffer instead of just attaching it to the ber element. this may add some overhead but fixes and avoids some bugs with static buffers and simplifies the ber api again. From Matthew at Dempsky dot org With input from claudio@
2008-03-17convert more strings to use the new ber_add_astring() function whichReyk Floeter
simplifies the code.
2008-03-17another sizeofa instead of sizeof fixReyk Floeter
2008-03-17fix incorrect use of sizeof() where there sizeofa() macro should be usedReyk Floeter
ok dlg@
2008-03-16implement the hrSWRun portion of the HOST-RESOURCES mib. you can see whatsDavid Gwynne
running now, which is another thing my nms at work likes. ok reyk@
2008-03-15provide sizeofa for counting the number of elements in an array. use it forDavid Gwynne
passing the length of the mib in all these sysctl calls. ok reyk@
2008-03-15move zerodotzero up so more stuff can use itDavid Gwynne
this is an ok bit of a bigger diff that reyk wanted split up
2008-03-10provide a partial implementation of the HOST-RESOURCES-MIB. this implementsDavid Gwynne
the hrStorage part, which is enough to see how much space is used on your filesystems. makes my nms happy. ok reyk@
2008-01-30spacingReyk Floeter
2008-01-18implement very basic support of the BRIDGE-MIB which is enough to getReyk Floeter
recognized as a network device by some NMS.
2008-01-16bump copyrightReyk Floeter
2007-12-29add the IP-MIB ipAddrTable. it requires to encode the ipv4 addressesReyk Floeter
in the OIDs as the table index. the next step is to simplify the common mib implementation regarding the special requirements of these strange snmp tables.
2007-12-28split code handling the "structure of management information" and theReyk Floeter
"message processing subsystem" into separate files smi.c and mps.c
2007-12-28split the MIB declarations (names) from the definitions (implementation).Reyk Floeter
2007-12-28use the snmp camelCase for MIB definitions, this allows to simplifyReyk Floeter
the code a bit and is mostly a stylistic change.
2007-12-15fix the sensors mib to match the new OpenBSD PENReyk Floeter
2007-12-15shrink the code by making some ipstat parts table-driven. at someReyk Floeter
point i may want to define a general table-driven interface for mibs.
2007-12-15ips_odropped is ipOutDiscards not ipInDiscardsReyk Floeter
2007-12-15add support for ipReasmTimeoutGilles Chehade
ok (and thanks to) reyk@
2007-12-15implement one function to call the ipstat sysctl needed in a number ofReyk Floeter
places instead of repeating the code. inspired by an idea from gilles@
2007-12-15more sysctl style changes for older codeReyk Floeter
2007-12-15change the style of the sysctl mib setupReyk Floeter
2007-12-15now that ip statistics are available through sysctl, make snmpd's IP-MIBGilles Chehade
aware of them ok reyk@
2007-12-10add ip_mib table as well as support for retrieving ipForwarding andGilles Chehade
ipDefaultTTL ok reyk@
2007-12-06do not re-use static char buffers, allocate them; this avoids someReyk Floeter
strange effects in GETBULK mode. (this should go into ber.c).
2007-12-05- add support joel's OPENBSD-SENSORS-MIB; it will dump the currentReyk Floeter
sensor status in a SNMP table. - some other minor changes
2007-12-05Start working on snmpd(8) and snmpctl(8), a lightweight SNMP implementationReyk Floeter
for OpenBSD. SNMP is a necessary evil. This is work in progress, don't expect too much from it yet. ok deraadt@