Page 2 of 2

Re: Plugins 2.1-RC1 Testing

Posted: Fri Jan 23, 2015 8:32 am
by eloyd
I am considering moving forward, since I believe I know what the problem (and solution) is, but I was hoping to have Nagios do the hard work. :-)

Re: Plugins 2.1-RC1 Testing

Posted: Fri Jan 23, 2015 5:55 pm
by sreinhardt
Sorry, missed these posts without the internal trackers assistance. My tests on cent 6 showed I needed the gettext package which provides the bin msgmerge. The -update error should be prefixed with the path and bin for msgmerge which does the translations. Once that was installed everything was good to go on my end. I've setup tracking on this thread, so let me know if there are further issues. Pushing a lot of changes and looking at a full release within the month if all goes as planned. (no time machine needed, just lots and lots of caffeine).

Edit: Thanks for testing that WillemDH, and that sounds pretty cool mikew!!!

Re: Plugins 2.1-RC1 Testing

Posted: Fri Jan 23, 2015 6:00 pm
by eloyd
I still prefer time machine to no time machine.

Will push these through over the weekend for fun. Let you know how it goes.

Re: Plugins 2.1-RC1 Testing

Posted: Tue Jan 27, 2015 3:51 pm
by sreinhardt
Pushed a few more commits that have been pretty heavily tested. Most specifically relate to error states not returning proper information and coverity static analysis patches. Will be pulling in timeout and perl findbin branches today before submitting another coverity scan and completing those. Same instructions for pulling the 2.1-beta branch apply. Just an FYI for those of you nice enough to test!

Edit: timeout_state and findbin branches have been merged. This includes the ability to set a return code for plugin timeouts, opposed to them always being critical, and some additional path checking and safety for perl plugins using system paths to find modules and binaries.

Re: Plugins 2.1-RC1 Testing

Posted: Wed Jan 28, 2015 7:39 pm
by Box293

Code: Select all

yum -y install gettext
After doing this and starting again from the directions in the first post of this thread it all worked OK on a basic CentOS 6.5 system. I will go and do it on my test/dev XI box.

Re: Plugins 2.1-RC1 Testing

Posted: Wed Jan 28, 2015 7:45 pm
by Box293
Timeout stuff works well:

Code: Select all

./check_nt -H win7-01 -p 12489 -t 10:UNKNOWN -v CLIENTVERSION
UNKNOWN - Socket timeout after 10 seconds

echo $?
3
I think it would also be helpful if you could use the defined timeout state for other errors like "Connection refused"

Code: Select all

./check_nt -H 127.0.0.1 -p 12489 -t 10:UNKNOWN -v CLIENTVERSION
connect to address 127.0.0.1 and port 12489: Connection refused
could not fetch information from server

echo $?
2

Re: Plugins 2.1-RC1 Testing

Posted: Tue Feb 03, 2015 8:56 am
by sreinhardt
Thanks for the idea Box! I'll have to check into what Andy did for those changes and see how applicable they are. Otherwise I will definitely keep this in mind down the road as the code is moved into a more unified state. Glad that worked with gettext as well, as you know I don't run cent 6 much, only the oldies ala 5.x. :)

Re: Plugins 2.1-RC1 Testing

Posted: Sun Mar 08, 2015 5:28 pm
by nagmoto
Box293 wrote:Not me, I've been waiting for some direction on what to do next.
On a CentOS 6.6 development VM,I am getting exact error message. Googling brought me to this thread.
And I tried " sreinhardt"'s tip. I was able to get rid of "mv: cannot stat `t-fr.gmo': No such file or directory"
by installing the missed gettext-devel package and rerun autogen.sh and make it again.

Re: Plugins 2.1-RC1 Testing

Posted: Thu Nov 05, 2015 12:05 pm
by WillemDH
Seems we discovered an issue with check_http that is not there with the 2.0.3 version. Plese check out this thread:

https://support.nagios.com/forum/viewto ... 29#p160029

Seems the output is mangled in some cases.

Re: Plugins 2.1-RC1 Testing

Posted: Thu Nov 05, 2015 1:12 pm
by tmcdonald
I'm going to close this thread since 2.1.1 was already released and the beta phase is over.