Bump.
I'm having the same issues with the same script. I checked and I do have all the required perl modules installed.
Has anyone solved this issue yet?
Authentication failed check_sharepoint.pl
Re: Authentication failed check_sharepoint.pl
Could you post how you have the command defined in XI and can you run it from the command list and post the output from that?
Also run the following and post back the results.
Also run the following and post back the results.
Code: Select all
curl -VBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Authentication failed check_sharepoint.pl
Haven't defined it in XI yet, as I'm still trying to run it from the command line to verify that it works (it doesn't). Here is the output from the command line:tgriep wrote:Could you post how you have the command defined in XI and can you run it from the command list and post the output from that?
Code: Select all
highness@fe1(Linux) $ ./check_sharepoint.pl -H "ourcompany.sharepoint.com/en -u "OURDOMAIN\highness" -p "mysupersecr3tpassw0rd" -l default.asp -s 'Hello' -t 15 -w 5 -c 10
CRITICAL: Authentication failed for account 'highness'
Re: Authentication failed check_sharepoint.pl
Try running the check like this and post back any errors on the XI server and any errors on the Sharepoint server.
Also run this and post the output.
Code: Select all
./check_sharepoint.pl -H ourcompany.sharepoint.com -u "OURDOMAIN\highness" -p "mysupersecr3tpassw0rd" -l default.asp -s 'Hello' -v -w 5 -c 10Code: Select all
curl -VBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Authentication failed check_sharepoint.pl
tgriep wrote:Try running the check like this and post back any errors on the XI server and any errors on the Sharepoint server.
./check_sharepoint.pl -H ourcompany.sharepoint.com -u "OURDOMAIN\highness" -p "mysupersecr3tpassw0rd" -l default.asp -s 'Hello' -v -w 5 -c 10
Also run this and post the output.Code: Select all
CRITICAL: Authentication failed for account 'OURDOMAIN\highness' ***** Begin HTTP Headers ***** 401***** End HTTP Headers *****
curl -V
Code: Select all
highness@fe1(Linux) $ curl -V curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
Re: Authentication failed check_sharepoint.pl
I checked the Exchange site that has the plugin and found the following
It may not work for Sharepoint 2013. What version of Sharepoint are you running?
One user posted it would not work with libwww-curl-perl 4.12 (kept getting 401 unauthorized). Installing 4.15 fixed it.
Run this to find out which version in installed on your system.
You could try the check_http command instead. Try using the Website Monitoring Wizard and see if it works.
It may not work for Sharepoint 2013. What version of Sharepoint are you running?
One user posted it would not work with libwww-curl-perl 4.12 (kept getting 401 unauthorized). Installing 4.15 fixed it.
Run this to find out which version in installed on your system.
Code: Select all
yum list perl-WWW-CurlBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Authentication failed check_sharepoint.pl
We're running the hosted (SaaS) version. I'm assuming that it's 2013.tgriep wrote:I checked the Exchange site that has the plugin and found the following
It may not work for Sharepoint 2013. What version of Sharepoint are you running?
We're running 4.09-4.el6 (looks like 4.15 has only been built for RHEL 7).tgriep wrote:One user posted it would not work with libwww-curl-perl 4.12 (kept getting 401 unauthorized). Installing 4.15 fixed it.
Run this to find out which version in installed on your system.
Yeah, tried that. Couldn't get that to work with this either... <sigh>tgriep wrote:You could try the check_http command instead. Try using the Website Monitoring Wizard and see if it works.
Re: Authentication failed check_sharepoint.pl
Without getting any error logs from the Sharepoint server, or any details on how the server is configured, it will be hard to look at this.
Be sure to check out our Knowledgebase for helpful articles and solutions!