Configure Agent to store data without sending it

  • Configure Agent to store data without sending it

    Posted by schwarzektatze88 on August 11, 2011 at 21:17

    If i try to access “C:Programmspandoratemp” on Windows, or “tmp” for Linux Systems,
    where ususally the “.data” Files are stored, before they will be sendet to the Monitoring Server,
    they are allways gone before i can copy them 🙁
    (I mean those paths which are defined with the temporal settings in the pandora_agent.conf)

    How to configure the agent, just to make those files and not try to send them?

    schwarzektatze88 replied 13 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • tpalacios

    Member
    August 11, 2011 at 22:42
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Just edit your pandora_agent.conf and uncomment this line:

    # debug 1
    
    to...
    
    debug 1

    With the debug mode enabled, once you restart your agent, it will generate the XML data file without sending it to the server. 😉

    Regards.

  • schwarzektatze88

    Member
    August 12, 2011 at 16:59
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    TY helped me a lot,

    i already thougt about just comment out the IP Information and all the stuff, but this is way easier 😀

    just left the small problem: that after debugging, the agent stops himself, so i have to use cron to start it periodicly 🙁

    ty ty!