Hi,
How to extract a portion of text from a Web page.
If we can extract using grep command, please let me know the syntax.
Regards,
Pratapa
How to extract a portion of text from a Web page.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to extract a portion of text from a Web page.
Are you looking to check for existence of a certain string?
this can be done with check_http with either a string match
or a regex match
this can be done with check_http with either a string match
Code: Select all
-s, --string=STRING
String to expect in the content
Code: Select all
-r, --regex, --ereg=STRING
Search page for regex STRING