nrpe | installation instructions and information on the design | Continuous Deployment library

 by   NagiosEnterprises C Version: nrpe-4.1.0 License: GPL-2.0

kandi X-RAY | nrpe Summary

kandi X-RAY | nrpe Summary

nrpe is a C library typically used in Devops, Continuous Deployment, Docker applications. nrpe has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

For installation instructions and information on the design overview of the NRPE addon, please read the PDF documentation that is found in this directory: docs/NRPE.pdf. If you are upgrading from a previous version, you’ll want to check the [Changelog] CHANGELOG.md) and then run ./update-cfg.pl to add the new SSL parameters to your config file. TL;DR: You can jump straight to [Compiling] #compiling) and [Installing] #installing). You’ll want to read up on the [Security] SECURITY.md) document regarding NRPE, no doubt. And make sure to check out the [SSL Readme] README.SSL.md) as well, if you plan on using encryption methods to transmit nrpe data.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              nrpe has a low active ecosystem.
              It has 235 star(s) with 129 fork(s). There are 41 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 57 open issues and 143 have been closed. On average issues are closed in 130 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of nrpe is nrpe-4.1.0

            kandi-Quality Quality

              nrpe has no bugs reported.

            kandi-Security Security

              nrpe has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              nrpe is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              nrpe releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nrpe
            Get all kandi verified functions for this library.

            nrpe Key Features

            No Key Features are available at this moment for nrpe.

            nrpe Examples and Code Snippets

            No Code Snippets are available at this moment for nrpe.

            Community Discussions

            QUESTION

            Custom written Nagios plugin always returns incorrect value but works on command line
            Asked 2020-Jun-16 at 16:57

            I wrote a plugin that would check to see if two hosts are online at the same time and if so, return a critical. When I run this command locally at the command line the logic works correctly and the echo statements all match up depending on the state of the hosts checked (e.g. "CRITICAL - Both testbed controllers online" or "OK - $VM1 is the only testbed controller online." etc). The problem is that when I run these commands via ./check_nrpe -H -c "controller_check" (the same values also show up on the Nagios webpage) It always returns the same value no matter what the status of the hosts: "CRITICAL - Both testbed controllers currently offline" echoing the actual values of $VM1 and $VM2 shows that the initial if check is always being set to 0.

            The script works by creating binary values from a ping -c 1 -W 1 $HOSTNAME if check first and then using those values to create the actual alert/exit value. Here's the if statements creating binary values for host online states:

            ...

            ANSWER

            Answered 2020-Jun-16 at 16:57

            Turns out SELinux was preventing /usr/bin/ping from being executed by the NRPE daemon. Rather than attempt to write an SELinux policy to allow this I used the Nagios plugin check_ping and piped output to /dev/null. Final logic of the NRPE plugin looks like this:

            Source https://stackoverflow.com/questions/62409876

            QUESTION

            NRPE Python script output bug
            Asked 2020-May-29 at 20:00

            I have been tasked with making a custom python script (since i'm bad with Bash) to run on a remote NRPE client which recursively counts the number of files in the /tmp directory. This is my script:

            ...

            ANSWER

            Answered 2018-Aug-22 at 15:18

            systemd service file, maybe this var is set to true :)

            PrivateTmp= Takes a boolean argument. If true, sets up a new file system namespace for the executed processes and mounts private /tmp and /var/tmp directories inside it that is not shared by processes outside of the namespace.

            This is useful to secure access to temporary files of the process, but makes sharing between processes via /tmp or /var/tmp impossible. If this is enabled, all temporary files created by a service in these directories will be removed after the service is stopped. Defaults to false. It is possible to run two or more units within the same private /tmp and /var/tmp namespace by using the JoinsNamespaceOf= directive, see systemd.unit(5) for details.

            This setting is implied if DynamicUser= is set. For this setting the same restrictions regarding mount propagation and privileges apply as for ReadOnlyPaths= and related calls, see above. Enabling this setting has the side effect of adding Requires= and After= dependencies on all mount units necessary to access /tmp and /var/tmp.

            Moreover an implicitly After= ordering on systemd-tmpfiles-setup.service(8) is added. Note that the implementation of this setting might be impossible (for example if mount namespaces are not available), and the unit should be written in a way that does not solely rely on this setting for security.

            Source https://stackoverflow.com/questions/51963195

            QUESTION

            Nagios - unable to read output
            Asked 2020-May-19 at 06:27

            I make custom bash script to monitor ssh failed logins - which locally runs ok - on nagios server and remote hosts.

            ...

            ANSWER

            Answered 2020-May-19 at 06:27

            You have an error in your definition.
            Replace check_bruteforce_attack in nrpe.cfg with check_bruteforce_ssh and it will work ;-)

            Source https://stackoverflow.com/questions/61867917

            QUESTION

            Why systemctl doesn't return a value in an NRPE check?
            Asked 2020-Apr-23 at 08:38

            I have a problem with an NRPE check that I wrote.

            It's a simple shell script that run "systemctl is-active [service_name]" and return the value to our Thruk.

            When I run the script directly with the user nrpe, it works :

            ...

            ANSWER

            Answered 2020-Apr-23 at 07:17

            Okay, similar to cron jobs, it may be that NRPE (the server) runs with a different environment to your shell, and that distinct environment is somehow not running systemctl properly.

            An easy way to see this is to modify the:

            Source https://stackoverflow.com/questions/61358685

            QUESTION

            "ValueError too many values to unpack" when using str.split in a for loop
            Asked 2020-Jan-09 at 13:15

            I've gotten this error before where the cause was obvious, but I'm having trouble with this snippet below.

            ...

            ANSWER

            Answered 2020-Jan-09 at 13:15

            QUESTION

            Extract numeric values from awk return
            Asked 2019-Dec-10 at 10:41

            For supervision system, I need to return 2 values about latency to my supervisor server thru nrpe.

            Here the values that I'm working on (I put this in a file : test.txt) :

            ...

            ANSWER

            Answered 2019-Dec-10 at 10:14

            Use jq for parsing JSON, for example:

            Source https://stackoverflow.com/questions/59264302

            QUESTION

            Problem of running command from Rundeck (Linux)
            Asked 2019-Nov-27 at 12:40

            On a linux server I am running following command with any error and getting the result.

            ...

            ANSWER

            Answered 2019-Nov-27 at 12:40

            You can do that putting that on an inline-script ("Script" step) or call an external script with the command content ("Script file or URL" step).

            Another way is to use cat tool to print the file and capture the output using log filter (Click on the tiny Gear icon at the left of the step > Click on "Add Log Filter" > Select "Key/value data" and in pattern use with this regex: .*(-w .*%).*, put a name of the data - eg: diskdata - and click on "Log data" checkbox) and you get the output that you want, you can print that value using echo ${data.diskdata} in next step. Check.

            Source https://stackoverflow.com/questions/58341514

            QUESTION

            Nagios & NRPE plugins Connection refused
            Asked 2019-Oct-30 at 06:04

            I am facing on connection problem when I run NRPE checks from Nagios Server.. "Connection refused".

            Environment : - Nagios Server - Linux Centos 7 Client

            From Client side, seems working :

            ...

            ANSWER

            Answered 2019-Oct-13 at 18:24

            The log shows the following:

            Oct 13 14:06:55 client nrpe[4027]: Server listening on 127.0.0.1 port 5666.

            If the server is listening on the localhost IP address (127.0.0.1), it will only be able to accept connections on port 5666 which originate on the same server. If you try to connect from a different server, the connection will fail.

            Source https://stackoverflow.com/questions/58364401

            QUESTION

            Chef error in Cookbook. Missing cookbook with knife
            Asked 2019-Oct-14 at 17:25

            I'm new to Chef world, currently trying to write a cookbook with a single recipe to install a Nagios NRPE on windows server. where I included a bash script in the recipe to execute a set of commands.

            However when I run kitchen converge, I constantly receive the below error. I tried lot of variations in "recipie", going through stack-overflow and other online forums which didn't work

            please help.

            Please let me know if any additional details required

            Recipe

            ...

            ANSWER

            Answered 2019-Oct-14 at 17:25

            make sure that you state your cookbook dependencies within your cookbook metadata.rb, such as

            Source https://stackoverflow.com/questions/58377394

            QUESTION

            Understanding why nrpe and mythtv services are running on localhost
            Asked 2019-Oct-09 at 21:18

            Out of curiosity I'll run nmap localhost periodically to see which ports are open on my host. A moment ago I ran this command and got the following output:

            ...

            ANSWER

            Answered 2019-Oct-09 at 21:18

            These are not open ports. The STATE column shows filtered, which means "prevented from communicating." This state often means a firewall is blocking traffic using those port numbers, but it can also mean that a probe or response was dropped and no response was received at all. This is most likely the case for you: the Nmap scan was too fast for your system at the moment you ran it and a probe was dropped. Since localhost scans are usually very reliable and fast, Nmap gets very aggressive in terms of short timeouts and few to no reattempts to determine a port's status.

            Nmap is a great tool, but for checking listening ports on your local system it is usually better to use netstat (or ss on modern Linux systems). This queries the kernel directly to determine what processes are registered to receive traffic on each port, so unless you have been thoroughly hacked (rootkitted), it will always be more accurate than Nmap for local results. If you are going to use Nmap as a 2nd opinion, be sure to use the -p - option to check all 65535 ports, not only the 1000 most-frequently-used ones that it scans by default.

            Source https://stackoverflow.com/questions/58305926

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install nrpe

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Continuous Deployment Libraries

            Try Top Libraries by NagiosEnterprises

            nagioscore

            by NagiosEnterprisesC

            ncpa

            by NagiosEnterprisesPython

            ndoutils

            by NagiosEnterprisesC

            nrdp

            by NagiosEnterprisesPHP

            nsca

            by NagiosEnterprisesC