I don't know...this me your talking to...I seem to have about 5x the problems of the average users. But I'll let you know.psyllex wrote:Yeah it looks like that might have done it. I'm waiting till all my services run through their checks to make sure. Awesome thanks people.abrist wrote:Eureka, looks like it is working. Change your check in XI to match the check from the cli that worked. Report back.
New NRPE error - error receiving data from daemon
Re: New NRPE error - error receiving data from daemon
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: New NRPE error - error receiving data from daemon
Yes he was referring to changing your configurations in Xi to match the form which you ran through the command line that worked. In other words alter them and remove the -n flags.
Re: New NRPE error - error receiving data from daemon
XI has a lot of moving parts. In can take some time, thought, and trial and error before all pieces come together in your mind. It is a blessing and a curse of software so extensible. You can do just about anything with nagios and XI, you just have to know what you want to do and how all the pieces work together. As you and most others have undoubtedly run into previously, the single most important component in learning a complex piece of software is time. You are doing fine.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: New NRPE error - error receiving data from daemon
Alright...one last problem on my other server. It's saying that NRPE: Command 'check_somecommand' not defined.
I looked in /usr/lib/nagios/plugins and I see all of the plugins there. I checked the nrpe.cfg on both servers and their identical. Any thoughts.
I looked in /usr/lib/nagios/plugins and I see all of the plugins there. I checked the nrpe.cfg on both servers and their identical. Any thoughts.
Re: New NRPE error - error receiving data from daemon
This error usually is caused by a slight misspelling between the command directive in the nrpe.cfg on the remote host and the command specified in the field $ARG1$ in XI.psyllex wrote:Alright...one last problem on my other server. It's saying that NRPE: Command 'check_somecommand' not defined.
EDIT: If you just added the command to nrpe.cfg, make sure that you restart the nrpe daemon on the remote host for the changes to take effect.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: New NRPE error - error receiving data from daemon
Again I didn't actually put anything in the nrpe.cfg. That's what's confusing about XI. If I've never actually touched the nrpe.cfg file.....how can it possibly be screwed up? Just curious. My nrpe.cfg file for my server B is exactly like the one for Server A which is running just fine.abrist wrote:This error usually is caused by a slight misspelling between the command directive in the nrpe.cfg on the remote host and the command specified in the field $ARG1$ in XI.psyllex wrote:Alright...one last problem on my other server. It's saying that NRPE: Command 'check_somecommand' not defined.
EDIT: If you just added the command to nrpe.cfg, make sure that you restart the nrpe daemon on the remote host for the changes to take effect.
Re: New NRPE error - error receiving data from daemon
I just did the following on my server B
I got : NRPE v2.12 for the first one.
I got : USERS OK-1 users currently logged in !users=1;5;10;0
which is the same response I got for Server A....but I still see critical for Server B on everything except Load and Ping.
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 10.10.0.102
/usr/local/nagios/libexec/check_nrpe -H 10.10.0.102 -t 30 -c check_users -a '-w 5 -c 10'I got : USERS OK-1 users currently logged in !users=1;5;10;0
which is the same response I got for Server A....but I still see critical for Server B on everything except Load and Ping.
Re: New NRPE error - error receiving data from daemon
Alright re-installed the nagios-nrpe-server agent. Did a few other housecleaning type things and I'm golden now.
I'm not really sure why my Server B wasn't acting the same as Server B as they had essentially the same files. It must have been some of that house cleaning I did. I had Nagios Core ontop of Nagios Core on top of XI twice.
So this thread is over!!! Woo hoo! Now I can go to the project lead and beg for money to buy 100 nodes!
I'm not really sure why my Server B wasn't acting the same as Server B as they had essentially the same files. It must have been some of that house cleaning I did. I had Nagios Core ontop of Nagios Core on top of XI twice.
So this thread is over!!! Woo hoo! Now I can go to the project lead and beg for money to buy 100 nodes!
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: New NRPE error - error receiving data from daemon
Thanks for the update and glad to hear its working! Closing
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.