Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • log size on server

    Posted by daggett on December 5, 2006 at 18:13

    Hi all,
    I’m running Pandora Server and agents since a week now and when consulting the log file for the server I saw that the pandora_server/log/pandora_server.log file is 4.3MB big already!!

    So maybe, it can be implemented a mechanism to clear the log file from old information (a number of days in the .conf file would be a great thing).

    and even if I disbled debug there are many (2/3 of it) DEBUG: lines…
    So There may be a problem here.

    I’ll mark it as bug.

    Pandora server running on Linux Mandriva 2007.
    bye

    daggett replied 18 years, 2 months ago 3 Members · 4 Replies
  • 4 Replies
  • raul

    Member
    December 5, 2006 at 19:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    We have answered you at the bug list 😀

    I think the problem is the verbosity parameter in the conf file, try to set it to 0.

    This is not really a bug, but a config issue.

    Raul

  • daggett

    Member
    December 5, 2006 at 20:10
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok, thanks, I didn’t see this parameter.
    But maybe it can be integrated in the syslog so we can have log rotation and gziping?

    I just grep -lirc “syslog” /opt/pandora/ and didn’t find anything relevant about integration in syslog (just to be sure I don’t ask dumb question anymore 🙂

    thanks bye for now.
    Denis

  • Sancho

    Administrator
    December 5, 2006 at 21:03
    2309 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok, thanks, I didn’t see this parameter.
    But maybe it can be integrated in the syslog so we can have log rotation and gziping?

    I just grep -lirc “syslog” /opt/pandora/ and didn’t find anything relevant about integration in syslog (just to be sure I don’t ask dumb question anymore 🙂

    thanks bye for now.
    Denis

    Pandora could generate alerts to syslog, but by default it uses its own logfile. If you set to verbosity 0 almost nothing will be generated on this log.

  • daggett

    Member
    December 6, 2006 at 18:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks, I tried 1, it’s ok now, nothing is generated but errors.

    But I still think that it could be great to control the growth of the log files.

    bye