Page 1 of 1

nagios_nrpe.cfg

Posted: Wed Aug 26, 2015 10:45 pm
by Volcharge
There is a command in nrpe.cfg : /usr/local/nagios/libexec/check_http -I 127.0.0.1
It's critical because I have a virtual directory, my website place is: 127.0.0.1/zmaze

so I tried to modify the command as : /usr/local/nagios/libexec/check_http -I 127.0.0.1/zmaze
but it doesn't work.

Can someone tell me how to solve this problem?
THX THX THX THX THX :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

Re: nagios_nrpe.cfg

Posted: Thu Aug 27, 2015 9:07 am
by hsmith
Volcharge wrote:There is a command in nrpe.cfg : /usr/local/nagios/libexec/check_http -I 127.0.0.1
It's critical because I have a virtual directory, my website place is: 127.0.0.1/zmaze

so I tried to modify the command as : /usr/local/nagios/libexec/check_http -I 127.0.0.1/zmaze
but it doesn't work.

Can someone tell me how to solve this problem?
THX THX THX THX THX :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
How about /usr/local/nagios/libexec/check_http -I 127.0.0.1 -u /zmaze ?