Camm no text under syslogs message

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
toxi
Posts: 8
Joined: Tue Nov 06, 2012 4:50 am
Location: Germany

Camm no text under syslogs message

Post by toxi »

Hello and first thanks for the great plugin

I use kiwi syslog for device syslogs and snare for WinEvents modif in syslog

both works very well and it will be all data written to the table plugin_camm_syslog

unfortunately are under (syslogs / messages) only device syslogs displayed which usually consist of a few lines

but the snare entries are not or only partially displayed. I think the problem lies in the definition of the column size for the message field (to short).

All data are fully integrated into database

but unfortunately all data they are longer then approximately 300 characters are not displayed


please help me

sorry my english is very bad
toxi
Posts: 8
Joined: Tue Nov 06, 2012 4:50 am
Location: Germany

Re: Camm no text under syslogs message

Post by toxi »

problem solved
my colleague from work has given me a solution: D

the internal json encoder from php has problems with the encode and display of the special characters we use in Germany (ä, ö, ü, etc.)

but json encoder brought with camm works fine :D and has no Problems with them
So, my colleague uncommented any lines in the file "plugin/camm/lib/camm_functions.php" which refer to the php json encoder.
now we only the the internal json encoder from camm

/ / if (function_exists () 'json_encode') {
/ / Camm_debug ("found json_encode");
/ / $ Data = json_encode ($ arr) / / encode the data in json format
/ /
/ /} Else {

^ ^ Hope i can help others with same problem
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests