URL monitoring with specific string

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: URL monitoring with specific string

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: URL monitoring with specific string

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: URL monitoring with specific string

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: URL monitoring with specific string

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: URL monitoring with specific string

Post by manimurugesan »

Hello Scott


Thank you so much for your support .

I have found the below plugin and it's working properly . :D :D :D

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

Post by scottwilkerson »

manimurugesan wrote:Hello Scott


Thank you so much for your support .

I have found the below plugin and it's working properly . :D :D :D

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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked