Welcome to Pandora FMS Community!

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

  • manu

    Member
    April 7, 2009 at 16:08
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    So, according to the Linux command line, the server is running (it still saying
    #
    # All threads loaded and running )

    Right?

  • hannylicious

    Member
    April 7, 2009 at 16:10
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Well, We’re behind a firewall here and unfortunately the last gent’s who were here and set this all up(about 3 years ago) left no documentation on anything. We’re currently working to try and figure out exactly what we’re dealing with.

    So it’s my understanding that outside connections aren’t something that can be accomplished (but to be honest, I’m not sure…) Is there anyway I would be able to check and see?

  • hannylicious

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

    So, according to the Linux command line, the server is running (it still saying
    #
    # All threads loaded and running )

    Right?

    That’s correct.
    It shows like this:
    root@ubuntu2:~# pandora_server /etc/pandora/pandora_server.conf

    Pandora FMS Data Server 3.0-dev Build PS090305 Copyright (c) 2004-2009 ArticaST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at http://www.pandorafms.org

  • Server basepath is /etc/pandora/pandora_server.conf
  • Server logfile at /var/log/pandora/pandora_server.log
  • Server errorlogfile at /var/log/pandora/pandora_server.error
  • Server incoming directory at /var/spool/pandora/data_in
  • Server keepalive 45
  • Server threshold 5
  • You are running Pandora FMS Data Server.
  • This server is running in MASTER mode.
  • Pandora FMS Server [ubuntu2_Data] is running and operative
  • Starting up Data Consumer Thread # 0
  • Starting up Data Consumer Thread # 1
  • All threads loaded and running
  • root@ubuntu2:~#

    It remains at root@ubuntu2 without ever giving error when it goes down

  • manu

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

    This is really strange,

    I would do the installation from the SVN again:
    svn co https://pandora.svn.sourceforge.net/svnroot/pandora/trunk/pandora_server pandora_server

    cp /etc/pandora/pandora_server.conf /tmp/
    cd pandora_server
    ./pandora_server_installer –install
    (Pay attention to see if you have dependencies problems)
    cp /tmp/pandora_server.conf /etc/pandora/

    Just to confirm,the webconsole you’re using is from the SVN as well as the servers, right?

  • hannylicious

    Member
    April 7, 2009 at 16:18
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yes, you’re correct.

    I’ll give your instructions a go and let you know what comes of it.
    Thank you for your assistance!

  • manu

    Member
    April 7, 2009 at 16:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Cool, I’m going to bed.
    I will see what you got, tomorrow morning.

    Good luck!

  • hannylicious

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

    Manu,

    I decided to just do a fresh install. I reinstalled both the server & console from SVN, deleted & rebuilt the db, and this time was able to get the data server up and going, and it ran all night without going down!

    Thanks for all of your help with the issue. I’m not sure where I flubbed something up during the install, but apparently I found a way to.

    Is there a way to make each service start at startup of the server? Currently it seems configured that each must be manually started…

    Again,
    I REALLY appreciate all the time and help you’ve provided. Thanks a ton!

  • manu

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

    Yes, you just need to create the links (assuming you are in runlevel 2, you can find out in which runlevel you are just running: runlevel)

    ln -s /etc/init.d/pandora_server /etc/rc2.d/S90pandora_server
    ln -s /etc/init.d/pandora_recon /etc/rc2.d/S90pandora_recon
    ln -s /etc/init.d/pandora_network /etc/rc2.d/S90pandora_network
    ln -s /etc/init.d/pandora_snmpconsole /etc/rc2.d/S90pandora_snmpconsole
    ln -s /etc/init.d/pandora_plugin /etc/rc2.d/S90pandora_plugin
    ln -s /etc/init.d/pandora_prediction /etc/rc2.d/S90pandora_prediction
    ln -s /etc/init.d/pandora_wmi /etc/rc2.d/S90pandora_wmi

  • manu

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

    Next time use:
    pandora_server_installer –install

    It will create all for you, I guess you just did:
    perl Makefile.PL
    make
    make install

    Which is correct, but pandora_server_installer will create everything for you (all the directories, create the links I wrote above etc etc)

    Anyways, congratulations! 🙂

  • hannylicious

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

    Thanks Manu, you’re awesome.

    😀

    Now onto the agent side of things (which hopefully I won’t goof on! ha!)

  • manu

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

    Haha, good luck! 🙂

    Did you finally start tentacle?

  • hannylicious

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

    Yup – I believe it’s all good to go.
    I installed tentacle server on the linux server…

    all that is left to do would be configure the agent on my windows machine correct?

  • manu

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

    Yeah, but you just need to install it and set the server IP in the installation wizard, that’s all 🙂

  • hannylicious

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

    Okay, cool.

    That’s what I did, but it’s not working apparently – so – off to troubleshooting land I go!

    I have the computers setup right next to each other (my win box & linux server) so I’m able to just switch between the two by turning my chair a little and staring at another screen 🙂

    Do I have to manually add the agent in pandora FMS, or will it recognize that an agent is sending it information and automatically add it in the console?

  • manu

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

    Seems a tentacle problem, is the server running?
    /etc/init.d/tentacle_serverd start

    Open the windows CMD and run:

    tentacle_client -a PANDORASERVERIP (the one you should have under program files/pandora_agent/pandora_agent.conf) FILE_TO_SEND (anyfile will do the trick, this is just a test)

    What do you get? If you get nothing that means the file was sent, otherwise it wasn’t.

    The webconsole will show you the agent, you don’t need to create it manually (as long as our friend the data server is running)

  • hannylicious

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

    Apparently I must have messed up the tentacle server install in some fashion…
    I installed following the directions listed here:
    http://openideas.info/wiki/index.php?title=Tentacle:UserGuide

    And after which if I do /etc/init.d/tentacle_serverd start (or /etc/init.d/tentacle_server start)
    it says “No such file or directory”…

    I’m sure it’s something small i’ve goofed up on…

  • hannylicious

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

    Ah-ha! – Found this nugget, followed it – and now tentacle_server is up and operational.

    Once the server is installed, the script tentacle_serverd, located at /usr/share/pandora/util can be used to start it automatically every time the sistem boots up.

    Before copying the script is a good idea to edit it, and check that the values of the variables PANDORA_SERVER_PATH, TENTACLE_DAEMON, TENTACLE_PATH, TENTACLE_USER, TENTACLE_ADDR and TENTACLE_PORT, located at the begining of the script, are correct.

    Extra parameters can be added for advanced configurations, to do so, use the Tentacle server variable TENTACLE_EXT_OPTS.

    To install the script run:

    cp /usr/share/pandora/util/tentacle_serverd /etc/init.d/
    ln -s /etc/init.d/tentacle_serverd /etc/rc2.d/S90tentacle_serverd

    It’s now up and operational (and if I’d have just known more about linux, this would’ve been an EASY setup!)

    I see my winbox and things are lookin good.

    Thanks a ton for all your help – I’ll be reading up on how to set this up for each my servers and send alerts and things… Thanks again for ALL your help!

  • manu

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

    I’m glad you figured it out! 🙂

    Now start doing some remote monitoring (ping, checking http port…)
    For those checks you don’t need to install agents, just create it in the webconsole and add the modules.
    It’s all in the documentation

    Good luck!

  • Page 2 of 2