Pandora FMS Community

Network module doesn't work

deadeye · 23 nov 2008, 8:02 · 14 mensajes · 55 visitas

  1. Inicio del debate

    The network module only get data one time after its creation, while other data modules autorefresh every five minutes. I check the log file and find the lines as below Perl exited with active threads: 4 running and unjoined 0 finished and unjoined 0 running and detached Please advise

  2. Just a comment, I have followed the document, assigned a network server to the agent, and create a network module to check ssh port of a remote server.

  3. Is the network server running? Do you get the same problem with others network modules such as Host Alive?

  4. Yes, the server is running. Host Alive works fine. I found lots of messages like this in the pandora_server.error DBD::mysql::st execute failed: MySQL server has gone away at /usr/local/bin/pandora_network line 549.

  5. So, the SSH module has its timestamp in red? And the last contact gets higher and higher?

  6. Yes, the last contact gets higher and higher, but the timestamp is not in red, it's negative.

  7. Negative??? That's odd! Ok, delete that module, and create it again. Also, stop the network server and run it with: /usr/local/bin/pandora_network /etc/pandora/pandora_server.conf Let me know how that works

  8. This is the timestamp in monitor detail detail page

    Agent Type Module Name Interval Status Timestamp LOCALAGENT agent_keepalive 300 [Monitor up] -50,225 seconds LOCALAGENT Check HTTP 1 300 [Monitor up] -32,238 seconds LOCALAGENT Check HTTP 2 300 [Monitor up] -12,355 seconds LOCALAGENT Check HTTP 3 300 [Monitor up] -12,340 seconds

  9. This is the last contact in agent detail page

    X Type Module name Description Status Interval Last contact agent_keepalive Agent Keepalive monitor [All Monitors OK] -- 44 seconds Check HTTP 1 [All Monitors OK] 300 5 hours Check HTTP 2 [All Monitors OK] 300 11 hours Check HTTP 2 [All Monitors OK] 300 11 hours

  10. There's nothing response after the line "Starting up Network Producer Thread ..."

    #/usr/bin/pandora_network /etc/pandora/pandora_server.conf Pandora FMS Network Server 2.1-dev Build PS081109 Copyright (c) 2004-2008 ArticaST This program is OpenSource, licensed under the terms of GPL License version 2. You can download latest versions and documentation at (Link not available anymore) 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 Network Server.
    • This server is running in MASTER mode.
    • Pandora FMS Server [endor_Net] is running and operative
    • Starting up network threads
    • Starting up Network Consumer Thread # 0
    • Starting up Network Consumer Thread # 1
    • Starting up Network Consumer Thread # 2
    • Starting up Network Consumer Thread # 3
    • Starting up Network Consumer Thread # 4
    • All threads loaded and running
    • Starting up Network Producer Thread ...
  11. Which version are you using?

  12. Pandora FMS v2.1-dev - Build PC081016

  13. 2.1 version is DEVELOPMENT version. Should work, BUT could have problems and interim database upgrades. I don't recomend to use if not working on code. Server and console are using the same machine ?, if not, have their time syncronized ?

  14. manu and nil, thanks for your kindly help I have got the issue resolved. It's caused by the timezone setup UnixDate gets a wrong timestamp

Entra en tu cuenta para publicar.