Search found 14 matches

by raosri1992
Fri May 15, 2020 4:25 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 4614

Re: NRPE: Unable to read output

I'm having the same problem, but my usecase is little different,. I have opened a support request here: https://support.nagios.com/forum/viewtopic.php?f=7&t=58573 Let me know if anyone needs more information. Thanks, Srikanth @ssax this is the output: [root@nagios ~]# /usr/local/nagios/libexec/c...
by raosri1992
Thu May 14, 2020 1:57 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 5049

Re: NRPE: Unable to read output

Hi, Till yesterday, I was passing parameters to the command definition in nrpe.cfg in Remote server which is below: " command[check_pod_cjoc]=/usr/local/nagios/libexec/check_pods.sh -k /.kube/config -n cloudbees-core " When I try from Nagios server, I was getting this error "NRPE: Una...
by raosri1992
Wed May 13, 2020 1:53 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 5049

Re: NRPE: Unable to read output

Hi,

I don't see any problems for other commands which I have defined in nrpe.cfg for check_load,check_mem,Check_disk.

I'm getting this problem for the scripts written in this repository.

https://github.com/colebrooke/kubernetes-nagios

Let me know if you need more information

Thanks,
Srikanth
by raosri1992
Wed May 13, 2020 11:59 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 5049

Re: NRPE: Unable to read output

I'm trying to execute the scripts by nagios user only. The output I have posted earlier (from Remote server, Nagios server) are from nagios user. When you ran the command on the remote server, did you run it while logged is as the nagios user? Next, the command line options are different in the nrpe...
by raosri1992
Tue May 12, 2020 9:47 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 5049

Re: NRPE: Unable to read output

Hi, As you said "When the NRPE agent runs a plugin and it does not output any data, the NRPE agent does not have any thing to use to return to the nagios server so it returns this message." I got a doubt so when I run this command on Remote server as this command the I get the correct oupu...
by raosri1992
Tue May 12, 2020 5:17 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 5049

Re: NRPE: Unable to read output

Hello, Thank you for quick response. As I mentioned earlier, this command works on the remote server "/usr/local/nagios/libexec/check_pods.sh -k -n -w 500 -C 800" and give me the correct output. Also I have added nagios user in sudoers file too. The Issue which I'm seeing is from Nagios se...
by raosri1992
Tue May 12, 2020 9:00 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 5049

Re: NRPE: Unable to read output

I found this in NRPE log file [1589291681] Host X.X.X.X is asking for command 'check_pod_cjoc' to be run... [1589291681] Running command: /usr/local/nagios/libexec/check_pods.sh -k config -n cloudbees-core -w 500 -C 800 [1589291681] WARNING: my_system() seteuid(0): Operation not permitted [158929168...
by raosri1992
Mon May 11, 2020 8:06 am
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 5049

NRPE: Unable to read output

Hello Team, I'm trying to set up monitoring of Kubectl cluster using this article https://github.com/colebrooke/kubernetes-nagios I came across a weird Issues. I have the Kubectl cluster running on Remote RHEL server. When I try to run the scripts locally using NRPE it works. From Remote server loca...
by raosri1992
Sun May 10, 2020 9:45 pm
Forum: Open Source Nagios Projects
Topic: CHECK_NRPE: Error - Could not connect to 192.168.0.2: Conn
Replies: 4
Views: 5813

Re: CHECK_NRPE: Error - Could not connect to 192.168.0.2: Co

Hi Team, Recently i have installed Nagios for testing Postgres client monitoring. I have installed below dump but having some nrpe communication issue. i have pasted complete log in below. Could you please review and help me on this please. Nagios Server running with - Oracle Linux Server release 7...
by raosri1992
Sun May 10, 2020 9:23 pm
Forum: Open Source Nagios Projects
Topic: NRPE: Unable to read output
Replies: 8
Views: 4614

Re: NRPE: Unable to read output

HI Benjimin Smith,

I having same problem. I'm testing the scripts from this article https://github.com/colebrooke/kubernetes-nagios

I tried two versions of NRPE agent 3.2.1 & 4.0.3 too. Same problem for both versions.

Any one can help us find the root cause ..

Thanks,
Srikanth