Discussion:
[Check_mk (english)] Webinject stopped working after upgrade from 1.4 to 1.5.0
Igor Lautsevich
2018-09-26 14:59:45 UTC
Permalink
Hi,

I have an issue with Webinject plugin not working after update. Service check just returns "null". The expected message should be: "WebInject OK - All tests passed successfully"

Config.xml and the test cases are in the /sitename/etc/webinject folder, so there should be no changes

Command line in check_webinject file:
"command_line":'PERL_LWP_SSL_VERIFY_HOSTNAME=0 $USER1$/check_webinject -c $USER4$/etc/webinject/config.xml -o $USER4$/etc/webinject/tmp/ $USER4$/etc/webinject/$ARG1$.xml'

Not sure what those $USER1$ and $USER4$ stand for, but could that be a problem?

Do I miss something, please help.

Thank you,

Igor Lautsevich | Senior Associate, Information Technology | The Hackett Group | 101 W Elm St | Conshohocken, PA 19428 | tel: +1 610 234 5667 | fax: +1 610 234 5550| web: www.thehackettgroup.com<http://www.thehackettgroup.com>

WORLD CLASS DEFINED AND ENABLED

Join us online: Twitter: www.thehackettgroup.com/twitter<http://www.thehackettgroup.com/twitter> | Facebook: www.thehackettgroup.com/facebook<http://www.thehackettgroup.com/facebook>
Igor Lautsevich
2018-10-01 20:45:27 UTC
Permalink
Is there a log file I can check to troubleshoot the issue or run in verbose mode. Any help would be appreciated.

Igor Lautsevich
Senior Associate, Information Technology
The Hackett Group

From: checkmk-en <checkmk-en-***@lists.mathias-kettner.de> On Behalf Of Igor Lautsevich
Sent: Wednesday, September 26, 2018 11:00 AM
To: checkmk-***@lists.mathias-kettner.de
Subject: [Check_mk (english)] Webinject stopped working after upgrade from 1.4 to 1.5.0

Hi,

I have an issue with Webinject plugin not working after update. Service check just returns "null". The expected message should be: "WebInject OK - All tests passed successfully"

Config.xml and the test cases are in the /sitename/etc/webinject folder, so there should be no changes

Command line in check_webinject file:
"command_line":'PERL_LWP_SSL_VERIFY_HOSTNAME=0 $USER1$/check_webinject -c $USER4$/etc/webinject/config.xml -o $USER4$/etc/webinject/tmp/ $USER4$/etc/webinject/$ARG1$.xml'

Not sure what those $USER1$ and $USER4$ stand for, but could that be a problem?

Do I miss something, please help.

Thank you,

Igor Lautsevich | Senior Associate, Information Technology | The Hackett Group | 101 W Elm St | Conshohocken, PA 19428 | tel: +1 610 234 5667 | fax: +1 610 234 5550| web: www.thehackettgroup.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thehackettgroup.com&data=02%7C01%7Cilautsevich%40thehackettgroup.com%7C96dc8a6b76fe462ef0f408d623c0c265%7C9a21f1283011452ca6829b884467518d%7C0%7C0%7C636735708131974562&sdata=aCoddKesUutkv40LT1hTJll%2BZ%2FP%2BnmMbvvU2Os3aFpA%3D&reserved=0>

WORLD CLASS DEFINED AND ENABLED

Join us online: Twitter: www.thehackettgroup.com/twitter<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thehackettgroup.com%2Ftwitter&data=02%7C01%7Cilautsevich%40thehackettgroup.com%7C96dc8a6b76fe462ef0f408d623c0c265%7C9a21f1283011452ca6829b884467518d%7C0%7C0%7C636735708131984566&sdata=KGGmgz5%2BHj%2B0bBTpSY7ZkTeWGy1xukKnFQiUQ%2FO0vlE%3D&reserved=0> | Facebook: www.thehackettgroup.com/facebook<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thehackettgroup.com%2Ffacebook&data=02%7C01%7Cilautsevich%40thehackettgroup.com%7C96dc8a6b76fe462ef0f408d623c0c265%7C9a21f1283011452ca6829b884467518d%7C0%7C0%7C636735708131984566&sdata=nd2jbvjxBJMvgRBEBtp8eyJ8rL4sgr%2FsZ%2B2HQxUuerc%3D&reserved=0>
Igor Lautsevich
2018-10-10 18:15:04 UTC
Permalink
Figured out what was the issue, the webinject version was too old 1.41, updated it and it is back to normal.

