1
answer

im_odbc ConnectionString question

Hello,

I am attempting to use the im_odbc module to gather table data from mssql into nagios log server.

conf snippet

<Input in>

Module im_odbc
ConnectionString DSN=mysql://USERNAME:PASSWORD@IPADDRESS:PORT;database=DATABASENAME;
SQL Select RecordNumber as id, DateOccured as EventTime, data as Message from logtable WHERE RecordNumber > ?
SavePos TRUE
</Input>

 

AskedMay 11, 2015 - 9:26pm
1
answer

IMDBI Setting configuration at load time and at use time

Hello

I was wondering if it is possible to have multiple instances of im_dbi at one time. It is important for access to my global variables. If it is possibe, then  my question is: does NXLog make nx_im_dbi_conf_t for each module instance? Where I should store variables for module if I want to have per load visibility?

AskedMay 11, 2015 - 9:58am
1
answer

UNC Paths in im_file

Not sure it can be achieved but wanted to check as to what was the best way to use UNC names in the File path. 

I want to stage files locally from a remote location, digest and then delete the files.

I have tried "//FileServer/directory/file as well as "\\FileServer/directory/file" without success.

Is it possible to use a variation of im_exec such as 

<Input mapdrive>

  Module  im_file

command  net 

arg           use

AskedMay 5, 2015 - 11:00pm
1
answer

nxlog v2.9.1357 windows always says keyword else invalid.

2015-04-29 20:32:46 INFO nxlog-ce-2.9.1347 started
2015-04-29 21:08:14 WARNING stopping nxlog service
2015-04-29 21:08:14 WARNING nxlog-ce received a termination request signal, exiting...
2015-04-29 21:08:15 ERROR invalid keyword: else at C:\Program Files (x86)\nxlog\conf\nxlog.conf:60
2015-04-29 21:08:15 ERROR module 'in' has configuration errors, not adding to route '2' at C:\Program Files (x86)\nxlog\conf\nxlog.conf:89

AskedApril 29, 2015 - 3:13pm

Pages