I'm trying to add my sharepoint url to nagios, but I keep getting
HTTP WARNING: HTTP/1.1 401 Unauthorized
the error message I receive is
===
COMMAND: /usr/local/nagios/libexec/check_http -H 10.1.100.43 -f ok -I 10.1.100.43 -u "/SitePages/Home.aspx" -p 15916 -a "<username>:<Password>"
OUTPUT: HTTP WARNING: HTTP/1.1 401 Unauthorized
===
when I run on nagiosxi and try other combinations, this is the best I got
===
[root@cvglobal ~]# /usr/local/nagios/libexec/check_http -H 10.1.100.43:15916 -f ok -I 10.1.100.43 -u "/SitePages/Home.aspx" -a "<username>:<Password>"
HTTP WARNING: HTTP/1.1 400 Bad Request
===
the web address I'm trying to acess is cvg-sharep02:15916/SitePages/Home.aspx
it's probably a configuration issue, but not sure where the issue is
adding sharepoint weburl
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: adding sharepoint weburl
Are you able to run that from the command line on the XI server itself? Does it give you the same result?
Re: adding sharepoint weburl
it gave me the same results
I did double check the login credentials, and it was fine, was able to login
I did double check the login credentials, and it was fine, was able to login
Re: adding sharepoint weburl
I ran this command, it failed on me
[root@cvglobal ~]# /usr/local/nagios/libexec/check_http -H 10.1.100.43
HTTP WARNING: HTTP/1.1 401 Unauthorized
maybe it's a networking issue...
[root@cvglobal ~]# /usr/local/nagios/libexec/check_http -H 10.1.100.43
HTTP WARNING: HTTP/1.1 401 Unauthorized
maybe it's a networking issue...
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: adding sharepoint weburl
Most likely this is actually due to sharepoint wanting ntlm authentication and check_http only working with basic. I would suggest looking on exchange for http checks that work with ntlm. I know there are several that should work perfectly fine with very similar arguments.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: adding sharepoint weburl
I went through and added it via Service, so I'm good