Hello Sir,
I need to monitor the url of the application ui and url of the web service. (Is application UI and webservice url are same thing ? )
In which I want to put warning condition if response time is greater than 15 sec and critical condition if there is no response.
How can I go ahead with check_http? if yes ... can you pls suggest me where should I use arguments in the command.
Thank you,
Satish Jadhav
How to monitor application UI and Web Service
-
- Posts: 16
- Joined: Tue Mar 07, 2017 5:18 am
Re: How to monitor application UI and Web Service
Here's the manual for the check_http plugin. I would suggest reviewing it:satishvjadhav wrote: How can I go ahead with check_http? if yes ... can you pls suggest me where should I use arguments in the command.
https://nagios-plugins.org/doc/man/check_http.html
For example, if I wanted to check if the website http://www.example.com had the word "example" on the page somewhere:
Code: Select all
[root@xi-stable rw]# /usr/local/nagios/libexec/check_http -H www.example.com -u / -s 'example'
HTTP OK: HTTP/1.1 200 OK - 1595 bytes in 0.050 second response time |time=0.049890s;;;0.000000 size=1595B;;;0
Code: Select all
[root@xi-stable rw]# /usr/local/nagios/libexec/check_http -H www.example.com -u / -s 'examplezzz'
HTTP CRITICAL: HTTP/1.1 200 OK - string 'examplezzz' not found on 'http://www.example.com:80/' - 1595 bytes in 0.043 second response time |time=0.043450s;;;0.000000 size=1595B;;;0
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/