Raspbian NRPE - Received 0 bytes from daemon

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Raspbian NRPE - Received 0 bytes from daemon

Post by hsmith »

I reached out to a few different people here about this query, and I don't think the --enable-command-args flag is going anywhere. It just boils down to being much safer and much more secure to have 'double safety' in place. Automating this with something like puppet, or making your own package is going to be the easiest way around this. Unfortunately, we're not the maintainer of the nrpe package on ARM debian.
Former Nagios Employee.
me.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Raspbian NRPE - Received 0 bytes from daemon

Post by WillemDH »

Hmm hardcoding this into the nrpe.cfg is such a management pain. I'll compile nrpe myself and see where this gets me. Michael Medin will also attempt to port NSClient to Raspbian. See https://forums.nsclient.org/t/raspberry-nsclient/4094

Let's leave this open, I'll post my working solution once I find it. Tx for the effort you put in it.
Nagios XI 5.8.1
https://outsideit.net
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Raspbian NRPE - Received 0 bytes from daemon

Post by hsmith »

Always happy to help wherever I can. Pi NSClient should be neat. I wish I had a solution for you. Let me know how your compile goes.
Former Nagios Employee.
me.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Raspbian NRPE - Received 0 bytes from daemon

Post by WillemDH »

Holden,

The compile went very well. I can access the Raspbian from mu Nagios XI server.

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H f1reberry.outsideit.net
NRPE v2.15
So I tried installing the apt package nagios-plugins, but there does not seem to be a check_init_service in the /usr/lib/nagios/plugins/ folder

Then I tried looking around and there seem to be a lot of different apt packages for Nagios plugins, which makes it all a bit confusing.
https://packages.debian.org/jessie/nagios-plugins
https://packages.debian.org/jessie/nagios-plugins-basic
https://packages.debian.org/jessie/nagi ... s-standard
https://packages.debian.org/jessie/nagi ... ins-common

Then there seem to be monitoring-plugins variants. But I can't seem to find check_init_service anywhere... In what package would check_init_service be located? This seemed to be installed by default on my CentOS servers at work.

Grtz
Nagios XI 5.8.1
https://outsideit.net
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Raspbian NRPE - Received 0 bytes from daemon

Post by tgriep »

In the Linux NRPE Agent tar ball, the check_init_service plugin is a script in the extraplugins folder.

Code: Select all

/linux-nrpe-agent/subcomponents/extraplugins/plugins/check_init_service
Take a look and see if it is in there.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Raspbian NRPE - Received 0 bytes from daemon

Post by WillemDH »

Found a solution for the check_init_service issue. And got the compiled nrpe working. Thread can be closed.
Nagios XI 5.8.1
https://outsideit.net
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Re: Raspbian NRPE - Received 0 bytes from daemon

Post by Naveed »

What solution was found for subjected issue,

I have the same issues on Ubunutu, nothing is working for me.

kindly assist.

Thank you!
Locked