Page 2 of 2
Re: Raspbian NRPE - Received 0 bytes from daemon
Posted: Thu Apr 21, 2016 1:21 pm
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.
Re: Raspbian NRPE - Received 0 bytes from daemon
Posted: Thu Apr 21, 2016 3:30 pm
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.
Re: Raspbian NRPE - Received 0 bytes from daemon
Posted: Thu Apr 21, 2016 3:37 pm
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.
Re: Raspbian NRPE - Received 0 bytes from daemon
Posted: Sat Apr 23, 2016 5:19 am
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
Re: Raspbian NRPE - Received 0 bytes from daemon
Posted: Mon Apr 25, 2016 3:33 pm
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.
Re: Raspbian NRPE - Received 0 bytes from daemon
Posted: Thu Apr 28, 2016 7:17 am
by WillemDH
Found a solution for the check_init_service issue. And got the compiled nrpe working. Thread can be closed.
Re: Raspbian NRPE - Received 0 bytes from daemon
Posted: Wed Aug 31, 2016 9:24 am
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!