summaryrefslogtreecommitdiffstats
path: root/plugins/omsnmp
Commit message (Collapse)AuthorAgeFilesLines
* omsnmp: support for new config system added & some refactoringRainer Gerhards2012-02-081-100/+145
|
* omsnmp: fixing compile problemRainer Gerhards2012-02-011-3/+2
|
* Merge branch 'v6-stable-noscoping' into masterRainer Gerhards2012-01-191-11/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/immark/immark.c plugins/imptcp/imptcp.c plugins/imrelp/imrelp.c plugins/imtcp/imtcp.c plugins/imtemplate/imtemplate.c plugins/imudp/imudp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c plugins/omtemplate/omtemplate.c runtime/glbl.c runtime/parser.c tools/omfile.c tools/syslogd.c
| * undoing v6.1 config scoping interface, part II (now finished)Rainer Gerhards2012-01-191-11/+11
| | | | | | | | | | | | This concludes the removal of the new scoping interface, at least as far as pre v6-plugins are affected. Full code cleanup will happen in the v6.3 branch.
| * Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-01-142-35/+28
| |\ | | | | | | | | | | | | Conflicts: plugins/imtcp/imtcp.c
* | \ Merge branch 'v5-stable' into masterRainer Gerhards2012-01-182-35/+28
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.h configure.ac doc/manual.html plugins/immark/immark.c plugins/impstats/impstats.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c runtime/cfsysline.c runtime/cfsysline.h runtime/conf.c runtime/ctok.c runtime/ctok.h runtime/ctok_token.c runtime/ctok_token.h runtime/dnscache.h runtime/expr.c runtime/expr.h runtime/rule.c runtime/rule.h runtime/ruleset.h runtime/sysvar.c runtime/vm.h runtime/vmop.c runtime/vmop.h runtime/vmprg.c runtime/vmprg.h runtime/vmstk.c runtime/vmstk.h tools/omusrmsg.c
| * | Merge branch 'v4-stable' into v5-stableRainer Gerhards2012-01-142-35/+28
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imfile/imfile.c plugins/omtesting/omtesting.c tcpsrv.c threads.c
| | * | more files moved to ASL 2.0Rainer Gerhards2012-01-122-35/+28
| | | |
* | | | milestone: added module config namesRainer Gerhards2011-07-201-0/+1
| | | |
* | | | renaming conf.* wasn't a good idea -- undoingRainer Gerhards2011-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | too many dependencies, things get cluttered (and merging probably gets problematic). Now new config will be "conf2".
* | | | renamed conf.c to legacyconf.c to make room for new config systemRainer Gerhards2011-04-191-1/+1
| |_|/ |/| |
* | | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * | added work-around for bug in gtls, which causes fd leak when using TLSBojan Smojver2011-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The capability has been added for module to specify that they do not like being unloaded. related bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=222 Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | fixed regression from last commitRainer Gerhards2010-07-271-0/+1
| | | | | | | | | | | | config variables were not properly initialized
* | | milestone commit: output plugin interface changes (may NOT run)Rainer Gerhards2010-07-271-88/+90
|/ / | | | | | | | | | | | | The output interface has been changed, but we do not yet utilize the new interface. Also, it looks like a regression was introduced. But before hunting it down, I'd like to make a commit (what also easys the regresion hunt).
* / enhanced test environment (including testbench)Rainer Gerhards2009-10-221-1/+1
|/ | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* re-enabled pipe, tty and console in omfileRainer Gerhards2009-06-121-1/+1
| | | | | | | ... by moving code to stream.c. Thanks to the new design, new cases are not really needed, resulting in cleaner code. I also did a cleanup of header file usage as a side-activity.
* make all cflags and libs variables uppercaseMichael Biebl2009-02-241-2/+2
| | | | | | pkg-config uses uppercase for its _CFLAGS and _LIBS variable names. So we follow suit and convert all _cflags and _libs variables to uppercase for more consistency.
* some more changes to cater for new LogError() interfaceRainer Gerhards2008-07-011-6/+6
|
* Remove .cvsignore files, add .gitignore.Michael Biebl2008-06-111-6/+0
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* 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.