Navigation

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

    NRPE, Icinga2, installing normal BSD pkgs

    General pfSense Questions
    7
    10
    3093
    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.
    • A
      avp last edited by

      I used to use the NRPE plugin but it hasn't been updated for 2.3.  No problem.  I figure I will start using Icinga2 anyway.  No Icinga2 pkg.  No problem, I can install the normal bsd Icinga pkg, right?

      Well, I can't quite figure out how to do this.

      I tried:

      pkg install icinga2

      that didn't work.

      I tried:

      cd /usr/ports/net-mgmt/icinga2/ && make install clean

      but /usr/ports doesn't exist.

      I'm guessing there should be a way to do this?

      Thanks…

      1 Reply Last reply Reply Quote 0
      • H
        heper last edited by

        https://forum.pfsense.org/index.php?topic=104738.0

        1 Reply Last reply Reply Quote 0
        • C
          cezarq last edited by

          I need the NRPE package too…
          Can I install http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/nrpe-2.15_6.txz ?

          1 Reply Last reply Reply Quote 0
          • A
            avp last edited by

            heper's answer is exactly what I was looking for; I just haven't actually tried it yet.  Fighting with a few other pfs issues before I try Icinga…

            But based on my (somewhat limited) understanding, you should be able to install the pkg you're suggesting and it should work.

            Please report back your findings.

            1 Reply Last reply Reply Quote 0
            • B
              bradrel last edited by

              Looking for NRPE for 2.3 as well.  Please update us with any successes/failures on the manual installation.  Thanks.

              1 Reply Last reply Reply Quote 0
              • J
                jjvega last edited by

                Looking for NRPE for 2.3. Any help would be appreciated. Thanks!

                1 Reply Last reply Reply Quote 0
                • B
                  bwdutton last edited by

                  As noted above, download the nrpe package from:
                  http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/
                  There are a few dependencies so you'll need to install libgd and nagios-plugins as well.

                  Once installed I put:
                  nrpe2_enable="YES"
                  in /etc/rc.conf as directed.

                  Then following the help on here:
                  https://doc.pfsense.org/index.php/Executing_commands_at_boot_time
                  I added the following line:
                  <shellcmd>/usr/local/etc/rc.d/nrpe2 start</shellcmd>
                  just above the tag in /cf/conf/config.xml

                  That did it for me, nrpe starts at boot.

                  1 Reply Last reply Reply Quote 0
                  • C
                    cezarq last edited by

                    @bwdutton:

                    As noted above, download the nrpe package from:
                    http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/
                    There are a few dependencies so you'll need to install libgd and nagios-plugins as well.

                    Once installed I put:
                    nrpe2_enable="YES"
                    in /etc/rc.conf as directed.

                    Then following the help on here:
                    https://doc.pfsense.org/index.php/Executing_commands_at_boot_time
                    I added the following line:
                    <shellcmd>/usr/local/etc/rc.d/nrpe2 start</shellcmd>
                    just above the tag in /cf/conf/config.xml

                    That did it for me, nrpe starts at boot.

                    bwdutton, I will try tonight and post the results.. Tks!

                    1 Reply Last reply Reply Quote 0
                    • M
                      McGlenn last edited by

                      The solution described by bwdutton worked fine for me.

                      One remark: I had to install the nrpe-ssl package instead of the nrpe-2 package for our setup.

                      In case you get the following message when trying to start NRPE

                      ELF interpreter /libexec/ld-elf.so.1 not found, error 8

                      Install the 64-bit packages from http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/

                      1 Reply Last reply Reply Quote 0
                      • C
                        cezarq last edited by

                        @bwdutton:

                        As noted above, download the nrpe package from:
                        http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/
                        There are a few dependencies so you'll need to install libgd and nagios-plugins as well.

                        Is there a way to install all dependencies with one command or do I have install one by one?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post