Welcome to Pandora FMS Community!

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

  • basic startup guide?

    Posted by MACscr on April 8, 2009 at 03:21

    I have PandoraFMS 2.1 installed and working for the most part and it looks great, yet i dont even see in the documentation on how to setup a server to be monitored.

    Lets say i have server A that is the Pandora server. How do i setup server B to be monitored for basics like ICMP, check that services such as SSH, Web Server, SMTP, etc, are alive and responsive?

    I have looked through the docs a bit, but i would think there would be a basic quick start guide of some sort.

    manu replied 15 years, 10 months ago 2 Members · 9 Replies
  • 9 Replies
  • manu

    Member
    April 8, 2009 at 03:25
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yep, you’re right.
    We are working on those documents.
    To monitor a server for SSH, Web etc…

    Go to the agent (make sure you wrote the IP)
    Manage Modules -> Create a network module -> Select Host Alive (that’s a ping) (click get data)

    And there you have check HTTP, check SMTP…

    http://openideas.info/wiki/index.php?title=Pandora_2.0:Documentation_en:Basic_Setup

  • MACscr

    Member
    April 8, 2009 at 03:44
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hmm, ok, so i followed those steps, but when i click on Update for the Host Alive module assignment, it gives the following error: Not available in edition mode. What does that mean?

    EDIT: my fault, i should have searched first. http://openideas.info/vanilla/comments.php?DiscussionID=447&page=1#Item_0

    Now to wait 5 mins to see if it worked. Is there not a way to have that “task” or “check” run immediately?

  • manu

    Member
    April 8, 2009 at 03:46
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It means you cannot change the Module Type, (it must be a PROC type), are you editing an existing module?.
    The “Update” button only appear when you’re editing an existing module, otherwise, if it is new, it must say: “create”

  • MACscr

    Member
    April 8, 2009 at 03:54
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hmm, well, Host Alive doesnt seem to be working. Should be checking every 300 seconds or 120 seconds (not sure which rule its using), yet it says its never made contact. I do not have any type of agent or pandora scripts running on that server im trying to monitor, but that shouldnt be needed for basic icmp checks, correct?

  • manu

    Member
    April 8, 2009 at 04:01
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    You are correct you don’t need any.

    Is the network server running?
    Did you assign a network server to that agent? (Manage Agents->your agent, check if it has the network server assigned)
    Did you write the IP of the agent?

  • MACscr

    Member
    April 8, 2009 at 04:09
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yes, it does have a network server assigned (basically the hostname of the Pandora server, plus net, like hostname_Net). Is that correct? As far as IP’s, i have both the local and public ip’s listed for the server im trying to monitor (each server has at least two nics).

  • manu

    Member
    April 8, 2009 at 04:17
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    That’s correct.

    Edit the module and make sure you have the IP there as well.

    Try:
    sudo /etc/init.d/pandora_network stop && sudo sleep 2 && sudo /etc/init.d/pandora_network start

  • MACscr

    Member
    April 8, 2009 at 13:32
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    btw, that appeared to work, so thanks! Its not normal though to have to restart Pandora just because a new agent was added is it?

  • manu

    Member
    April 8, 2009 at 13:53
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    No, normally you don’t have to, no way.
    Maybe the server got stuck, who knows..