Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SOLUCIONADO: Nagios y PFSESNE

    Scheduled Pinned Locked Moved Español
    3 Posts 2 Posters 805 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      panxos
      last edited by

      Estimados pido vuestra ayuda en un problema medio tonto pero no doy con ellos, tengo un servidor nagios que uso para monitorear mis maquinas y las de algunos clientes, en este caso PFSESNE, el tema es que funciona bien el monitoreo NRPE, pero en una maquina me es imposible monitorearla ella tiene la siguiente version:

      2.4.2-RELEASE-p1 (amd64)
      built on Tue Dec 12 13:45:26 CST 2017
      FreeBSD 11.1-RELEASE-p6

      Desde la interfaz de NAGIOS me da el siguiente error: CHECK_NRPE: Error - Could not connect to 190.xx.zz.10. Check system logs on 190.xx.zz.10
      Al revisar el log en el pfsesne en cuestion me da el siguiente mensaje:

      Mar 13 18:28:32 nrpe 62577 Caught SIGTERM - shutting down…
      Mar 13 18:28:32 nrpe 62577 Cannot remove pidfile '/var/run/nrpe2.pid' - check your privileges.
      Mar 13 18:28:32 nrpe 62577 Daemon shutdown
      Mar 13 18:28:32 nrpe 97895 Starting up daemon
      Mar 13 18:28:32 nrpe 97895 Server listening on :: port 5666.
      Mar 13 18:28:32 nrpe 97895 Server listening on 0.0.0.0 port 5666.
      Mar 13 18:28:32 nrpe 97895 Warning: Daemon is configured to accept command arguments from clients!
      Mar 13 18:28:32 nrpe 97895 Listening for connections on port 0
      Mar 13 18:28:32 nrpe 97895 Allowing connections from: 190.xx.4.xx

      Alguien ha podido solucionar ese problema?

      1 Reply Last reply Reply Quote 0
      • gersonofstoneG
        gersonofstone
        last edited by

        Hola

        Para empezar te recomiendo icinga2 en vez de nagios, y el problema de ve ser que en apartado de configuración del nrpe no colocaste una IP válida.

        Papu!! :V

        1 Reply Last reply Reply Quote 0
        • P
          panxos
          last edited by

          Muchas Gracias por tu pronta respuesta, voy a darle una opcion a al fork que me indicas tu, aunque llevo mas de 10 años usando nagios y jamas he tenido mayores problemas

          Al final era un problema demasiado estupido pero como yo no podia configurar el equipo del cliente fallaba, el tecnico del otro extremo, habia colocado parte de la IP alrevez, muchas gracias por la ayuda. ;) un abrazo.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.