Welcome to Pandora FMS Community!

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

  • Too many “Monitors unknown”

    Posted by fonta on November 12, 2012 at 20:24

    Hi, i use pandora v4.0.2 and i have 1217 Monitor checks, since 1 week ago i had a lot of “monitor unknown”.

    On different ms windows operating systems with the pandora agent installed i had this type of error.
    in the same server some of the check (in this case hdd space check) did not respond tto the agent query…. on the pandora agent log there is nothing wrong.

    I attached 2 pic for let you better understand the problem…

    Can someone help me please?
    bye

    Sancho replied 11 years, 11 months ago 6 Members · 22 Replies
  • 22 Replies
  • Nacho1988

    Member
    November 14, 2012 at 12:50
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello;

    Could you attach the unknown modules configuration?

    Regards

  • fonta

    Member
    November 15, 2012 at 12:40
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    this is the agent configuration

    # Module Definition
    # Check online documentation and module library at http://pandorafms.org
    # =================

    # Spazio libero su disco C: (Total)
    module_begin
    module_name Spazio Disco C:
    module_type generic_data
    module_freedisk C:
    module_description Spazio libero su disco C:
    module_postprocess 0,000976563
    module_min_warning 4
    module_max_warning 6
    module_min_critical 0
    module_max_critical 4
    module_interval 24
    module_end

    # Spazio libero su disco D: (Total)
    module_begin
    module_name Spazio Disco D:
    module_type generic_data
    module_freedisk D:
    module_description Spazio libero su disco D:
    module_postprocess 0,000976563
    module_min_warning 5
    module_max_warning 10
    module_min_critical 0
    module_max_critical 5
    module_interval 24
    module_end

    # Check del servizio
    module_begin
    module_name Servizio Accodamento Messaggi
    module_type generic_proc
    module_service MSMQ
    module_description Servizio Accodamento Messaggi windows
    module_async yes
    module_end

    # Check del servizio
    module_begin
    module_name Servizio Amministrazione di IIS
    module_type generic_proc
    module_service IISADMIN
    module_description Servizio Amministrazione di IIS
    module_async yes
    module_end

    # Check del servizio
    module_begin
    module_name Servizio Spooler di stampa
    module_type generic_proc
    module_service spooler
    module_description Servizio Spooler di stampa
    module_async yes
    module_end

    # Check del servizio
    module_begin
    module_name Servizio SQL Server
    module_type generic_proc
    module_service MSSQLSERVER
    module_description Servizio SQL Server
    module_async yes
    module_end

    # Check del servizio
    module_begin
    module_name Servizio SQL Server Agent
    module_type generic_proc
    module_service SQLSERVERAGENT
    module_description Servizio SQL Server Agent
    module_async yes
    module_end

    # Check del servizio
    module_begin
    module_name Servizio Symantec Endpoint Protection
    module_type generic_proc
    module_service symantec antivirus
    module_description Servizio Symantec Endpoint Protection
    module_async yes
    module_end

    # Tempo di attività del sistema
    module_begin
    module_name Uptime
    module_type generic_data_string
    module_exec net statistics workstation | find /i “Statistiche dal ”
    #module_exec systeminfo | find /i “avvio sistema:”
    module_description Ultimo Avvio
    module_interval 1
    module_end

    # esegue l’inventario ogni 2 giorni
    module_begin
    module_name OcsInventory
    module_type generic_proc
    module_exec C:Programmipandora_agentOCSInventoryocsinventory.exe /server=http://srvhelpdesk.unicomm.intra/ocsinventory /nodebug /tag=”ARCA”
    module_timeout 120
    module_interval 576
    module_end

  • Nacho1988

    Member
    November 15, 2012 at 16:57
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello;

    Try executing freedisk on windows cli and tell  if it works.

    Could you attach the hour of the windows system and the hour on the pandora console setup?

    Try re-adding the modules on pandora_agent.conf using another module name and check if it works,if it doesn’t activate the parameter debug setting it like this:

    debug 1

    And attach the xml data generated on  ~/pandora_agent/temp

    Regards

  • fonta

    Member
    November 16, 2012 at 14:55
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    freedisk work fine..

    pandora GUI server time      11.11 AM
    ms windows server time      11.49 AM

    now i try to re-adding the module…

  • fonta

    Member
    November 21, 2012 at 13:23
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    nothing to do…. i try all your suggests but nothing work…
    The strange think is that all the server that make this problem are virtual machine in an hyper-v system.

    i try also to debug, i attach the result log file..

  • Nacho1988

    Member
    November 21, 2012 at 14:31
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello;

    Could you attach the xml data as well?

    Did you try to re-add the modules using other names?

    Regards

  • fonta

    Member
    November 21, 2012 at 15:14
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    what do you mean with re-add, i have to delete the old module on pandora server, rename the module name in windows agent and restart it?

    i attach log and temp files

  • Nacho1988

    Member
    November 21, 2012 at 15:45
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    The module is doing well,it would not be necessary.

    Could you attach a capture from the servers view? Administrator column>Manage servers

    Regards

  • fonta

    Member
    November 21, 2012 at 15:54
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    manage servers image…

  • alumbreras

    Member
    November 21, 2012 at 20:14
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi fonta

    i guess that you have too many lag on the server side.

    if you go to /var/spool/pandora/data_in  . In that directory all the agent put the xml data. and later the pandora_server process it.

    How many files you have in that directory? you can erase all the .data files in that directory. and check if your pandora_server can process it very quick. You can try to restart the pandora_server if don’t process the files.

    hope that it helps you

  • fonta

    Member
    November 21, 2012 at 21:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi alumbreras, thank you for reply!

    i check in that directory and i have only 3 subdirectories

    pandora402:/var/spool/pandora/data_in # ls
    collections  conf  md5

    🙁

  • fonta

    Member
    November 28, 2012 at 14:23
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Some other ideas?!?

  • itanditil

    Member
    December 7, 2012 at 13:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I’ve just have the same problem.

    I have solved the issue in this way.

    After a lot of performance testing i note that the in-messages spool was working properly. (in my server the “incoming messages” folder was at var/spool/pandora/data-in. You can configure and see where is placed your folder in the server configuration file etc/pandora/pandora_server.conf
    incomingdir

    So it is not a performance trouble.

    i saw that The modificaction attribute of the files was set by the source xmls servers and it was right, so i suspect it could be a time trouble at my pandora server. The pandora server was not on time. I Update the time and time zone on the server an now it is working properly.

    Hope you can solve your problem in this simple way.

    regards

    (to see your current time
    # date
    to change your time
    # date –set “2012-12-07 08:25”
    to change your zone
    # ln -sf /usr/share/zoneinfo/yourlocalzone localtime)

  • fonta

    Member
    December 7, 2012 at 13:48
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi itanditil, thank you for your reply!

    i’ ve check server time and i have a strange situations…

    in console time is correct, in the web interface time is 30 minute in late!

    how can i adjust it?

  • itanditil

    Member
    December 7, 2012 at 14:09
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    to change your time

    # date –set “2012-12-07 08:25”

    to change your zone

    # ln -sf /usr/share/zoneinfo/yourlocalzone localtime

  • fonta

    Member
    December 7, 2012 at 18:42
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    server time is correct, but the problem persists

    the strange think is that i add a new virtual server to that group exactly like the other servers, i install pandora agent and copy the same module from another server and this work fine!!

    as you can see in attach image the server (V-FN-CECSRVR32) last contact never go over 5 minute… it work fine while the other server (ex V-H-CECSRVR32) has passed the 5 minute period.

  • itanditil

    Member
    December 7, 2012 at 18:49
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    maybe other servers had the time wrong too? are the timezones ok?

  • fonta

    Member
    December 7, 2012 at 18:59
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    all the server clock are good… they point to an internal ntp server and it work fine.

  • itanditil

    Member
    December 7, 2012 at 19:32
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    i think the system that you show in the last stamp is ok!! could you show me the monitors that are failling?

    press the grey number on the main console. and order by time since last connection.

  • fonta

    Member
    December 7, 2012 at 20:03
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    i think it’s not ok, all the agents has the time period set at 5 minutes so i must never see last contact greater than 5 minute (or five minutes and some seconds)

    the monitors fails randomly! only in this group

Page 1 of 2