Hi Team,
We have installed npre 2.15 on our Ubuntu server. We have added nagiosxi server name and changed do not blame npre to 1 in Nagios.cfg file. We observe that nrpe agent is not accepting any arguments coming from Nagiosxi server. Can you please let us know what needs to be done to fix this.
$ /usr/local/nagios/libexec/check_nrpe -H <ip address>
NRPE v2.15
$/usr/local/nagios/libexec/check_nrpe -H <ip address>-c check_load -a '-w 1,1,1 -c 2,2,2'
Usage:
check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15
when we execute on the server
$/usr/local/nagios/etc# /usr/local/nagios/libexec/check_load -w 1,2,3 -c 2,3,4
OK - load average: 0.00, 0.01, 0.05|load1=0.000;1.000;2.000;0; load5=0.010;2.000;3.000;0; load15=0.050;3.000;4.000;0;
Regards,
I2MP Team.
Ubunut: nrpe not accepting arguments
Ubunut: nrpe not accepting arguments
Thanks & Regards,
I2MP Team.
I2MP Team.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Ubunut: nrpe not accepting arguments
Did you restart NRPE using the binary after making that change? Also, please share the nrpe.cfg file from that Ubuntu server so we can take a look at it, thanks!
Re: Ubunut: nrpe not accepting arguments
Yes we have restarted the nrpe post the changes. Please find the attached nrpe.cfg file.
Regards,
I2MP Team.
Regards,
I2MP Team.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Ubunut: nrpe not accepting arguments
You already have ARG's defined in the nrpe.cfg with -w and -c, try this one:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <ip address>-c check_load -a '1,1,1' '2,2,2'Re: Ubunut: nrpe not accepting arguments
We are able to send command line argument, thank you for the support. You can close this.
Regards,
I2MP Team.
Regards,
I2MP Team.
Thanks & Regards,
I2MP Team.
I2MP Team.