/opt/omd/versions/1.5.0.cre/lib/nagios/plugins/check_webinject

Igor Lautsevich
Senior Associate, Information Technology
The Hackett Group

From: Igor Lautsevich
Sent: Monday, October 1, 2018 4:45 PM
To: Igor Lautsevich <***@thehackettgroup.com>; checkmk-***@lists.mathias-kettner.de
Subject: RE: Webinject stopped working after upgrade from 1.4 to 1.5.0

Is there a log file I can check to troubleshoot the issue or run in verbose mode. Any help would be appreciated.

Igor Lautsevich
Senior Associate, Information Technology
The Hackett Group

From: checkmk-en <checkmk-en-***@lists.mathias-kettner.de<mailto:checkmk-en-***@lists.mathias-kettner.de>> On Behalf Of Igor Lautsevich
Sent: Wednesday, September 26, 2018 11:00 AM
To: checkmk-***@lists.mathias-kettner.de<mailto:checkmk-***@lists.mathias-kettner.de>
Subject: [Check_mk (english)] Webinject stopped working after upgrade from 1.4 to 1.5.0

Hi,

I have an issue with Webinject plugin not working after update. Service check just returns "null". The expected message should be: "WebInject OK - All tests passed successfully"

Config.xml and the test cases are in the /sitename/etc/webinject folder, so there should be no changes

Command line in check_webinject file:
"command_line":'PERL_LWP_SSL_VERIFY_HOSTNAME=0 $USER1$/check_webinject -c $USER4$/etc/webinject/config.xml -o $USER4$/etc/webinject/tmp/ $USER4$/etc/webinject/$ARG1$.xml'

Not sure what those $USER1$ and $USER4$ stand for, but could that be a problem?

Do I miss something, please help.

Thank you,

Igor Lautsevich | Senior Associate, Information Technology | The Hackett Group | 101 W Elm St | Conshohocken, PA 19428 | tel: +1 610 234 5667 | fax: +1 610 234 5550| web: www.thehackettgroup.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thehackettgroup.com&data=02%7C01%7Cilautsevich%40thehackettgroup.com%7C96dc8a6b76fe462ef0f408d623c0c265%7C9a21f1283011452ca6829b884467518d%7C0%7C0%7C636735708131974562&sdata=aCoddKesUutkv40LT1hTJll%2BZ%2FP%2BnmMbvvU2Os3aFpA%3D&reserved=0>

WORLD CLASS DEFINED AND ENABLED

Join us online: Twitter: www.thehackettgroup.com/twitter<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thehackettgroup.com%2Ftwitter&data=02%7C01%7Cilautsevich%40thehackettgroup.com%7C96dc8a6b76fe462ef0f408d623c0c265%7C9a21f1283011452ca6829b884467518d%7C0%7C0%7C636735708131984566&sdata=KGGmgz5%2BHj%2B0bBTpSY7ZkTeWGy1xukKnFQiUQ%2FO0vlE%3D&reserved=0> | Facebook: www.thehackettgroup.com/facebook<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.thehackettgroup.com%2Ffacebook&data=02%7C01%7Cilautsevich%40thehackettgroup.com%7C96dc8a6b76fe462ef0f408d623c0c265%7C9a21f1283011452ca6829b884467518d%7C0%7C0%7C636735708131984566&sdata=nd2jbvjxBJMvgRBEBtp8eyJ8rL4sgr%2FsZ%2B2HQxUuerc%3D&reserved=0>
Loading...