Pages: [1]   Go Down
Author Topic: Configure Agent to store data without sending it  (Read 890 times)
0 Members and 2 Guests are viewing this topic.
schwarzektatze88
Newbie
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« on: August 11, 2011, 06:17:49 PM »

If i try to access "C:\Programms\pandora\temp\" 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?
Logged

tpalacios
Administrator
Sr. Member
*****

Karma: 8
Offline Offline

Posts: 190


The Game


View Profile
« Reply #1 on: August 11, 2011, 07:42:30 PM »

Just edit your pandora_agent.conf and uncomment this line:

Code:
# 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.
Logged

schwarzektatze88
Newbie
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« Reply #2 on: August 12, 2011, 01:59:13 PM »

TY helped me a lot,

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

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

ty ty!
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST