[Nagios-devel] NEB issues with 3.4.1 and current trunk

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.
Locked
Guest

[Nagios-devel] NEB issues with 3.4.1 and current trunk

Post by Guest »

This is a multi-part message in MIME format.
--------------060104060401010402040702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hey Guys,

Issue #1:
I wanted to run this buy some people who understood the the NEB API's
and the event loop better than I do. I came across an issue the other
day with DNX where random service checks seem to get frozen in the
scheduling queue. The check gets executed, but the next_check time
never gets reset, it'll just sit there indefinitely until a new check is
forced from an external command. Submitting passive results on the
check does not reset the next_check time either. I thought this might
be something to keep an eye out for, since a lot of people distribute
their checks. I can recreate this at will with DNX, haven't tested it
with Mod Gearman yet. I attached a pair of scripts to fetch a list of
frozen checks if anyone else wants to play around with this. Just
update the file location of status.dat in show_frozen.php and then run:

(Run at 11:10am)
./show_frozen.php

localhost : MySQL Uptime
LAST: Fri, 22 Jun 2012 10:51:58 -0500
NEXT: Fri, 22 Jun 2012 10:51:58 -0500

localhost : PING
LAST: Fri, 22 Jun 2012 11:04:36 -0500
NEXT: Fri, 22 Jun 2012 11:04:36 -0500

COUNT: 32


Issue #2:
Also, it appears that in the latest trunk, Macro translation may not be
occurring properly for NEB modules. Example from the DNX log below:

Current SVN Trunk:

[Fri Jun 22 10:47:15.602 2012] dnxPluginExecute: Executing $USER1$/usr/local/nagios/libexec/check_snmp_process_wizard.pl -H $HOSTADDRESS$192.168.5.59 $ARG1$ -C public --v2c -n 'httpd' -w '15' -c '1'


Core 3.4.1 Works properly:

[Fri Jun 22 10:50:54.768 2012] dnxPluginExecute: Executing /usr/local/nagios/libexec/check_http -H 192.168.5.58



My knowledge of C is only enough to be dangerous for these two issues,
but if there's a way I can help by testing or otherwise let me know. : )


--


Mike Guthrie
Technical Team
___
Nagios Enterprises, LLC
Email: [email protected]
Web: www.nagios.com


--------------060104060401010402040702
Content-Type: application/x-zip-compressed;
name="frozenchecks.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="frozenchecks.zip"

UEsDBBQAAAAIAHBX1kBKseUOGgoAAIcZAAAcAAAAZnJvemVuY2hlY2tzL3JlYWRfc3RhdHVz
LnBocK1ZbXPaSBL+DL+i43ItZldBdvb2PthxchiErVqMfJJI1pVKuQQMoI2QKEnY53P5v9/T
MyMkEcjtVR2VFExPvz7T3dOTvP+4Xq7JNFMRzB6yPMg3WYcp/PGXYUbZNA3XOa3TZCqyTICg
mGZBTvMwEhTEMwqyLFzEGS2TLM8kJRPpYwgJCuM8oSBNg+es2WyaJo2CRZhk9OmttxRRxJRe
sn5Ow8Uyp5Npm96dnp0WTFaci3SdhrBr0HDY6zD75zTMcxHT5Jluw2+Crjf5Mg0FvV8t1K9/
xFK6M01WHyDAMkO7Z40861wvZWRPSfqN8L0KZojiMQijYIJ44O5zsqFNPBMp5UsQRLrKKJnT
J5FmYRLTOyxYC29ej8Z0LWKRBhHdbSZROKUh4o4z0aEuTREZS+ZLoBUpOmXLZBPNaBk8CtYy
EYgF8D6GMzGjpzBfgp2BT+b5U5AKgyabHDAC1mcSjyLOaRogekHJJA/CWMxYyzxNVrTM8/W5
aT49PXXm2byTpAsJ2HcRz8IsT0OohUEo5jiWyVooN8McTkQRG9hkYr6JpAMSeNu/ccY+dUf3
9Lnrut2Rf38hPU7gIbsmVYWrdRRyKHzqcf6s0bq13N4NRLpX9tD27ylJaWD7I8vzaOC4AOuu
6/p2bzzsunQ3du8cz+qQJ0QBM+vYjzTNoWuVpIJmAohE2TbqexxkBW5KxVSEj/AtqBzNjw6R
lQRREi8qB4OzWqTB6oLCOcVJbtATElLmDesapHDZ02fH4oMEqRTkSByD7HjaMei3M3AF8bcI
2Hs5+KFjEM6hfxAlSWrQFcqI2W+7rOD03dnZ6duzX0/PGLPHMMMJwVKY0pOY0DpYIBM08lwu
scgpkOe1Px10CfScke/aV2PfdkZ056BA7ovqOPGXjGkUJU8hIl8HaYCA10tOHQQszcScrAg5
ClfKHZIVnNGCz1zlpK4kfK2SWTh/lo2hzL16mu8pONahiyZTubkKoGS9jp4LtAvpTrsIK4mV
euCdKa6qEf6bbSZ/immu3UuVYXS1eMbRynY2nYo1CFNRqXTlFW9PE7AqAzqBdLvaGsc5dRc4
2BWqFfmxDKfLomjnnA4yOZMYCQCX8gL3ynmVHcyMxCKIzGmpOig0m+Vp9m2vN+zaqLFti7ux
yHMGPgrVItujO9f5ZPetPh11PayPjG05F6VMzkCW9u/2qG+Q9cedy7WJ0rRv74a21TdYrT3q
Dcd9e3RNSB0aOT5a663tQ6/vSJtam215rG+n6I2dkmeN35c9vOhD9cgeDVxYsm6tkd+BZdDI
+oQFeTfd4VCa644RhCvd7Dl39659feNLtTfOsG9h48qCh92roaVMIj4JlFz1bdfq+SjLUfmr
B5Dg79Ag787q2fzD+sMCAl33XiIgLeEu+ecYfNinfve2e41wT7bYGHvAMfgEemNXRsPQeOMr
z7f9sW9Jf68dpy/D8Cz3E24r74KGjidBHHuWASt+1+B9qAGI2Mbvq7FnSzjtkW+57viOq7nN
Ow7AcZvy5tti//nGYioj2cWfnix96JetoMvhe2gJPb8q4zuuX4lMujqyrof2tTXqWVtLn23P
Ku1q3QZ1XdtjqYHr3ML5sQzckR7A6MhSLjT13VLPWbDxGsGXevtWdwh9HG+NucOTRYYWzXWG
ukTt5llzJuYosJMW7DqDq6HT+71lnLYvtvQbx/P71qBlnFWIGn5Jf1ehA/Zrt3vbMn6tEJGh
Tsv4247On

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked