summaryrefslogtreecommitdiffstats
path: root/plugins/omsnmp
Commit message (Collapse)AuthorAgeFilesLines
* fixed potential segfault due to invalid call to cfsyslinevarmojfekoj2008-05-141-4/+4
| | | | | | thanks to varmojfekoj for the patch Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* made everything compile with the new runtime subdirectoryRainer Gerhards2008-04-161-1/+1
|
* bugfix: omsnmp had a too-small sized buffer for hostname+port.Rainer Gerhards2008-04-101-22/+31
| | | | | This could not lead to a segfault, as snprintf() was used, but could cause some trouble with extensively long hostnames.
* bugfix: omsnmp did not deref errmsg object on exit (no bad effects caused)Rainer Gerhards2008-04-081-0/+3
|
* - added support for high-precision timestamps when receiving legacy syslogRainer Gerhards2008-03-281-1/+1
| | | | | | messages - added new $ActionForwardDefaultTemplate directive - added new $ActionGSSForwardDefaultTemplate directive
* removed a now-longer needed callback from the output module interface.Rainer Gerhards2008-03-221-4/+0
| | | | Results in reducing code complexity.
* applied patch from Michael Biebl to clean up build systemRainer Gerhards2008-03-061-2/+2
|
* Updated the Adiscon MIBs, they contain a few more definitions for variablesAndre Lorbach2008-03-052-7/+247
| | | | | and traps now. The default syslogmessage oid had to change again, as I had to reorganize the snmp variables.
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-6/+9
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* Added custom mibs for the OMSNMP output module. These mibs are derived fromAndre Lorbach2008-03-043-7/+185
| | | | | | | | adiscon monitorware and will be used by default from now on. The mibs can be found in the mibs folder of the omsnmp directory. For more details please see the documentation. Also added a new configuration variable $actionsnmptrapoid which defines the trap-type or notification-type that is used.
* Changed default SyslogMessageOID to 1.3.6.1.4.1.9.9.41.2.0.1 which meansAndre Lorbach2008-03-041-2/+7
| | | | | CISCO-SYSLOG-MIB::clogMessageGenerated. This is a better choice as default OID for now. We will add our own MIB in a later step.
* - changed module interface to support querying obj interface (stage work)Rainer Gerhards2008-03-041-1/+1
| | | | - changed module interface version, as the interface change is quite large
* created an initial version of omlibdbi (does not yet work)Rainer Gerhards2008-02-141-3/+0
|
* applied patch from Michael Biebl that fixed my doc change from yesterdayRainer Gerhards2008-02-121-1/+1
| | | | which was somewhat incomplete
* done a bit more cleanup on the "rsyslog way of doing things"Rainer Gerhards2008-02-121-17/+7
|
* Some major changes in the code. The SNMP Session is now stored in theAndre Lorbach2008-02-111-51/+96
| | | | | | | instance data. So this means we open and close the session only once per session. If sending fails, we reinit the snmp session, so suspend and resume is now fully and correctly supported. May need some more testing against tcp based snmp receivers.
* a bit more rsyslog-likeRainer Gerhards2008-02-111-11/+4
|
* Fixed minor bug finalize_it, pdu only needs to be cleaned if snmp_sendAndre Lorbach2008-02-111-0/+3
| | | | failed. Also added documentation to the omsnmp module.
* done some more work on omsnmp to bring it fully in line with recent rsyslogRainer Gerhards2008-02-111-34/+28
| | | | developments
* fixed typoRainer Gerhards2008-02-111-1/+1
|
* adapted omsnmp to the rsyslog way of handling "exceptions"Rainer Gerhards2008-02-111-26/+13
|
* replaced sprintf with more secure snprintf callsAndre Lorbach2008-02-111-13/+2
|
* some cosmetic cleanupRainer Gerhards2008-02-111-23/+12
|
* Added debug function logerrorVar, which can have variable number ofAndre Lorbach2008-02-111-6/+6
| | | | | parameters. Replaced debug prints in omsnmp with logerrorVar where needed.
* Added missing variable checks in modExit and CODESTARTmodExitAndre Lorbach2008-02-111-0/+22
|
* did some warning cleanup on snmp output moduleRainer Gerhards2008-02-111-5/+5
|
* Did some code cleanup. Removed unused functions and variables.Andre Lorbach2008-02-111-40/+9
|
* Added support for SNMPv2, which is also default. Removed some debug codeAndre Lorbach2008-02-082-77/+100
| | | | | | and compiler warnings. Added support to define the transport type where udp is the default. This also enables ipv6 support if you have compiled net-snmp with it.
* Initially implemented snmp into this output module. The code contains a lotAndre Lorbach2008-02-012-15/+437
| | | | | | | | | | | of debug informations and additional stuff which is commented out. I will do some cleanup very soon. What is implemented yet: - SNMPv1 is supported (SNMPv2 will follow) - SNMP Target, Port, Community, EnterpriseOID, TrapType and SpecificType can be configured. Sample will follow soon. A SyslogMessageOID can be configured as well, this OID will be used for a variable which will then contain the original syslogmessage.
* provided sample for integer config variableRainer Gerhards2008-01-281-0/+6
|
* add Michael Biebl's autoconf patch for netsnmp - thks!Rainer Gerhards2008-01-281-1/+1
|
* created a work-around for plugin interface issueRainer Gerhards2008-01-251-8/+8
|
* Module OMSNMP intially added, not completed yet.Andre Lorbach2008-01-223-0/+188