Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Just finished installing 3.5 with the 1.4.16 plugins on CentOS 6. However, when I installed the plugins I noticed some errors while running "make" and "make install" A little bit of background:
I used the quickstart guide on the website for Fedora as instructed but ran into a problem running the make command while installing Nagios. Being new to CentOS I found that make was not installed by default. Around that time I downloaded the nagios install pdf. Make started to work but I skipped over to the the pdf instead on continuing with the web based quickstart. Reviewing both documents they have me downloading things to different sections (tmp dir in one and downloads dir in the other. Once I completed the install I get the "Return code of 127 is out of bounds - plugin may be missing" on my localhost checks. I checked some forums that directed me to check the libexec folder for plugins (such as check_ping). I found none. I stopped the nagios service and reran through the PDF instructions on installing the plugins. But the plugins are not installing in libexec as far as I can tell.
Is there a way to get the plugins installed? If not, is there a way to wipe out Nagios and start from scratch...this time using just the one guide?
I'm a Linux novice and a Nagios novice so please go easy on me
It sounds like you must of skipped the plugins installation section for some reason, or it did not complete successfully, could you run through the section for the nagios plugins package and let us know if you see any errors? And what they are? Thanks!
check_http.c: In function âprocess_argumentsâ:
check_http.c:312: error: âssl_versionâ undeclared (first use in this function)
check_http.c:312: error: (Each undeclared identifier is reported only once
check_http.c:312: error: for each function it appears in.)
Do you have ssl installed (including the devel headers)?
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.
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.
So the fix was openSSL with dev was not installed. I don;t remeber seeing that in the pre-reqs, is that something that is normally installed on CentOS?
Nope, unfortunately you usually don't get full headers on most distributions these days. I was under the impression that the plugins would build without ssl if necessary. I guess if you have ssl installed, but not the headers it will fail.
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.