[Users] Failure to connect to engine with Nagios

Hello, We are having some trouble with the Nagios plugin for oVirt. From time to time it stops working and it isn't able to connect to the engine. The error that we get apparently indicates a failure to read the file where the session cookie is stored: RHEV CRITICAL: Can't connect to RHEVM-API. Unsuccessful stat on filename containing newline at /usr/lib/nagios/plugins/check_rhev3 line 1411. Any suggestion on how to diagnose/solve this issue? Regards, Juan Hernandez -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

Hi Juan, On 04/07/2014 07:27 PM, Juan Hernandez wrote:
Hello,
We are having some trouble with the Nagios plugin for oVirt. From time to time it stops working and it isn't able to connect to the engine. The error that we get apparently indicates a failure to read the file where the session cookie is stored:
RHEV CRITICAL: Can't connect to RHEVM-API. Unsuccessful stat on filename containing newline at /usr/lib/nagios/plugins/check_rhev3 line 1411.
Any suggestion on how to diagnose/solve this issue?
Can you tell me which version of check_rhev3 you're using? Regards,
Juan Hernandez

On 04/07/2014 07:49 PM, René Koch wrote:
Hi Juan,
On 04/07/2014 07:27 PM, Juan Hernandez wrote:
Hello,
We are having some trouble with the Nagios plugin for oVirt. From time to time it stops working and it isn't able to connect to the engine. The error that we get apparently indicates a failure to read the file where the session cookie is stored:
RHEV CRITICAL: Can't connect to RHEVM-API. Unsuccessful stat on filename containing newline at /usr/lib/nagios/plugins/check_rhev3 line 1411.
Any suggestion on how to diagnose/solve this issue?
Can you tell me which version of check_rhev3 you're using?
Regards,
Dotan, can you answer this question? -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

Dotan Paz , Engineering Operations Red Hat Israel, LTD ----- Original Message -----
On 04/07/2014 07:49 PM, René Koch wrote:
Hi Juan,
On 04/07/2014 07:27 PM, Juan Hernandez wrote:
Hello,
We are having some trouble with the Nagios plugin for oVirt. From time to time it stops working and it isn't able to connect to the engine. The error that we get apparently indicates a failure to read the file where the session cookie is stored:
RHEV CRITICAL: Can't connect to RHEVM-API. Unsuccessful stat on filename containing newline at /usr/lib/nagios/plugins/check_rhev3 line 1411.
Any suggestion on how to diagnose/solve this issue?
Can you tell me which version of check_rhev3 you're using? Hi Rene,
Name: check_rhev3 Version: 1.2.1 Created: 2012-08-13
Regards,
Dotan, can you answer this question?
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 04/09/2014 09:55 AM, Dotan Paz wrote:
Dotan Paz , Engineering Operations Red Hat Israel, LTD
----- Original Message -----
On 04/07/2014 07:49 PM, René Koch wrote:
Hi Juan,
On 04/07/2014 07:27 PM, Juan Hernandez wrote:
Hello,
We are having some trouble with the Nagios plugin for oVirt. From time to time it stops working and it isn't able to connect to the engine. The error that we get apparently indicates a failure to read the file where the session cookie is stored:
RHEV CRITICAL: Can't connect to RHEVM-API. Unsuccessful stat on filename containing newline at /usr/lib/nagios/plugins/check_rhev3 line 1411.
Any suggestion on how to diagnose/solve this issue?
Can you tell me which version of check_rhev3 you're using? Hi Rene,
Name: check_rhev3 Version: 1.2.1 Created: 2012-08-13
Hi Daton, Can you please try check_rhev3 1.3? https://github.com/ovido/check_rhev3/releases Thanks, René
Regards,
Dotan, can you answer this question?
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, for the record: we have no problems connecting nagios with check_rhev3 (v 1.4) using ldap user. this is on engine 3.3.3 so maybe it's related to ipa or to the connection between ipa and engine, or a change in ovirt after 3.3.3. But I guess most likely it's the connection. HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
participants (4)
-
Dotan Paz
-
Juan Hernandez
-
René Koch
-
Sven Kieske