Welcome to Pandora FMS Community!

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

Welcome to Pandora FMS Community Forums Community support Problems related with local running agents

  • Problems related with local running agents

    Posted by decece on July 15, 2008 at 03:26

    Hi all,

    I recently installed pandora on a CENTOS machine. My idea was to run a local agent, but it seems I can’t get it running properly. On the tactical view it can be read: “Monitor not init: 1”.

    As far as I know, the agent is running ok, and I edited the config file to make it copy the gathered data to the local file system (as oposed to using tentacle or SSH).

    Any ideas of where to look?

    Thanks in advance!

    raul replied 16 years, 7 months ago 2 Members · 5 Replies
  • 5 Replies
  • raul

    Member
    July 15, 2008 at 11:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Which version are you using?
    Do you receive data from the agent?
    Have you registered the agent in the Console?
    Do you see any info the the server logs?

    Raúl

  • decece

    Member
    July 15, 2008 at 11:48
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I’m using Pandora 1.3.1.

    I added the agent in the Pandora Console, and when I click on ‘Agent details’, it is listed as “agent down”. I’m pretty sure the IP address is set right, so is the Agent Name (taken from the machine name using uname -m).

    Where can I find the server logs?

  • raul

    Member
    July 16, 2008 at 04:12
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Server logs are normally at /var/log/pandora, depending on your distro…

    Raúl

  • decece

    Member
    July 18, 2008 at 03:32
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok, I checked the /var/log/pandora/pandora_agent.log file, the last entry shows as follows:

    2008/07/15 18:47:21 – [SETUP] – Server IP Address is 213.*.*.* (correct address)
    2008/07/15 18:47:21 – [SETUP] – Server Path is /var/spool/pandora/data_in
    2008/07/15 18:47:21 – [SETUP] – Temporal Path is /var/spool/pandora/data_out
    2008/07/15 18:47:21 – [SETUP] – Pandora Logfile is /var/log/pandora/pandora_agent.log
    2008/07/15 18:47:21 – [SETUP] – Interval is 300 seconds
    2008/07/15 18:47:21 – [SETUP] – Debug mode is 0
    2008/07/15 18:47:21 – [SETUP] – Checksum is 0
    2008/07/15 18:47:21 – [SETUP] – Agent name is *** (machine name using uname -m)
    2008/07/15 18:47:21 – [SETUP] – Transfer Mode is local

    Btw, on /var/spool/pandora/data_in I have several .data and .checksum files starting with the agent name, so it’s suposed to be working, as far as I know, but it doesn’t appear as an online agent to Pandora server. Am I missing something?

  • raul

    Member
    July 18, 2008 at 04:10
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Well, if there are the .data files, those are not processed by the server, because the server deletes them when processes…