Page 2 of 2
Re: URL monitoring with specific string
Posted: Thu Aug 08, 2019 6:50 am
by manimurugesan
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
Re: URL monitoring with specific string
Posted: Thu Aug 08, 2019 7:37 am
by scottwilkerson
I just looked up this plugin and it stated this in the noted on the help section
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.
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
Re: URL monitoring with specific string
Posted: Thu Aug 08, 2019 8:22 am
by manimurugesan
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
Re: URL monitoring with specific string
Posted: Thu Aug 08, 2019 8:38 am
by scottwilkerson
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.
Re: URL monitoring with specific string
Posted: Fri Aug 09, 2019 4:13 am
by manimurugesan
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.
Re: URL monitoring with specific string
Posted: Fri Aug 09, 2019 6:54 am
by scottwilkerson
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.
Great!
Thanks for sharing the plugin for others searching the forum.
Locking thread as resolved.