summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/snmpd.h
AgeCommit message (Collapse)Author
2009-06-06this one missed the last batch.Pierre-Yves Ritschard
2009-06-06sync snmpd with the common imsg code, making it lib ready as well.Pierre-Yves Ritschard
ok eric@
2008-12-23export the livelock counter in a private mib openBSD.5.Reyk Floeter
discussed with dlg@
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-09-26allow to add an additional restricted control socket for trap sendingReyk Floeter
only (not even show commands). this allows to place a socket for traps in another daemon's chroot. (based on restricted socket support from bgpd)
2008-07-18merge log_host with relayd's version using getnameinfo and rename itReyk Floeter
to print_host.
2008-06-29Use C99, not gcc-specific variadics. Ok miod@.Anders Magnusson
2008-02-07add a imsg which allows to "lock" the control connection, theReyk Floeter
restricted connection will reject any commands except snmp traps.
2008-01-18add a snmpctl command to send traps to registered receivers usingReyk Floeter
snmpd's imsg trap interface.
2008-01-17allow to configure optional per trap receiver communities and toReyk Floeter
restrict the receivers to a specified mib.
2008-01-16send a coldStart trap to registered receivers on startup and cleanupReyk Floeter
the trap code a little bit.
2008-01-16implementation of the SNMP trap sender interfaceReyk Floeter
2008-01-16bump copyrightReyk Floeter
2008-01-16move trap code to an own file; there will be moreReyk Floeter
2008-01-16start working on an interface to send traps via snmpd.sock. userlandReyk Floeter
applications will be able to send imsgs defining the trap to snmpd and the daemon will do the ASN.1/BER encoding before sending traps to the registered receivers. there are two advantages of this approach that a) the applications do not need to handle any ASN.1/BER encoding and b) snmpd will provide a central interface to define trap receivers. discussed with thib and others
2008-01-03handle no more than 2147483647 (0x7fffffff) variable bindingsReyk Floeter
From RFC3416
2008-01-02Make sure that a key belongs to the table before returning a match.Mats O Jansson
Change smi_odi_cmp to return int as expected by RB-tree. -moj ok reyk@
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-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-07add a new 'd' format to ber_printf_elements to pass ints instead ofReyk Floeter
long longs; you have to pass the right type with vargs. this finally fixes the previous problem on i386. discussed with claudio
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@