Plugin Output Size limiting to 1 KB
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Plugin Output Size limiting to 1 KB
Thanks for the response.I have one question on the agent upgrade.
If I upgrade the agent on the nagios server will the server still eb able to connect ot the older version of the agents(NRPE V2.15).
If I upgrade the agent on the nagios server will the server still eb able to connect ot the older version of the agents(NRPE V2.15).
Re: Plugin Output Size limiting to 1 KB
Yes, it's backwards compatible.If I upgrade the agent on the nagios server will the server still eb able to connect ot the older version of the agents(NRPE V2.15).
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Plugin Output Size limiting to 1 KB
I compiled and installed the version of the agent you mentioned in Nagios and the target machine but still the issue persist.I also did a restart of XINETD after installing the new agent since i am running the agent under inetd.
Let me know if I have to perform any other stpes to make it work.
Let me know if I have to perform any other stpes to make it work.
Re: Plugin Output Size limiting to 1 KB
Can you run the following command on both, Nagios XI server, and the client machine (remote box), and show the output?
I tested NRPE Version: 2.16RC2, and it seemed to resolve the issue for me. I set up a simple command on the remote box:
and restarted xinetd:
On the Nagios XI box, I ran:
Note: Before recompiling NRPE, with ver. 2.15, I was getting 1024 characters.
Code: Select all
/usr/local/nagios/bin/nrpeCode: Select all
command[catafile]=cat $ARG1$Code: Select all
service xinetd restartCode: Select all
/usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c catafile -a '/usr/local/nagios/var/nagios.log' | wc -m
22518Code: Select all
/usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c catafile -a '/usr/local/nagios/var/nagios.log' | wc -m
1024Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Plugin Output Size limiting to 1 KB
unfortunately after doing this ?upgrade all the HP UX servers running NRPE V2.0 getting Service check Time outs,is there way I can fix these errors quickly
Re: Plugin Output Size limiting to 1 KB
What are the commands that you ran while recompiling NRPE?
Can you show us the actual check (that is failing) run from the command line, along with the output of it?
Also, show us how the command is defined on the client.
Run:
on both - Nagios XI and the client, and show the output.
Can you show us the actual check (that is failing) run from the command line, along with the output of it?
Also, show us how the command is defined on the client.
Run:
Code: Select all
/usr/local/nagios/bin/nrpe | grep -i versionBe sure to check out our Knowledgebase for helpful articles and solutions!
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Plugin Output Size limiting to 1 KB
Now I am trying to test this in a suse 11,12 boxes and getting ssl header errors,please advice
Steps followed to install
1.unzip nrpe-nrpe-2-16-RC2.zip
2./configure
checking for SSL headers... configure: error: Cannot find ssl headers
Tried to install suse10 ,11 ,12 but no luck and getting the same error.
On nagios server able to install it successfully though
/usr/local/nagios/bin/nrpe | grep -i version
Version: 2.16RC2
Steps followed to install
1.unzip nrpe-nrpe-2-16-RC2.zip
2./configure
checking for SSL headers... configure: error: Cannot find ssl headers
Tried to install suse10 ,11 ,12 but no luck and getting the same error.
On nagios server able to install it successfully though
/usr/local/nagios/bin/nrpe | grep -i version
Version: 2.16RC2
Re: Plugin Output Size limiting to 1 KB
Can you please attempt to install the openssl-devel package and see if this helps?
Former Nagios Employee.
me.
me.
-
mdusanapudi
- Posts: 35
- Joined: Tue Mar 15, 2016 1:31 pm
Re: Plugin Output Size limiting to 1 KB
Hi
can you please let me know the max output size that we can use with Nrpe 2.16 RC2.
can you please let me know the max output size that we can use with Nrpe 2.16 RC2.
Re: Plugin Output Size limiting to 1 KB
According to our developers, "it's almost 64K". Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!