i have installed below one
yum install -y perl-WWW-Curl
After that i tried the below command but i am getting error
/usr/local/nagios/libexec/check_sharepoint.pl -H <host name> -u <username> -p <password> -s 'my string'
UNKNOWN: libcurl lacks ntlm support
URL monitoring with specific string
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: URL monitoring with specific string
I just looked up this plugin and it stated this in the noted on the help section
This was likely the problem with check_http, you server is using ntlm auth
There are a few different plugin that claim to be able to support this, but we have not tested these
https://exchange.nagios.org/index.php?o ... hword=ntlm
Code: Select all
- libcurl must have NTML listed in its features in order for integrated (NTML) authentication
to work. Runing 'curl-config --features' will show if this is present. There are a few different plugin that claim to be able to support this, but we have not tested these
https://exchange.nagios.org/index.php?o ... hword=ntlm
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
Re: URL monitoring with specific string
so in nagios it's possible to monitoring specific string on URL ?
I tried with my basic username and password also but why it's not happening ?
through check_http is not possible
please tell me the possible ways i will try that
I tried with my basic username and password also but why it's not happening ?
through check_http is not possible
please tell me the possible ways i will try that
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: URL monitoring with specific string
Your sharepoint server is using a special kind of authentication called NTLM and the included plugins do not support this.
You would need to try some of the optional plugins like I mentioned in the link above.
You would need to try some of the optional plugins like I mentioned in the link above.
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
Re: URL monitoring with specific string
Hello Scott
Thank you so much for your support .
I have found the below plugin and it's working properly .
Please find the below command which is i am using and i have attached the plugin also that is really usefull.
./check_ntlm_website.sh -u 'Domain\username' -p 'password' -U 'URL' -s 'String'
OK: Authentication Successful - Search string 'String' found.
Thank you so much for your support .
I have found the below plugin and it's working properly .
Please find the below command which is i am using and i have attached the plugin also that is really usefull.
./check_ntlm_website.sh -u 'Domain\username' -p 'password' -U 'URL' -s 'String'
OK: Authentication Successful - Search string 'String' found.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: URL monitoring with specific string
Great!manimurugesan wrote:Hello Scott
Thank you so much for your support .
I have found the below plugin and it's working properly .![]()
![]()
![]()
Please find the below command which is i am using and i have attached the plugin also that is really usefull.
./check_ntlm_website.sh -u 'Domain\username' -p 'password' -U 'URL' -s 'String'
OK: Authentication Successful - Search string 'String' found.
Thanks for sharing the plugin for others searching the forum.
Locking thread as resolved.