Hi Ethan,
I work for engineering at Get It Mobile Inc.
We were building nrpe plugins to try out remote monitoring and came across a bug in the nrpe build.
We disabled ssl by running configure with
./configure --disable-ssl --without-ssl.
However when we compiled it we got the following bug.
gcc -g -O2 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lnsl
./nrpe.c:103: error: expected ‘)’ before ‘*’ token
./nrpe.c error: expected ‘)’ before ‘*’ token
The above bug is because there is #ifdef HAV_SSL missing for nrpe.c
We fixed the bug by patching src/nrpe.c
Please find the patch attached.
Hope it helps.
Thanks
Potential Bug in NRPE
-
- Posts: 1
- Joined: Fri Jul 04, 2014 9:05 am
Potential Bug in NRPE
- Attachments
-
- nrpe.patch
- Patch for potential bug in nrpe.
- (585 Bytes) Downloaded 398 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Potential Bug in NRPE
Thanks for the Bug Report and patch!
I have created an internal bug report ( 3473 ) for the issue.
I have created an internal bug report ( 3473 ) for the issue.